Skip to Content
0
Former Member
Jan 15, 2013 at 07:28 PM

checking if source node exists in IDoc

404 Views

Dear All,

I am checking if the source Idoc node exists using node function exists . I have an issue when passing the source values to the output node.

For eg in a shipment idoc SHPMNT05 . I am checking if source E1EDT43 segment exists if it does not then I need to create as many E1EDT43 segments in the target as there are E1EDL37 segments in the source. In PI my mapping is as below.

then E1EDT43

E1EDT43 - exists - if --> target E1EDT43

else E1EDL37

If there are 2 E1EDT43 segments in the source it produces the corresponding 2 E1EDT43 segments in the target but if E1EDT43 segments does not exists in the source and there are 2 E1EDL37 segments in the source it produces only 1 E1EDT43 segment in the target.

Can you please advice as to how I can produce 2 E1EDT43 segments in the target when there are 2 E1EDL37 segments in the source?

Thanks for your help.

Teresa