SAP Note 561175 - BAPI posting in accounting with FI as reference

Component : Accounting Interface - Integration/Accounting Interface

Solution : https://service.sap.com/sap/support/notes/561175 (SAP Service marketplace login required)

Summary :
This SAP Note addresses the issues with general accounting BAPIs where fields such as OBJ_TYPE, OBJ_KEY, and OBJ_SYS were not automatically populated, resulting in errors like RW602. It discusses enhancements that support correct linking of FI/CO documents using unique identifiers, such as timestamps, when no document number is provided by external systems. The note clarifies document number assignment in cross-company code postings and stresses the absence of tax calculations in these transactions. Users are instructed to leave certain fields empty in the DOCUMENTHEADER and ACCOUNTGL for correct document number referencing, and to ensure specific fields are filled for successful postings. This correction helps align BAPI functionality closer to that seen in FI transactions like FB50.

Key words :
terms ac interface rwin bapi bapi_acc_gl_posting_post bapi_acc_gl_posting_check acctngglposting bapi_acc_billing_post bapi_acc_billing_check acctngbilling bapi_acc_invoice_receipt_post bapi_acc_invoice_receipt_check acctnginvoicereceipt bapi_acc_goods_movement_post bapi_acc_goods_movement_check acctnggoodsmovement bapi_acc_document_post bapi_acc_document_check acctngdocument bapi_acc_employee_exp_post acctngemplyeeexpnses bapi_acc_employee_pay_post acctngemplyeepaybles reason, bapi interface, document number assignment works incorrectly, pstng_date cross-company code postings, issues error message rw602, cross-company code postings, successful document number assignment, obj_type           obj_key           obj_systhe system, local logical system caution, reference document number receives

Related Notes :

1539041BAPI_ACC_DOCUMENT_POST: Incorrect line item schema
1533673BAPI_ACC_DOCUMENT_POST with asset lines: Error AA486
1372327Document number gaps for BAPI_ACC_DOCUMENT_POST
1264422Error FF 711 after you implement Note 1045412
1090866Postings with BAPI_ACC_EMPLOYEE_REC_POST and AWTYP=BKPFF
1085328Net procedure w/ BAPI and AWTYP BKPFF
1079979Document number from incorrect number range for AWTYP=BKPFF
1045412GL transaction <> RFBU in postings with AWTYP 'BKPFF'
1005440Reversal of accounting documents with AWTYP='BKPFF'
938165Incorrect document number for OBJ_TYPE= 'BKPFF'
926421Document number from incorrect number range
884246No FI document with BAPI postings with BKPFF
794974Problems with cross-company code transactions
660591Error RW621 after implementation of Note 561175
657946(Net) cash discount posting w/ BAPI_ACC_INVOICE_RECEIPT_POST
643232General BAPIs do not generate asset line items
640995RPR_AIRP_LRS_TO_FI: AirPlus Company Account
569380Error message M8454 when navigating to FI original document