Skip to Content
0
Former Member
Jan 20, 2011 at 01:07 PM

IDoc to File - All fields optional and empty fields missing

231 Views

Hi all,

I have a problem in sending IDocs to PI system. When we send the IDoc it contains fields with spaces or which are just empty. Like below:

<E1EDK01 SEGMENT="1">

<CURCY>EUR</CURCY>

<HWAER>TRY</HWAER>

<WKURS>1.97810</WKURS>

<ZTERM>0002</ZTERM>

<BSART>NB</BSART>

<BELNR>4500000015</BELNR>

<RECIPNT_NO>0001000000</RECIPNT_NO>

</E1EDK01>

The problem is that the empty fields are missing. For example in the normal IDoc the above SEGMENT contains a ACTION element. But because it is empty it isn't sent. In our current case I have to receive these empty elements. (I need these fields because if they are empty I have to replace them with spaces. There are a lot of fields, so I dont want to check every field if it exists or not)

Is there any solution to this problem?

Thanks.