Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

SEGW - Import RFC (1 input parameter and return tables value)

$
0
0

Dear All,

 

I know the step to create SEGW project by importing RFC/BOR interface.

I try to import a FM which require 1 input parameter and return as tables value.

Import RFC .JPG

ORDER_NUMBER = input parameter

ES_ORDERNUMBER = return single structure

ET_COMPN_HIS[] = return table

 

EntitySet.JPG

EtCompnHisSet field = ET_COMPN_HIS[]

HistorySet field = ORDER_NUMBER + ES_ORDERNUMBER


 

When i execute the following URL in /iwfnd/gw_client/

/sap/opu/odata/SAP/ZTEST5_SRV/HistorySet(OrderNumber='1231238')  = respond status (OK)

/sap/opu/odata/SAP/ZTEST5_SRV/EtCompnHisSet(OrderNumber='1231238')  = respond status (Bad Request)

bad request.JPG

I suspect the error showing that the OrderNumber is not exist in EtCompnHisSet.

 

But my problem is I need to input OrderNumber as input and return EtCompnHisSet.


May i know how to achieve this?

 

Regards

Marcus


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>