Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Simulate BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
4,400

Hi,

I am using BAPI_ACC_DOCUMENT_POST for F-02. With all the entries I need to post, I want to test first if it will post successfully or not without actually posting it. F-02 has a simulate button that shows you a preview of document you'll post. How do I do this using the bapi?

Thanks.

Tyken

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,967

Hi,

To only check you can use CHECK BAPI_ACC_DOCUMENT_CHECK Bapi before using the Post Bapi[BAPI_ACC_DOCUMENT_POST] and when all the line items are okay and the whole document is correct then fill the structures and tables required by Post Bapi and post the document.

Thanks

Sudharshan

1 REPLY 1
Read only

Former Member
0 Likes
1,968

Hi,

To only check you can use CHECK BAPI_ACC_DOCUMENT_CHECK Bapi before using the Post Bapi[BAPI_ACC_DOCUMENT_POST] and when all the line items are okay and the whole document is correct then fill the structures and tables required by Post Bapi and post the document.

Thanks

Sudharshan