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 .