on 07-07-2011 8:07 AM
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
we were able to generate the required structure using XSLT mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also does XSLT supports Dynamic Configuration for File Name ?= Yes.
refer - http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm
&
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.