on 02-24-2011 6:22 PM
Hi ,
Can i use immediate parent source field to map child target field.i am in a bit confusion and could anyone please suggest.
Thanks and Regards,
Naveen.
Hi Naveen,
You can map any field from source to target. If there is any llogic then make sure that context is handled properly.
Check the below links:
/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
It is always possible to map the immediate parent field of the source structure to the child field of the target structure. There is no problem with that. All depends on the sort of output that you require.
Suppose your source and target structures are as follows:
*Source*: *Target*:
Src Tgt
>> Record >>Rec
>>Field1 >>Field2
Then it is always possible to map the Record of the source structure to the Field2 of the target structure. But then you also need to keep in mind the occurrence of the Rec field of the target side because the occurrence of the Field2 field depends on the occurrence of the Rec field also.
Hope it helps you buddy!!!!
Thanks
Biswajit
Edited by: 007biswa on Feb 25, 2011 10:58 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
It would have been better if you could give exact source and target structure.
However just going with your question, I think you can handle this requirement using removeContexts and SplitByValue.
If source occurrence is 1-1 and target child occurrence is 0-n or 1-n you can use useOneAsMany function.
Following help link will give more information about these functions.
http://help.sap.com/saphelp_nw04/helpdata/EN/c8/b78d406b305537e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.