on 11-19-2013 12:48 AM
Hi All,
I am working on the following scenario:
Source (ECC) Target (Third Party)
Custom Proxy CreateResource
UpdateResource
There is a single custom proxy in ECC. Depending on the value in the "status" field of the proxy, either CreateResource or UpdateResource structure should be selected.
Whats the best way to achieve this? Could it accomodated in the same message mapping?
The target communication method is web service.
Hi Nilambari,
If you have one proxy with the two operations inside you will only need a 1:1 mapping, however if you have different proxies you will need 1:n mapping as Ambrish said. You could choose between one or another inside the mapping or in Receiver determination or ICO with a rule condition as Tuncay said.
From my point of view, if you can decide the receiver side structure i would do only one proxy that it accepts the two structures, creating one that it contains the two mentioned.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can accommodate in one mapping. Create structure as below.
Record - 0 to Unbounded
CreateResource - 0 to unbounded
UpdateResource - 0 to unbounded
In Mapping from source to target - use node function CreateIf to create target structure based out of status field.
Regards
Aashish Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nilambri,
You can create Local Rule in Receiver Determination in Integration Builder.
also you can check ;
http://help.sap.com/saphelp_nwpi71/helpdata/en/42/ed364cf8593eebe10000000a1553f7/content.htm
Regards,
Tuncay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can use two different message mappings/operation mappings and select them in interface determination via xpath.
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 Nilambri,
You need to do 1:n mapping. Choose Create resource in one message out of WSDL and Update resource in another message. Either of them will be triggered depending on Status field.
cheers
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.