Hi Friends,
I have Create a Web Service is from BAPI. This requires a COMMIT to save the date.
I have imported that Web Service as a Adaptive Web service Model in my Web dynpro project(NWDS 04s) which is invoking 2 request 1 is for create and another one is for commit. My code is fine. But data is not saved in the R3.
Here is the code.
wdContext.currentRequest_MaintenanceOrderBAPIOrderMaintainElement().modelObject().execute();
wdContext.nodeResponse_MaintenanceOrderBAPIOrderMaintain().invalidate();
wdContext.currentRequest_MaintenanceOrderBAPITransactionCommitElement().modelObject().execute();
wdContext.nodeResponse_TransactionCommit().invalidate();
Thanking You,
Mithu