on 08-16-2011 5:35 AM
Hi,
I have to create 4 mappings.
1. File to PI(Graphical): To extract Payload form incoming hedaer,payload & trailer & few validation which gives an ERROR variable.
2. XSLT: payload to IDOC stucture data type.
3. To IDoc(Graphical): final mapping to IDoc.
4. Mail mapping: here i need the ERROR variable to flow through all mappings so that I can make an RFC call in this mapping using ERROR variable.
Please provide inputs.
Hi,
You can try to use the logic mentioned in the DOC for your requirement.
Generating Sequence Number Between Multiple Instances of Mapping Execution
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/503e9bea-ea09-2e10-ec8a-cdf369de99d3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Das,
take XSD of IDoc and add one field (Error flag) and use this structure in first level mapping between File to IDoc1,then IDoc 1 to Original IDoc.
or
You can use unsed field in IDoc it self to hold error variable details(may be in control record or some where in IDoc) ,befor esedning data to ECC, suppress this value.
Regards,
Raj
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.