Skip to Content
0
Former Member
May 08, 2008 at 10:53 AM

Problem in Saving Data using Adaptive Web service Model

14 Views

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 04’s) 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