on 05-15-2006 9:12 AM
Hi
I want to do mappings from IDoc to CIDX messages. The first choice was to do XSLT mappings. But because we need DTD/schema validation we switched to Graphical mapping.
But mapping idocs to cidx messages with graphical mapping is proving to be a difficult job with all the context problems.
Is it possible to combine the advantages of both mapping techniques in the following way.
Define 1 interface mapping with 2 message mappings in it:
- The first 'source to target' with XSLT.
- The second 'target to target' with Graphical mapping (only connecting the top node) so we can have DTD/Schema validation.
Kind regards
Thierry
Hi Tiery,
You can have two message mapping in one interface mapping.
But you have to make sure t hat target of first mapping is source of the next mapping.
Mapping
sourceGMTarget1
Target1-XSLTTarget two
IM
Source---GM
XSLT---Target two
Regards
Vijaya
Message was edited by: vijaya kumari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Source - XSLT - Target1
Target1 - GM - Target2
If what I understand is correct,in your INTERFACE MAPPING , then your Source Interafce will point to messagetype of typr SOURCE and Destination Interface will point to message type TARGET2.
If yes, then like i told use SOURCE with XSLT to create TARGET1 , then use TARGET1 as the input to your next mapping program and create the TARGET2 as the output.
In your message mapping,
1 SOURCE TARGET1 will act as the source and destination message types for one mapping (XSLT>)
2. TARGET1 TARGET2 will act as the cource and destination mesage types for the other mapping (GRAPHICAL)
Regards,
Bhavesh
Hi Thierry,
In the Interface mapping create a new object.
Select your source and target messages.
in the middle between them create a new mapping program XSLT source\or add your already-defined graphical mapping.
The mappings are performed from top to bottom.
Good luck.
Nimrod
Message was edited by: Nimrod Gisis
hi,
it is possible to have multiple mapping progrmas in your interface mapping.
just remember that the output of the first mapping will be treated as the input for the 2nd and so on. the out put of the final mapping program will be the output of the interface mapping.
Regards,
Bhavesh
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 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.