Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

File to IDOC. Mapping doubts...

Hi XI Gurus..

I'm doing a file to IDOC scenario.. I've a filed called Master Number and Sequence number..

First I've to sort the file based on Master number. based on this sorted file I must sort the sequence numbers.

For example:

0011232 01

0011232 00

0011231 01

0011232 01

0011231 00

after first sort

0011232 01

0011232 00

0011232 01

0011231 01

0011231 00

after second sort

0011231 00

0011231 01

0011232 00

0011232 01

0011232 01

Now in mapping I must create one IDOC for every set of Master number. In the IDOC a segment must repeat for every sequence number.. i.e For 0011231 there must 2 sequence segments i.e 00 and 01, and 0011232 also must have 2 sequence segments i.e 00 and 01

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question