cancel
Showing results for 
Search instead for 
Did you mean: 

Create multiple calls from Single Payload

Former Member
0 Kudos

Hi All,

We have one single payload coming in and need to make multiple calls to single receiver.

For example,

In one payload we have 10 purchase orders coming in. But target application only take one Purchase order in one payload. So we need to make 10 different calls go Target System. we have SOAP Receiver at Target end. Can we do this without BPM? This is Async message.

Thanks

Sandeep

Accepted Solutions (0)

Answers (2)

Answers (2)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

So we need to make 10 different calls go Target System. we have SOAP Receiver at Target end. Can we do this without BPM?

Yes, this is possible. See the blog below:

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

In your case however, there is only one target. Also take note, that the steps mentioned above is valid until PI 7.0. For PI 7.1, you won't see the enhanced interface determination option

Hope this helps,

Mark

Former Member
0 Kudos

Hi Mark,

I noticed the change in interface determination in PI 7.1 we are on PI 7.1 I am not sure what error I posted is due to that. Because I cross checked my mapping configuration with the blog and it looks ok.

Thanks

Sandeep

rajasekhar_reddy14
Active Contributor
0 Kudos

You mapping logic correct?? like for single pay load you are expecting 10 records at target side, is your mapping creating or not? if yes then it will work

Former Member
0 Kudos

Yes, it looks like the mapping logic is correct. When I only test the mappings it shows that 10 individual structures creates under Message1 packet.

But when I run it end to end, it gives error as posted

Thanks

Sandeep

Former Member
0 Kudos

Hi Sandeep,

Yes, you can do this without BPM just by using 1:n mapping. But you will be having just one message type in the target side.

1) In message mapping go to the signature tab and change the occurance of the target message type from 1 to 0..unbounded.

2) Then in the graphical mapping, map the PurchaseOrder node to the target MessageType. Not to the target purchase order node.

By this for each occurance of the purchase order in the source you will have a separate call in the target.

Regards,

Aravind

Former Member
0 Kudos

Hi Arvind,

I tried to configure the settings as you mentioned.

I am getting below error -

The following error text was processed in the system CPI : Dynamic type conflict during the assignment of references.

The error occurred on the application server piconf_CPI_00 and in the work process 3 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: IF_XMS_PLSRV~ENTER_PLSRV of program CL_XMS_PLSRV_IE_ADAPTER_AMF===CP

Method: CALL_PLSRV of program CL_XMS_PIPELINE===============CP

Method: CALL_ADAPTER of program CL_XMS_PIPELINE===============CP

Method: CALL_PLSRV of program CL_XMS_MAIN===================CP

Method: CALL_PIPELINE_SYNC of program CL_XMS_MAIN===================CP

Method: CALL_UC_EXECUTE of program CL_XMS_MAIN===================CP

Method: ENTER_XMS of program CL_XMS_MAIN===================CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_XMS_HTTP_HANDLER===========CP

Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Error code: ICF-IE-http -c: 210 -u: SR51408 -l: E -s: CPI -i: piconf_CPI_00 -w: 3 -d: 20110316 -t: 114710 -v: RABAX_STATE -e: MOVE_CAST_ERROR

While I run the message mapping, it does not give me any error though.

Thanks

Sandeep