‎2009 Jan 08 2:41 PM
Hi All,
I have used the BAPI "BAPI_ACC_DOCUMENT_POST" for posting a FI document and I could get the document number also generated. But I am not able to see the same document through the T code FB03. Please let me know what could be possible reason for this.Any pointers in this regard will be highly appreciated.
Regards,
S.Sumana.
‎2009 Jan 08 2:42 PM
Have you used BAPI_TRANSACTION_COMMIT after the call of BAPI_ACC_DOCUMENT_POST?
Greetings,
Blag.
‎2009 Jan 08 2:45 PM
No. I did not do that. If that also requires to be done, pls let me know how to do it. Thanks in advance.
‎2009 Jan 08 2:46 PM
Simple...After call BAPI_ACC_DOCUMENT_POST, just call BAPI_TRANSACTION_COMMIT.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Greetings,
Blag.
‎2009 Jan 08 2:48 PM
Hi,
After FM 'BAPI_ACC_DOCUMENT_POST' check if sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
This commits your records to the database..that is it saves the document generated.
Regards,
‎2009 Jan 08 2:51 PM
How to do Commit. Should i go to SM37 and open the BAPI'BAPI_TRANSACTION_COMMIT' and the hit F8?
‎2009 Jan 08 3:12 PM
No...
All you have to do is to write CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' in ur code....
If you are not doing posting through code then how r u doing it ????
‎2014 Mar 28 6:23 PM