on 08-13-2008 8:18 AM
I have 3 records in a segment from sender header.
At receiver Item level i need to this segment in all the items with all 3 records.
requirement is as below :
sender payload :
header level
seg1-record1
field1
field2
seg1-record2
field1
field2
seg1-record3
field1
field2
receiver payload :
header level
item level
item1
seg1-record1
seg1-record2
seg1-record3
item2
seg1-record1
seg1-record2
seg1-record3
item3
seg1-record1
seg1-record2
seg1-record3
when I am going to map the same, the 3 records are coming only in first item1, item2 and item3 are blank.
How I can do it ?
Regards,
Study SAP
>>the 3 records are coming only in first item1, item2 and item3 are blank
this mite be because you are not handling your contexts properly... you mite need to use splitbyvalue before feeding it to target.
thanks.
latika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
At receiver end item level make occruence 0..2, automatically you can get required format
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
suppose you have an XML Like
<root>
<node>1</node>
<node>2</node>
</root>
split by value(node) returns:
<root>
<node>1</node>
</root>
<root>
<node>2</node>
</root>
Instead remove context does the opposite.
You can find all the function explanations here
http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Swathi,
I hope he still needs to use Explicit Context Selection after using SplitByValue.
It is because SplitByValue simply introduces a context change in between all the fields. exaclty one Context change between each field.
But to make this customised based on the user requirement we can proceed with External Context Selection as I explained previously.
Please go through this presentation of you need clear understanding about Context handling
[Advanced Graphical Mapping|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/b9af5e71-0701-0010-d0b8-f612fb6593dd]
Best Regards
Praveen
hi
try with the standard function USE ONE AS MANY
check this link for help
http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/content.htm
regards
kummari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friend,
You use SplitByValue Node function, and also use Explicit Context Selection.
This is done like this:
select the Source field in Mapping area where you used splitbyvalue and right click on the field --> select Context --> change to the level of Hierarchy for Context handling.
This should work
Best Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.