bapi account document post test mode
I am using BAPI_ACC_DOCUMENT_POST for creating a FI document.
I want to run it in test mode .
so i am using bapi_transaction_rollback when it is in test mode.
but here a document will be created and cannot be used anymore.
when i run it in real mode , the next number will be taken for creating a Fi document.
Is there any way to avoid this and reuse the same document number which is used in test mode.
very critical .
Thanks in advance.
For test mode, you may try to use BAPI_ACC_DOCUMENT_CHECK.