on 03-05-2008 3:58 PM
Hi,
My scenario is an outbound XML IDoc.
My problem: when a field of a IDoc segment is empty, this field will not write to XML file.
I checked standard program and i have founded this ABAP line during standard creation of XML:
program: LEDI7F05
line: 704 = 'check not string is initial'.
Why that solution? Is there problem to have in XML file empty field?
Is there a solution to insert also empty field in XML file?
Thanks lot.
Matteo Vernile.
Ok, so my first question is:
if i skip this standard control with a custom modification, there are problems for XML file (in general, i don't know xml language) having empty fields?
Thanks,
Matteo Vernile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
like IDocs can have many segmenst and fields, and this impact and IDoc size, is the reason for empty segments and field and cutting
Ok, but here the deleation is not changeable, and in my opinion is not correct: if i have small idoc why i can set also empty fields.
The external system which i have to send XML wants empty fields also.
Thanks.
Matteo Vernile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The mapping editor you are talking about is on XI, not R/3, right?
Which is the reason for on R/3 the empty fields are cutted? If I delete the ABAP line in standard program (LEDI7F05, line 704) which skip empty field on R/3, is it a problem?
Thanks lot.
Matteo Vernile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sorry, but i don't understand where i can set the node function as
'Source filed---> Exists ->if true then pass the field else pass constant with no value in it -
I'm on R/3, and there is no adapter.
Thanks.
Matteo Vernile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi !
Use the standard function "mapWithDefault" in your graphical mapping to assign a default value to those fields you requiere to appear in the destination message that doesn't have input value.
Regards,
Matias
ps: please award points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You could add the empty field in the XML.
Please follow below logic.
Normally any IDOC use to have some mandatory fields which will have always have value for e.g. segment number.
Then use node function as
Source filed---> Exists ->if true then pass the field else pass constant with no value in it -
Try it out
Thanks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.