07-07-2015 10:36 AM
Hi
I am trying to create odata service for SAP standard table VBAP.
Successfully created odata service as /sap/opu/odata/sap/ZSALES_ORDER_SRV_01/ , service document as follows
Next step I did Service Implementation for GET_ENTITYSET, my code-
method SALES_ORDER_GET_ENTITYSET.
DATA lt_users TYPE TABLE OF VBAP.
SELECT * FROM VBAP INTO TABLE lt_users.
et_entityset = lt_users.
endmethod.
After activating, I tried executing url /sap/opu/odata/sap/ZSALES_ORDER_SRV_01/sales_order.
getting error as
Please suggest,
Thank You in advance
07-07-2015 10:43 AM
Hi,
Check field declaration in Data Model, all types are well declared or not.
Though VBAP contains Date and some amount Columns, check edm.Core Type for the same.
And also refer 2032088 Note, based on IWBEP conversion issue.
Regards,
Praveer.
07-07-2015 10:43 AM
Hi,
Check field declaration in Data Model, all types are well declared or not.
Though VBAP contains Date and some amount Columns, check edm.Core Type for the same.
And also refer 2032088 Note, based on IWBEP conversion issue.
Regards,
Praveer.
07-08-2015 6:08 AM