cancel
Showing results for 
Search instead for 
Did you mean: 

How to use global parameters in Opertional Mapping??

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member854360
Active Contributor
0 Kudos

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

rajasekhar_reddy14
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

As mentioned by Raja, you need to use any of the unused fields in the target idoc structure to get the data across the mappings. The global memory is specific to a partivular instance of a mapping, it can not be used as a common repository for passing data across mappings.

Regards