cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC->XI->FILE(s) 1..n mapping problem

Former Member
0 Kudos

I am working on a IDOC->XI->FILES scenario and am stuck on mapping of idoc segments to output structure.

IDOC structure is as following,

WBBDLD05 (1..1)

IDOC (1..1)

EDI_DC40 (1..1)

E1WBB01 (1..10000) ...

so the idoc being sent has multiple E1WBB01 segments, i need to do some content check for each E1WBB01 segment and create files based on thats. (ie. if there are 10 of E1WBB01 segments that meets a condition like "E1WBB02:ATTYP = 01", then i should create a file with 10 lines, and if there are 5 segments that meets "E1WBB01.E1WBB02:ATTYP = 00 or 02" condition , then i need to ALSO create another file with another structure with 5 lines)

i intend to use ccbpm as i find it easier to manipulate control steps. So far i am able to receive abstract idoc message interface, but as i am stuck on this mapping issue, i am not able to use the transformation step for checking content of each E1WBB01 data.

thank you in advance for any help

Accepted Solutions (0)

Answers (2)

Answers (2)

prabhu_s2
Active Contributor
0 Kudos

u can follow this link:

/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

u can alsways use block instead of loop

prabhu_s2
Active Contributor
0 Kudos

u wud need to loop thru to check for all the contents and have them transformed accordingly. u can check with block . but before that have E1WBB01 into a multiline interface and then use this interface in the transformation step.

<u>Message Mapping</u>


SOURCE                                        TARGET
WBBDLD05 (1..1)
IDOC (1..1)
EDI_DC40 (1..1)
E1WBB01 (1..10000)---------------------------MI_E1WBB01