Skip to Content

Duplicate error messages in BAPi FM BAPI_ACC_DOCUMENT_CHECK/POST

Hi,

We are getting duplicate error messages while posting the entries using the BAPI FM's BAPI_ACC_DOCUMENT_CHECK and BAPI_ACC_DOCUMENT_POST.The duplicate error messages is returned in both FM's.Please let me know if any OSS notes needs to be applied.The error messages for TYPE, ID Message Number and Message are similar(duplicate entries) .

Example:

TYPE ID Number Message

E KI 222 order number 123 does not exists

E KI 222 order number 123 does not exists

E KI 507 costcenter 345 doesnt exits

E KI 507 costcenter 345 doesnt exits

I have tried to find OSS Notes which could not yield any results.

Regards

Priyank Patil

Add comment
10|10000 characters needed characters exceeded

  • Hello Raymond,

    We are not calling the above FM's suquentially. However we have applied OSS notes on the same and thank you for your help here.

    Regards,

    Priyank Patil

  • Through that FMs, what entry you were trying to post. Whenever you post any query expecting technical inputs, see that you also add the functionality and detail what is the business process. In most of the cases, through standard configuration, we can solve the issue. If you check for the detailed SAP explanation for KI222, it clearly says "Cost Center in Controlling Area is missing" which is self-explanatory.

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 21, 2016 at 10:03 AM

    applied OSS notes.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 17, 2016 at 06:32 AM

    BAPI_ACC_DOCUMENT_CHECK checks are already performed by BAPI_ACC_DOCUMENT_POST, if you call both in sequence errors will be duplicated, so don't call POST BAPI if CHECK BAPI returned an error.

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded