on 05-08-2008 11:53 AM
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
Hi Mithu,
This is very far fetched assumption I am making. Do your RFCs have table parameters? In one of the forum threads long back (not web dynpro forum, it was flex forum) someone suggested that if there is table parameter in your RFC and you have exposed RFC as web service then you have to pass some blank initialized record as input into the table parameter. (I believe you know that table parameters serve as both input and output). This problem is a only in case RFC is exposed as web service. This MAY be the problem in your case.
Following is the thread
Regards,
Gopal
Edited by: Gopal on May 8, 2008 4:49 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.