Skip to Content
0

SAP PI Mapping error when duplicate segments coming in IDOC

Nov 01, 2016 at 04:27 PM

54

avatar image

Hi Friends,

I am facing a mapping issue when duplicate segments coming from IDOC. /CREMAS04/IDOC/E1LFA1M/E1LFBKM/STRA2 is mapped to target field which is mandatory in the target structure. Simple one to one mapping is done here by checking if the field exists in the idoc, but the input payload has two E1LFBKM segments out of which the first E1LFBKM does not have STRA2 field and the second E1LFBKM has STRA2 field value which should be mapped to target field.but due to this the null value in the first segment, null value is passed to output which is not correct.

could you please share your thoughts to avoid this null value in the output?

Thanks,

Pushpa

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Praveen Gandepalli Nov 01, 2016 at 07:25 PM
0

Hi Pushpa,

Use the below context for field STRA2.

Regards,

Praveen.


fieldcontext.png (6.3 kB)
Share
10 |10000 characters needed characters left characters exceeded