on 10-24-2011 7:11 AM
Dear All,
I am having one scenario IDOC to file, where one IDoc with multiple items for an header in it will be sent.
In Destination structure, for each iitem segment I am creating multiple rows. I have a field(INC_NUM) in target structure where in I have to start line number from 1 for each item.
Also I have a condition - for item x or y I should only have the same line number.
TinAdvance
Swarna.
Edited by: Swarna on Oct 24, 2011 8:15 AM
Hello,
You can use the statistic function called index for your requirement. Can you give sample input/output so that we can visualize further?
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
map segment -
>index (statisstic function) -
> field(INC_NUM).
set index value to ="do no reset index to initial value."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.