on 11-16-2015 1:54 PM
Hey Gurus,
i have the following problem, in my case i have the orders.orders05 idoc.
When the field PARVW and Name1 filled with WE and 9005015100302 i have to fill the Name1 in Segment VL with another number
here an example what i need:
but when PARVW and NAME1 is not WE / 9005015100302 then the mapping has to do nothing like this
can someone help me?
greetings,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexnader,
Do you have only two segments in idoc? If you have multiple segments please explain how you intend to populate the target?
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anupam,
no i have more than two segments, i use the standard orders.orders05 idoc with many segemnts.
My problem is the context change in this mapping, the segement E1EDKA1 comes 3 times - once wtih PARVW AG, WE & VL but only when PARVW is WE and NAME1 is 9005015100302 then i have to mapp a differnt number in NAME1 of Segment VL.
here what i have at the moment
with the correct result
But if that does not comply with the condition, then the last segment is missing
Hi Alex,
If you don't want to restrict the value when that condition is not met then you have to switch your ifWithoutElse to a normal if. Setup your else condition to pass whatever value you expect when the condition is not met. Btw, if you're IDoc ever came without the 'WE' partner first your mapping would likely fail on the WE/Partner number check. Since WE happens to be the last in regards to alphabet sorting you might consider a descending sort of both PARVW & NAME1 for that piece to ensure you are always looking at the 'WE' segment.
Regards,
Ryan Crosby.
Hi Alexander,
Have you tried with the function if-then to change the name according your requisite. You only need to construct the condition with the two characteristics that you have, check this example http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a68214-fd83-2c10-b8af-c78c37057...
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.