FI - DOCUMENT - CHANGE Is Not Updating ACDOCA: Symptom
FI - DOCUMENT - CHANGE Is Not Updating ACDOCA: Symptom
FI - DOCUMENT - CHANGE Is Not Updating ACDOCA: Symptom
Symptom
You use FI_DOCUMENT_CHANGE to update some field value in accounting document, such as SGTXT value. But you find this FM updates BSEG table but does not update the
value in ACDOCA.
Environment
SAP enhancement package for SAP ERP, version for SAP HANA
SAP S/4HANA Finance
SAP S/4HANA
Cause
The changes on classical FI tables like BKPF and BSEG are updated directly in function module FI_DOCUMENT_CHANGE, whereas changes on ACDOCA are transferred to an
update function module which will only be processed when a COMMIT WORK is executed.
So when using transaction SE37 to run FI_DOCUMENT_CHANGE, no COMMIT WORK will be triggered at the end and therefore the changes on ACDOCA and the change
documents in FI will not be updated.
Resolution
You may consider to create a custom test report which triggers a COMMIT WORK at the end to get the changes transferred to ACDOCA accordingly.
Keywords
FM FI_DOCUMENT_CHANGE; segment text; BSEG-SGTXT; ACDOCA-SGTXT; ACDOCA-ZUONR; ZUONR; FB02; change document; TRANSFER_CHG_TO_ACDOCA; SE37;
transferred to ACDOCA; text field; BKPF.
Attributes
Key Value
Products
Products
SAP Simple Finance add-on 1.0 for SAP Business Suite powered by SAP HANA
SAP enhancement package 6 for SAP ERP 6.0, version for SAP HANA