Skip to Content
0
Former Member
Jul 13, 2006 at 12:34 PM

Counter in Flat file

14 Views

Hi All,

In my IDOC there are three item segements E1J3AIT, E1J3AIS, E1TXTH9.They are linked to three different structures SI1, SI2, SI3. I am creating a flat file.

In the target structure there is one common field counter. Now if my first segment has 3 items, 2nd segment has two items and if my 3rd segment has 3items my counter field in my output should start from 0 and end with 8. How can I achieve this? Your help will be highly appreciated.

korobee