I have searched in SDN before posting this question...
Using VF01, billing document is created.
Using VF02, the billing document will be released to accounting using the Release Flag.
I am trying to use the BAPI "BAPI BAPI_ACC_BILLING_POST" to do this in the background.
gd_documentheader-obj_type = ' BKPF'.
gd_documentheader-obj_key = '10001000102010'.
gd_documentheader-obj_sys = 'EUTCLNT201'.
gd_documentheader-username = sy-uname.
gd_documentheader-BUS_ACT = 'SD00'.
gd_documentheader-PSTNG_DATE = '20101001'.
gd_documentheader-COMP_CODE = '1000'.
gd_documentheader-DOC_TYPE = 'RV'.
In the BAPI Return, I am getting the following errors.
Error in document: BKPF 10001000102010 EUTCLNT201
No data was transferred in parameter ACCOUNTRECEIVABLE
I did not even knew what has to be passed to this BAPI.. After searching in SDN for quite some time, and reading the BAPI documentation, I got a rough idea.
Please let me know what is the error in the gd_documentheader data ??
I tried various combinations of objkey with companycode-billingdocument-fiscalyear..