on 07-28-2014 9:36 AM
Hi All,
Mentioned below is the flow of the scenario that I am facing issues with:
ECC -> PI (A) -> PI (B) - Receivers(1,2,3..n)
I am working on PI(A).
An Idoc containing multiple Plants is triggered which is mapped to an XML in PI(A).
Depending on the number of Plants in the Idocs, that many XMLs are created in PI(A) using multimapping.
These XMLs are then sent to PI(B) which would route it to different receivers.
But PI(A) should send the party name to PI(B) for routing.
For this I am using dynamic configuration. If there are 'N' party names based on 'N' plants, always the last part name is being sent to PI(B).
Is it possible to send all the party names associated with each XML(/plant) without overriding?
As mentioned in the below table, an Idoc is triggered with 3 Plants. 3 XMLs are generated each for a different party. But only the last party i.e. C is being sent to PI(B) using dynamic configuration overriding A and B.
Plant | Party Name | Output |
---|---|---|
1 | A | |
2 | B | |
3 | C | C |
Please help me to resolve this issue.
Regards,
Vishal
Hi Vishal,
The behavior is correct. When using dynamic config with multi-mapping, it only uses the last one. For the file adapter, a workaround is to use variable substitution. In your case, you should use an interface determination split (via xpaths) and configure the same operation mapping per plant. This would also mean that you need to remove the multi-mapping part in message mapping.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Thanks for your response.
"you should use an interface determination split (via xpaths) and configure the same operation mapping per plant"
This is not possible in my scenario. I posted a very simplified form of the issue that I am facing. The actual requirement does not allow me to go for the interface determination split.
Regards,
Vishal
Hello,
DC is not supported in multimapping.
But, where exactly u want to send the party name? In the xml file u want that party name to be there?
If yes, then there are 2 options either use AM as shown below or u can use variable substitution (search SDN u will find quite a few blogs/wiki on the same)
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
My mistake, i overlooked ur subject...
Having said so, i think u can still refer the module which i have mentioned above and set the soap header for each message dynamically (set namespace http://sap.com/xi/XI/System/SOAP
and key value properly).
Thanks
Amit Srivastava
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.