08-01-2008 8:37 AM
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
08-01-2008 8:43 AM
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
08-01-2008 8:43 AM
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