This workflow from DVW Analytics demonstrates how to use BAPI, BAPI_ACC_DOCUMENT_POST to post accounting documents in an SAP ECC or SAP S/4HANA system. This BAPI works in the same way as Tcode FB01.
Tools used: * SAP BAPI Read * SAP BAPI Parse
Attachments
SAP BAPI - Posting Accounting Documents via BAPI_ACC_DOCUMENT_POST.yxmd