on 06-13-2006 2:41 PM
Hello,
We are in the process of mapping ORDERS03 to xCBL (supplier needed this in the format).
We need to map IDTNR (ORDERS03\E1EDP01\E1EDP19) to vendor material if the QUALF (ORDERS03\E1EDP01\E1EDP19) value is 002.
Also, we need to map IDTNR (ORDERS03\E1EDP01\E1EDP19) to buyer material if the QUALF (ORDERS03\E1EDP01\E1EDP19) value is 001.
How can I achieve this? Please help.
Hi,
there are standard XSLT mappings available for Orders03 from SAP r/3 to XCBL.. you may try that. search in the XCBL site for this mapping they are used for Business connector and are also compatable for XI 3.0. this might help you.
thankx,
Shree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
Please check also the set of mapping patterns that are shipped with each XI installation. There is a pattern SAP In SWC BASIS 6.40 -> http://sap.com/xi/XI/System/Patterns -> MapExampleFilterRecordsByQualifier
which describes a solution for this kind of mapping tsk.
Best regards
Joachim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ppeter,
ACtually I did something very similar in the message mapping and it depends also upon the exact structure and cardinality of your target nodes/elements.
So I give just one exmaple but your case might need a variant upon this :
So one option is that you only create the output node if the input node is available :
1)Position yourself in the targetmessage on the PARENT node of the vendor material element :
-add the QUALF
-add a constant '002'
-Use the standard StringCompare Function
-link the output to the node function 'CreateIf'
-link the createif to the target element ( = parent of vendor material )
2) Position yourself on the vendor material : link directly with the IDTNR
If the parent node contains other elements that need to be there independent of the vendor material, you can't use this of course. Then you can use a boolean function 'ifwithoutelse' instead of the 'createif' : if the qualf is 002 you link the IDTNR to the 'then' part of the ifwithoutelse and the output to the vendor material node
In any case, you might need to change the context from the QUALF ( right click / context ) to get the desired results
rgds
Dirk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
Is your question is conditions in the mapping?
If so you can make use of Inbuilt functions like - If-Else etc..
Even you can think about Global COntainer object here.. SO that you can store the value and make use of this in the mapping .
http://help.sap.com/saphelp_nw2004s/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/content.htm
/people/michal.krawczyk2/blog/2005/03/04/globalcontainer--in-graphical-mapping-xi
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.