Hello everybody,
I installed the Track Sales Orders SAP Fiori application (Front end and Backend) and try to understand how the OData service is working.
I did a lot of tries from a simple browser (in Chrome and Firefox) and I also tried with the SAP Gateway Client (/IWFND/SUTIL_GW_CLIENT).
I read the $metadata to know all the collections available and see for example a SalesOrders collection is existing. This is working fine.
I tried some OData syntax tests but almost everything return nothing.
/sap/opu/odata/sap/SRA018_SO_TRACKING_SRV/SalesOrders('233') returns me some data but not all the important fields are back (like CustomerID is empty).
/sap/opu/odata/sap/SRA018_SO_TRACKING_SRV/SalesOrders/$count is returning 0... But I know from the previous test, there are Sales Orders in the system !
/sap/opu/odata/sap/SRA018_SO_TRACKING_SRV/SalesOrders/?SalesOrderNumber eq '233' is returning nothing...
/sap/opu/odata/sap/SRA018_SO_TRACKING_SRV/SalesOrders?$filter=SalesOrderNumber eq '233' is returning nothing...
I bought and read the SAP Press Gateway book but it was not helping... I read the ABAP Classes developed for the OData services (CL_SRA018_SO_TRACKING_DPC_EXT) and saw nothing wrong as they are based on the BAPI_SALESORDER_GETLIST. And the BAPI is working fine !
Is there somewhere a documentation explaining how to use the OData services delivered with SAP Fiori ?
Thanks for any help,
Luc