cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to send Table as an input in GW

AshwinDutt
Active Contributor
0 Kudos

Hello Experts,

I have an RFC which has a Table and  a structure as an importing parameter  and i want to use this RFC in my service.

Will Gateway support this? if no what has to be the way to send table data ? Kindly guide me how it can be achieved.

Regards,

Ashwin

Accepted Solutions (1)

Accepted Solutions (1)

former_member184867
Active Contributor
0 Kudos

Hi Ashwin,

Currently it is not possible as per OData V2 standard. So Gateway does not support it at the moment.

However what you can do is to convert the table into a string and pass it using a custom HTTP header. Then in Data provider class you receive the custom header value and parse the same and construct the table. You can read the header value in DPC using following code

mo_facade     ?= /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).

lt_client_headers = mo_facade->get_request_header( ).


Then from the DPC you can call your RFC.

This is not a very elegant way of doing it, but you may give it a shot.

Regards,

Atanu

Answers (0)