on 06-01-2007 3:42 PM
Hello!
How can I configure the following for a System_A (IDoc) -> XI -> (IDoc) System_B scenario?
If System_A sends an X flag in the payload the X_Interface_Mapping needs to be executed, otherwise the Y_Interface_Mapping needs to be executed.
Regards, Tanja
Hi Tanja,
this is possible.:)
In interface determination, you can put same recvr interface (your inboun idoc) twice with different mappings against these and you can put the condition to select the one you want.
its like
interface A cond flag = X intf map A
interface A cond flag = Y intf map B
If you need any more input from my side, please let me know.:)
Regards
Pushkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure if that works, but it is worth to give a try.
I have tested a different scenario: A message should be doubled and posted with the same interface type but different mappings. Here I received an error message that a message split is not allowed with the same interface.
But here the scenario is different, as only one of the mappings will be used. So this might work.
Regards
Stefan
Hi Tanja,
I guess your querry has been resolved.. kindly mark this thread complete.
If you need any more help , please let me know..
n dont miss my SDN Points.
Regards
Pushkar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not possible to have the same receiver and the same interface.
So you have to create a virtual receiver with same connection data.
When you have an IDoc receiver, you need a header mapping for applying the original receiver again.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
I was thinking about this before but was not sure if this will work for an IDoc receiver. So I can generate a dummy business service for system B and then create an additional receiver determination object and interface determination object for it?
And then I use XPath and send the message either to the existing system B which checks for flag X and uses X_Interface_Mapping or to the new dummy system B which checks for flag Y and uses Y_Interface Mapping?
Regards, Tanja
I have not tested this so far, but I do not see a reason why this should not work besides there is much effort to create all the business systems and channels pointing to the system when you have multiple mappings.
If this would not be IDocs you could use dummy interface names, that would be easier.
Regards
Stefan
Tanja,
Are you using BPM? Because the mapping part itself has to be decided on the payload.
Best Regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunatelly, there is no way of doing this in standard. It'd be necessary a conditional mapping selection inside the interface mapping (if <condition> use this mapping program sequence) like you have inside receiver and interface determination.
briefly: you have interface determination but not interface mapping determination.
A possible workaround would be to create different dummy message interfaces refering to the same message type, and then you create a mapping for each of the dummy target interfaces in order to select them with condition inside interface determination.
Or you could burn some brain cells and implement the conditional logic inside the mapping program itself. It is the right thing to do in this case (since you have same source and target structures, you implement conditional checks in the mapping logic itself).
Regards,
Henrique.
Hello!
> A possible workaround would be to create different dummy message interfaces
> refering to the same message type, and then you create a mapping for each of the
> dummy target interfaces in order to select them with condition inside interface
> determination.
In this IDoc scenario no message interfaces are used but only the ORDERS05 IDoc.
> Or you could burn some brain cells and implement the conditional logic inside the
> mapping program itself.
From design perspective I'd prefer to have the two mappings totally separated rather than trying to mix everything together and cover the requirements for the X and Y mapping in the same graphical message mapping.
Regards, Tanja
User | Count |
---|---|
85 | |
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.