Skip to Content

use one as many function not working as expected in sap pi mapping


My source structure is as follows:


ZBSERI--->ZPRICEI--->ZTEXTI(all are at same level)
| |


My receiver structure is as follows:


Now E1EDL24 segment should be populated based on CHARG value from ZBSERI segment of the ZINVI source structure. That I am able to populate it.So, if I have 6 CHARG values from source structure then 6 E1EDL24 segments should populate and in that 6 E1EDL41 segments, I should have 6 POSEX values. Now POSEX is mapped to TDLINE of source structure. So, if there are 2 ZINVI segments coming in the source structure with 6 CHARG values and 2 ZTEXTID segments coming with 2 TDLINE values. I have to populate 6 POSEX values in receiver structure. i.e TDLINE should duplicate with two context changes of ZINVI.i.e if TDLINE has two values 40 and 50 then 6 POSEX should create(as there are 6 CHARG values) with first 3 values in each segment as 40 and next 3 values in each segment as 50.

But the above use one as many function is not working as expected.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers