on 05-30-2013 12:45 PM
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
Hi Abderrahim,
This might be silly post.
But I see difference in your header data is is this line.
lv_amount LIKE is_currencyamount-amt_doccur VALUE '1000'.
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.