Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

SAP Note

2092366 - Parking with BAPI_ACC_DOCUMENT_POST


Component: AC-INT (AC - Accounting > Accounting Interface), Version: 5, Released On: 31.08.2018

Symptom
Previously, you could not use SAP standard means to enter a document using BAPI_ACC_DOCUMENT_POST as a parked or
fully saved document. This function is now delivered by means of the Support Packages provided with this SAP Note. An
advance correction using SNOTE is not provided.
This SAP Note also documents this function.

Other Terms
BAPI, parking, ACC9, BAPI_ACC_DOCUMENT_POST, DOC_STATUS, RW637, RW 637

Reason and Prerequisites


This is caused by missing functions.

Solution
Which BAPIs and IDOCs support document parking?
The only BAPI that allows you to enter a parked or fully saved document is BAPI_ACC_DOCUMENT_POST, and the
corresponding IDOC type ACC_DOCUMENT04.
How can I generate a parked document?
The Support-Packages in this SAP Note add the field DOC_STATUS to the structure DOCUMENTHEADER of the BAPI. You
can then use this field to determine which status to use when entering the document. The following values are allowed in this
case:
Parked document: 2
Fully saved document: 3
Posted document: 4 or space
Parked document for which only the transaction currency amounts are transferred during posting: A
Completely saved document for which only the transaction currency amounts are transferred during posting: B
If you copy an invalid document status to the BAPI, the system rejects the posting with the error message RW 637.
The document status A or B should generally be used when parking documents in a foreign currency to avoid balance errors
when posting the document. Note that this document status was introduced only with SAP Notes 2499133 and 2688620. The
corrections of SAP Notes 2499133 and 2688620 must therefore be implemented in the system to be able to use this document
status. For details about this document status, see the solution text from SAP Note 2499133 or 2688620.
For parked, completely saved documents, also set the parameter DOCUMENTHEADER-BUS_ACT to RFBV.
How can I continue to edit the documents parked using the BAPI?
There are no BAPIs that you can use to post, edit or delete a parked document. You must therefore carry out any further
processing of the document using transaction FBV0 or FBV2.
Which object types are supported during parking?
The system only supports the object type BPKFF for parked documents. Therefore enter the object type BKPFF in the
parameter DOCUMENTHEADER-OBJ_TYPE for the BAPI, or leave the field empty to have a posting with this object type
carried out implicitly. If you copy another object type to the BAPI, the posting is terminated and the system issues error
message RW 635.
Can a document with more than 999 line items be parked?
Parking of a document with more than 999 items is generally not possible. Documents of this type are rejected with error
message F5727. Documents that are this large must be split by the source application and passed on to the BAPI individually.
Software Components
Software Component From To And subsequent

SAP_APPL 600 600

SAP_APPL 602 602

SAP_APPL 603 603

SAP_APPL 604 604

SAP_APPL 605 605

SAP_APPL 606 606

SAP_APPL 616 616

SAP_FIN 617 617

SAP_FIN 700 700

Support Package
Software Component Version Support Package

SAP_APPL 600 SAPKH60027

SAP_APPL 602 SAPKH60217

SAP_APPL 603 SAPKH60316

SAP_APPL 604 SAPKH60417

SAP_APPL 605 SAPKH60514

SAP_APPL 606 SAPKH60615

SAP_APPL 616 SAPKH61609

SAP_FIN 617 SAPK-61707INSAPFIN

SAP_FIN 700 SAPK-70004INSAPFIN

This document refers to


SAP Component Title
Note/KBA

2688620 AC-INT Redetermine amounts in local currency when posting a document that was saved completely via a
BAPI

2499133 AC-INT Balance in local currency when posting a parked document via a BAPI

This document is referenced by


SAP Note/KBA Component Title

2371039 Parking: AAPO190 - Account object &1 differs from that in asset master record II

2356126 FIN-TMF-BR [TDF SP07] Note 011: Contabilization problem in BAPI ACC_DOCUMENT_POST

2083799 AC-INT Composite SAP Note: Postings with Accounting BAPIs

You might also like