on 2022 Apr 07 8:59 AM
Hi There,
I trying to map an ORDERS IDoc to EDI ANSI X12 850 and my message mapping is creating SUPPRESS and <null> values in the context. Specifically, i'm trying to map the IDoc segment E1EDPT1/E1EDPT2/TDLINE to L_PID (X12 850). The <null> values is causing the output L_PID not to be created as desired. I would have used RemoveContext and SplitByValue after the IfwithoutElse, but i don't want to destroy the context. In an attempt to remove the <null> values, i wrote a UDF but it didn't help. Attached are the screenshot of the problem.
This is the mapping:
These are the SUPPRESS values from the output of the IfwithoutElse
Here i'm trying to delete the SUPPRESS values and it produces the <null> values.
Here i'm trying to remove the <null> values with a UDF, but it still doesn't work.
Here's my UDF. Trust me i've google the internet for sample UDFs.
Regards,
Request clarification before answering.
Hi ,
The UDF works only in your test case. if the XYZ values are populated two or more than two, then if fails to remove the values.
Thanks,
Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
33 | |
9 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.