cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in tranforming Idoc structure using XSLT mapping

Former Member
0 Kudos

Hi,

I am working on the XSLT Mapping to transform the IDoc xml to the desired format.

Source structure single Idoc:

EDI_DC40 record

E1EDKxx records

E1EDPxx records

E1EDSxx records

suppose I have 4 E1EDP01 records, of which 2 are Original and next two are corresponding Correction E1EDP01 records.

I want the target Idoc to be:

EDI_DC40 record

E1EDKxx records and for (E1EDK14/ORGID = G2O)

E1EDPxx records (1st Original E1EDP01 segment)

E1EDSxx records

E1EDKxx records for (E1EDK14/ORGID = G2)

E1EDPxx records (1st corresponding correction E1EDP01 segment)

E1EDSxx records

E1EDKxx records for (E1EDK14/ORGID = G2O)

E1EDPxx records (2nd Original E1EDP01 segment)

E1EDSxx records

E1EDKxx records for (E1EDK14/ORGID = G2)

E1EDPxx records (2nd Corresponding correction E1EDP01segment)

E1EDSxx records

so correction segments follows original segments.

All the E1EDSxx records are identical. remaining all the other segments are Idential except the above changes.

correlate original and correction E1EDP01 segments is through POSEX of Original = HIPOS of Correction..

bold segments represents Original records

Italic segments represents correction records

How to achieve the above scenario. I am finding issue in generating and correlating the E1EDP01 segments using <key> element. and changing the vales in E1EDK14

Also does XSLT supports Dynamic Configuration for File Name ?

Regards

Edited by: Varun Reddy on Jul 7, 2011 12:44 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

varun_k
Contributor
0 Kudos

we were able to generate the required structure using XSLT mapping

Former Member
0 Kudos