on 01-20-2011 1:07 PM
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.
use function "mapwithdefault"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
Please check the payload, (which is coming to PI) in first step of SXI_MONITOR. If empty elements are missing the payload which is coming into PI. Then the Sending system is not sending them or the PI IDOC adapter is ignoring empry spaces.
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
How abt mapping the empty SEGMENT-E1EDL40 with constant : WHICH IS EMPTY .(Select Constant , dont enter any value ) .You get the symbol on Constant like : []
Hope this helps ,
Regards,
Varalakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.