cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Client Proxy

Former Member
0 Kudos

Hi,

I'm fetching the vendor related data from R/3 & passing it to method of Proxy class, which is created against Message Interface.

----


*Proxy method call

----


CALL METHOD o_prxy->execute_asynchronous

EXPORTING

output = s_out.

When I call the method, the exporting parameter "output" is coming as a Structure type.I could pass only one line item at a time.But I have multiple line items which has to be sent to XI.

Is there any way/setting where I can get the exporting parameter as Internal table, so that I can pass multiple rows at one shot? [so that message hit XI once per execution]

Thanks before-hand,

Kiruthika.

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

If you want multiple line items, define your Data type with Multiple occurence. And activate the message type/interface and regenerate the proxy and test the scenario.

Regards,

moorthy

Former Member
0 Kudos

Thanks Moorthy.

But my data type already have multiple occurence.

Still I could pass only 1 line item.

I could not call the method in loop as it hits XI that many times.

Is there any other way for this.

Regards,

Kiruthika

stefan_grube
Active Contributor
0 Kudos

When in your data taype you have multiple occurrence, then the proxy generation creates table types.

Look at program SXIDEMO_AGCY_FBO_SEND_INFO how to deal with these table types and how to create the output message for the proxy.

Scroll down to *********** 3. Send booking order information (proxy call) ************

Regards

Stefan

Answers (0)