I have 3 bapi named BAPI_SALESORDER_GETLIST
,BAPI_SALESORDER_GETSTATUS
and BAPI_SALESORDER_GETDETAILBOS
.
Here in the first bapi I have to input Customer Number and Sales Organization as input and retrieve Sales Document Number (SD_DOC) and from_Date.
This Sales Document Number(SD_Doc) retrieved from 1st BAPI has to be given as input to other bapi named
BAPI_SALESORDER_GETSTATUS
to retrieve some data.and the same Sales Document Number has to be given input to the third BAPI that is
BAPI_SALESORDER_GETDETAILBOS
to retrieve some particular data.
To my knowledge I have done some work with the bapi and up till now in the service I have created I have given only customer number as input to the URI in the SAP GATEWAY CLIENT
for example:
/sap/opu/odata/sap/ZOPENSALESORDER_SRV/openSalesOrderSet?$filter=Customerno eq '1'
If anyone can help regarding this would be very grateful for that.