on 04-20-2008 6:10 PM
hi all
I have a webdynpro app. where I try to insert a new record into sflight.
I have create a model importing BAPI_FLIGHT_SAVEREPLICA_INPUT
and BAPI_TRANSACTION_COMMIT.
I update all fields thru my code.
When I press my button I call my component controller execute method.
wdThis.wdGetFlightCompController().executeBapi_Flight_Savereplica_Input()
where I call
wdContext.currentBapi_Flight_Savereplica_InputElement().modelObject().execute();
wdContext.currentBapi_Transaction_Commit_InputElement().modelObject().execute();
Unfortunately nothing is written cack to the backend.
Any suggestion would be helpful.
Thanks
yuval
put break points in Functional Modules and see data is coming from dynpro application to R/3.
nikhiL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Nikhil
Thank you very much for yr reply. It was st.... of me not to start by debugging ABAP code first.
Debugging the backend code I discovered it throws an exception because not all parameters (6 or 7 of them) were passed to the function module. Once I passed all arguments to the function module did I manage to save the data to the backend.
Dear Goriga
Thank you as well. I did that but if the function module throws a exceotion , it returns no value. So it's no big help. Please stand me correct....
Thank you.
points rewarded
yuval peery
HI ,
Try to print all the values by using,
IWDMessageManager msgMrg = wdThis.wdGetAPI().getComponent().getMessageManager();
msgMrg.reportSucess("value1"+value1);
Then u can able to check the values.
Regards,
LG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.