on 05-23-2007 3:45 PM
Hi Guys,
We used BAPI_GOODSMVT_CREATE in webdynpro(java) to create gr document,
and the bapi returned doc number correctly,then we called BAPI_TRANSACTION_COMMIT to commit the whole job, and there was no error returned, but we could not find the GR doc in sap R/3, it seemed that the document was not created in fact.What could cause this? thanks!
Pole
HI
Make sure u are importing both the BAPI's in same model... then only committing of data will be done...
Hope this will solve ur problem...
Reward points if helpful!
Thanks
Puneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, I think the problem for session, maybe you write a ZWEBGR0002 for me.
Thoujean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As you said, it is returning Document number back to you, means first BAPI is executed properly. Now, You are calling BAPI_TRANSACTION_COMMIT BAPI to commit your work.
Check the TYPE parameter in output table. If, it is giving "S" then it means it is successful.
Otherwise, it will give error message also in the same output table. try to get this message.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.