Upload
parvez2z
View
18
Download
0
Embed Size (px)
DESCRIPTION
Node Functions
Citation preview
6/10/2015 Explain node functions - Process Integration - SCN Wiki
http://wiki.scn.sap.com/wiki/display/XI/Explain+node+functions 1/5
Getting Started Newsletters Store
Search the Community
Welcome, Guest Login Register
Products Services & Support About SCN Downloads
Industries Training & Education Partnership Developer Center
Lines of Business University Alliances Events & Webinars Innovation
Added by Kubra fatima, last edited by prakasu on Apr 24, 2009
Process Integration / Process Orchestration - Process Integration - Exchange Infrastructure
Explain node functions
removeContext
You can use removeContext() to delete all the top contexts for an element. This deletes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue
SplitByValue() is the
counterpart to
removeContexts(): Instead of
deleting a context, you can insert
a context change in the source
value queue
You can insert a context change
in the queue after each value,
after each change to the value,
or after each tag w ithout a value
.
collapseContexts()copies the f irst value from all contexts to one context. Empty contexts
are replaced w ith an empty string.
Consider the above example , if you use collapseContext instead of splitByValue() and
occurence of room in the target is 1 to unbounded
then you w ill get room node only one time in the target because collapseContext() just take
first value from all context to one context .
Example 2 :On collapseContext()
In the f irst target f ield mapping personalId is passed to SplitByValue
because personalId is in the same context and I w ant to put it in diffrent
context for each value of personalId
then in each context there w ill be only one value( see the display queue goto
design tab then right click on the the f ield and select displayQueue) then the
result of splitByValue is passsed to collapseContext to copy f irst value from
each context as there is only one value here in each context it w ill create
room node in the target as many times as there are values in the display
queue of collapseContext().
Use One As Many
It Requires 3 inputs.
1. The values from the f irst mapped element(Company Code).Each context
must have single value in the queue.
2. The occurrences from the mapped second element (Order Number).Context must be same to w hich is mapped in the f irst value(Company Code).
3. The structure of the 3rd mapped element (OrderNumber).
So The useOneAsMany takes the above mentioned inputs and creates the target structure as show n in the below diagrams.
6/10/2015 Explain node functions - Process Integration - SCN Wiki
http://wiki.scn.sap.com/wiki/display/XI/Explain+node+functions 2/5
6/10/2015 Explain node functions - Process Integration - SCN Wiki
http://wiki.scn.sap.com/wiki/display/XI/Explain+node+functions 3/5
Not only for the 1-1 ocuurance.We have to use Use one as many function for 0-Unbounded occurance also.
Simple example of use one as many function.
Source and Target Structure:
Mapping Logic:
Queue and Context Formation:
6/10/2015 Explain node functions - Process Integration - SCN Wiki
http://wiki.scn.sap.com/wiki/display/XI/Explain+node+functions 4/5
Context of PO_No and item details are same.
Result:
6/10/2015 Explain node functions - Process Integration - SCN Wiki
http://wiki.scn.sap.com/wiki/display/XI/Explain+node+functions 5/5
No labels
Follow SCNContact Us SAP Help Portal
Privacy Terms of Use Legal Disclosure Copyright