on 12-12-2007 3:44 PM
Hi,
i have a scenario(idoc to edi).i am facing problem in message mapping.there is a segment in EDI structure(EDIFACT INVOC D96A),SG2 inside this segment i have another segment SG3.SG2 has to occur three times in the target structure as well SG3.there is a field in SG3 that has to be mapped to idoc field KUNDEUINR(E1EDK01).
the occurence of the field is
E1EDK01 1.1
KUNDEUINR 0.1
i have a different condition for those two field also.
while executing the mapping, target filed of KUNDEUINR is generating only once.but i need it three times under different SG2 condition.
can i use node function(useOneAsMany).but i am not able to use it properly.
can any one tell me how to use it.or any other way out for this problem
Hi
to genertae the occurence three times right click on the node and make duplicate subtree 2 times so the segment will occur three time.
another way is to use the standard function use one as many.
your input field -
>
no of occurence you want -
> use one as many---->target field
on thecontext you want -
>
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nika,
Right click on the segment and create duplicate subtree two times. It brings 3 times in your final output. And within the segment for each field map according to your condition so that the field will occur only once in the segment.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi nika,
you can also use "duplicate subtrees". Right mouseclick in message-mapping on target field.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Refer the below help for the same this might help you.
Use standard function "useOneAsMany" http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm
thnx
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.