Skip to Content

ODATA for Updating Data in SAP

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 09, 2017 at 03:23 AM

    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.


    Arjun Biswas.

    Add comment
    10|10000 characters needed characters exceeded