on 12-18-2008 7:42 PM
map outbound IDOC in 2 different mappings
Dear all, this is our case .
We have two sap transactions on our R3 system, each of which produces an IDOC of the same type .
When those two idocs are produced, the resulting output is of different structure though.
One of them has a segment called eg A1 while the other one has a segment B1, which is under segment A1.
What we need, is to have a different mapping depending on which actual structure we have .
The receiving RFC is the same for both cases, yet we could use two distinct RFC's if this could help solve the problem .
Every help would be appreciated .
thank you both, problem solved .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markos
You can implement this with two MM and IM and make a decision in ID
Another way can be one mapping and enhanced Receiver / Interface determination
http://help.sap.com/saphelp_nw70/helpdata/EN/43/a5f2066340332de10000000a11466f/content.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/42/ed364cf8593eebe10000000a1553f7/content.htm
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One option is :
You create two different MM and IM.
In the Interface Determination, add two inbound ( receiver ) message interfaces along with the two interface mapping recpectively.
THe moment you will save your Interface Determination, you will see a "Condition" colume will be added between "Message interface" and "Interface mapping" columns in the Interface Determination.
Under the Condition, you can provide the rule which determines at runtime time , which mapping to execute.
Thanks,
Pooja
Edited by: Pooja Pandey on Dec 18, 2008 2:49 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.