Skip to Content
0
Dec 10, 2022 at 10:43 AM

API FINCS_RPTDFINDATABULKIN to write back data to ACDOCU not working.

182 Views

We are trying to use this API FINCS_RPTDFINDATABULKIN to write back some custom data records to S4hana Group Reporting table ACDOCU as per the following help.sap documentation is not working.

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/44ec04bc8de24103b400d261fde99462/5174ed14b3ff4e11a762871600582918.html

We are calling the the API using Consumer Proxy and then this consumer proxy class method is called in the ABAP program.

TRY.

CALL METHOD lrproxy->reported_financial_data_create

EXPORTING

input = input01. "IT01

IF sy-subrc = 0.

COMMIT WORK.

IF sy-subrc = 0.

WRITE:/'Data upload Complete'.

ELSE.

ROLLBACK WORK.

WRITE:/'Data upload Failed'.

ENDIF.

ENDIF.

CATCH cx_ai_system_fault.

ENDTRY.

Any help would be really appreciated.