on 12-16-2009 3:04 PM
Hello experts,
StartDate --> emoveContext --> A
EAN --> RemoveContext --> SplitByValue (Value Change) --> A
--> A (FormatByExample) --> target field
The context of the StartDate field is changed to the complete Message Type. That all works fine.
Now, I need to do a similar thing, but based on 4 indicator fields which could contain value X.
For each indicator field (within 1 data row) filled with an X, a segment must be repeated as many times as there are indicator fields with an X.
How do I manage that? I think I need to use FormatByExample again, isn't it?
Thanks a lot
Dimitri
> For each indicator field (within 1 data row) filled with an X, a segment must be repeated as many times as there are indicator fields with an X.
This means in each data row you will have only 1 X in any of the indicator. Correct?
So let's say you got total 7 data row, this means you have 7 X's and that means you must create 7 segments. Corrct?
If yes then
Soruce --->RemoveContext -
>Target Segment.
Soruce --->SplitByValue(each value) --->Target Fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitri,
I think this can also be achived with the help of a UDF to handle context change.
Please refer to the below mentioned blog for further explanantion:
[BLOG|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5210] [original link is broken] [original link is broken] [original link is broken];
Regards,
Anshul
Hi ,
I think your requirement is to create multiple line-items for a unique field repeating multiple times like PONumber.
You can implement this blog.
[Message Splitting|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3765] [original link is broken] [original link is broken] [original link is broken];
For the Header fields you are right, have to use formatByExample and Line-item fields will have direct mapping.
Regards
Arpil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.