Skip to Content
avatar image
Former Member

BAPI_ACC_DOCUMENT_POST first record's IO being the default one

Good day!

I have a GL Upload program that uses BAPI_ACC_DOCUMENT_POST. We are also using BAPI_ACC_DOCUMENT_CHECK before posting.

We are posting FI Document. All records from the upload template are using different internal orders for expense line item. Let's say, we have 4 line items per document, line item 001 requires an internal order, so we put internal order. After the creation of the documents using upload template, as we investigate the line items, all the documents are using or somehow inheriting the first IO used in the first record.

For example, we have 3 different IOs:

1. IO01

2. IO02

3. IO03

Let's say, the system created 3 document numbers. Upon investigation, we found out that all the 3 documents are using IO01.

Upon restarting the program, the behavior is the same.

No error, the program would still post a document. Only upon investigation of the line items that we found out that there is an error to the document.

We tried:
1. to debug the BAPIs used. All the values and fields are properly populated.
2. to consult the FI and CO Consultants but they said that they haven't applied any config pertaining to such behavior.

3. to used SET and GET PARAMETER ID to the program side, but all the values are correct.

Any input are much appreciated.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers