Thursday, November 10, 2016

Wait in OData operation - 2 commits in OData operation

We have a requirement for create operation of 20 properties.
10 properties are updated by BAPI

and 10 other fields are table update.

So the process goes like


1. <code for BAPI Create for first 10 fields Update>
2. call function 'BAPI_TRANSACTION_COMMIT'
     exporting wait = 'X'.

3.  wait upto 5 seconds.

4.<Update table for other fields based on key from BAPI >



Note:  in this case with out step 3 everything works with debugging and doesn't work when u run on GWClient

No comments:

Post a Comment

Post Ads (Documentation Required)

Phani Kumar

I am a SAP Technology enthusiast.
I am working on SAP technologies and various integrations.
SAP Fiori
SAP Gateway OData Development
SAP UI5
SAP Hana Cloud Platform
Internet of Things
Augmented Reality and Virtual Reality