HI everybody,
I am using BAPI_ACC_DOCUMENT_POST and I am getting the error in topic. You should know that this happens while I am calling a report that encapsulates this BAPI, from a BTE FM SAMPLE_process_00001120, to create a 2nd FI document in parallel of the 1st one I am creating using FB01 (double creation of FI doc ). I get data from BKPF and BSEG parameters amid FB01 process and fill BAPI structures accordingly.
You should also know that when I run this BAPI in a separate report with the same that from BKPF and BSEG but hard coded, I get my document posted without any problem. It is a bit weird!
those reports are:
ZTEST_DOC_POST_ALT data are hard coded, it works.
ZTEST_DOC_POST data got from BKPF and BSEG in FB01 process, it leads to the error in subject.
Thanks in advance for your reply,
Abder