Skip to Content
0

ODATA for Updating Data in SAP

Dec 09, 2017 at 12:39 AM

49

avatar image

While I am asking "beginner" questions, can someone tell me if there is an easy way to call an SAP Function, or Rest Service from SAPUI5? I am perplexed as to the use of ODATA.

ODATA requires crazy amounts of code to call a BAPI via SEGW for FMs with multiple itabs ($BATCH). SEGW seems to now deprecated for good reason.

New ODATA with CDS can call a BAPI using BOPF (what a concept) for Data Validation ONLY, but not for Inserts/Updates.

Mystified. I imagine SAP developers are pulling their hair out trying to call FMs with 10 or so internal tables.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Arjun Biswas Dec 09, 2017 at 03:23 AM
0

Hi Timothy Hughes,

The easiest method to call an SAP function module from the front end is through OData only. As a beginner it is normal to find some difficulties with the concept. But, once you explore all the functionalities provided by OData through netweaver gateway, you will find it comparatively easy. For exclusively updating data in backend, you can use the OData model's update method in SAPUI5.

Regards,

Arjun Biswas.

Share
10 |10000 characters needed characters left characters exceeded