Skip to Content
avatar image
Former Member

FI/CO interface: Inconsistent FI/CO document header data for updating

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 30, 2013 at 12:56 PM

    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

    Add comment
    10|10000 characters needed characters exceeded