Hi,
I have a dilemma of calling BAPI_ACC_DOCUMENT_POST in parallel processing and I hope someone can help me out here.
First, I understand that BAPI_TRANSACTION_COMMIT needs to be called after checking RETURN for successful posting message. However, since I call BAPI_ACC_DOCUMENT_POST with STARTING NEW TASK for parallel processing, the RETURN will be collected in the RESPONSE subroutine. Well, here is the dilemma. Based on SAP note 675042, I can not call another FUNCTION or issue COMMIT WORK in the RESPONSE subroutine.
Has anyone encountered the same issue and had it resolved? Any idea or this simply CAN NOT be done?
Kuo-Hsiung Huang