Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to extend the standard API (A_SalesOrder)

zyuiti628
Discoverer
0 Kudos

In our project we are extending the item to orders.
Specifically, we are adding attributes to VBAK.

We want to use API_SALES_ORDER_SRV/A_SalesOrder to register data (POST).
(GET could be obtained by extending CDS View)
If I set a value to the extended item and POST it, there is no error.
I feel like it is being ignored.

Do I need to add a process somewhere?
Please let me know folks.

2 REPLIES 2

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

Hi  zyuiti628,

the service API_SalesOrder_SRV is based on an OData service that has been developed with the Service Builder (transaction SEGW).
In an on premise or private cloud system you can try to created redefintion project .

SAP Library - SAP NetWeaver Gateway

Kind regards,

Andre

 

ceterum censeo RAP esse utendam

0 Kudos

Hi Andre_Fischer,
Is there another way to extend the OData API_SALES_ORDER_SRV/A_SalesOrders? In the Private Cloud on SAP GUI System, the VBAK table is enhanced by appending structure with several Z** fields. How can I display these in the aforementioned OData without having to define a separate API?