Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Facing unknown internal server error in odata service implementation

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

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question