Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Document is not getting posted correctly.

Hi guys,

I m trying to post a GL document using the BAPI_ACC_DOCUMENT_POST and try to the reverse the document using code generated by shdb of transaction FB08. The problem is that when i execute the program with out any break points the program stops at FB08 saying the document is either not posted or in the archive but when im doing the same with breakpoints in it, its posting correctly.

Guys this is little urgent.

Tags:
Former Member
Former Member replied

Change the commit to:

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
   EXPORTING
     WAIT = 'X'.                                "<========

Rob

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question