11-08-2013 12:35 PM
Dear Experts,
This BAPI generates MBLNR but after generating the entry is not passing into MSEG and MKPF table. So should I use any insert statement to do this can anybody suggest me where exactly have to add this code or any other way to do the same. Hope for urgent response.
regards,
Saquib
Message was edited by: Suhas Saha
11-08-2013 12:52 PM
Hi-
After your BAPI call, call BAPI_TRANSACTION_COMMIT EXPORTING WAIT = 'X'.
-Venkat
11-08-2013 1:15 PM
Hi Venkat,
I am excuting this BAPI in SE37. How can I call BAPI_TRANSACTION_COMMIT EXPORTING WAIT = 'X'. after my BAPI Call. Explian please.
11-08-2013 1:20 PM
hi,
go to the SE37-> Function Module( Menu) -> test sequence -> enter the two function modules parameters
Thanks,
Kiran
11-08-2013 1:29 PM
Hi kiran,
nothing going correct, This is not helpful. I want to insert the entries into database tables after generation of the doc. no. in SE37. Please suggest how.
11-08-2013 1:29 PM
11-08-2013 1:42 PM
Hi,
I think you are testing the BAPI function module through SE37.
Sequence of Function module first enter as mentioned like below screen shot.
first enter the parameters of first FM and execute- check the return paramerters.
go back the second FM automatically will and commit the changes in DB.
11-08-2013 1:55 PM
11-08-2013 1:48 PM
Hi
I'd use the BAPI_GOODSMVT_CREATE instead the FM you are using. See SAP Note 520813 - FAQ: BAPIs for goods movements, in question 8 there is a mention to MB_CREATE_GOODS_MOVEMENT.
In the other hand, take in account the recommendations by SAP in SAP Note 109533 - Use of SAP function modules. See also the documentation in SE37.
A last question, are you in IS-Oil? Because looking for notes is the only place where I could read notes related with the development for creating movements.
I hope this helps you
Regards
Eduardo