on 04-07-2008 5:39 PM
Hi Friends,
I am working on one scenario file to IDoc using XSLT Mapping.I have got the following query.
The file is obtained by the third party as xsd file.
This xsd file is mapped to IDoc.The xsd file contains multiple tax details (E1EDK04 seg) at the header level and multiple line item details at the item level (E1EDP01- E1EDP04 seg).
My query is, for each Tax header detail (E1EDK04), only one Tax Item detail /item detail should appear.
For ex:
E1EDK04(1) should match with E1EDP01-E1EDP04 (1) values. and so on.
IDOC
--E1EDK04 (1)
--E1EDK04 (2)
--E1EDP01
-
E1EDP02
-
E1EDP04 (1)
--E1EDP01
-
E1EDP02
-
E1EDP04 (2)
Currently I am getting structure as below:
IDOC
--E1EDK04 (1)
--E1EDK04 (2)
--E1EDP01
-
E1EDP02
-
E1EDP04 (1)
-
E1EDP04 (2)
--E1EDP01
-
E1EDP02
-
E1EDP04 (1)
-
E1EDP04 (2)
but the desired result is :
IDOC
--E1EDK04 (1)
--E1EDK04 (2)
--E1EDP01
-
E1EDP02
-
E1EDP04 (1)
--E1EDP01
-
E1EDP02
-
E1EDP04 (2)
E1EDK04 (1) seg to E1EDP04 (1)seg and so on for the above case using XSLT mapping..?
Thanks in advance for your help
Sam
Myself solved this issue....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a specific reason why you are using XSLT mapping? You can go for graphical mapping and use node functions to acheive your result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
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.