2014 Oct 15 1:52 PM
Hi,
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader =
* CUSTOMERCPD =
* CONTRACTHEADER =
* IMPORTING
* OBJ_TYPE =
* OBJ_KEY =
* OBJ_SYS =
tables
* ACCOUNTGL =
* ACCOUNTRECEIVABLE =
* ACCOUNTPAYABLE =
* ACCOUNTTAX =
currencyamount =
* CRITERIA =
* VALUEFIELD =
* EXTENSION1 =
return =
* PAYMENTCARD =
* CONTRACTITEM =
* EXTENSION2 =
* REALESTATE =
* ACCOUNTWT =
.
I'm using BAPI_ACC_DOCUMENT_POST for posting vendor/coustomer doment. Now for posting vendor i'm passing Header details and the following tables in BAPI ACCOUNTGL, ACCOUNTPAYABLE, CURRENCYAMOUNT and it is working fine.
However for coustomer documents when i pass Header details and the following tables in API ACCOUNTGL, ACCOUNTRECIVABLE, CURRENCYAMOUNT it throws error saying
"E RW 611 No data was transferred in parameter ACCOUNTPAYABLE".
Thanks
Arun.
2014 Oct 15 9:21 PM
Hi Arun,
have you used the right document type for your booking document?
You have no document type which the vendor is mandatory (with the posting key)?
Please try it with the transaction FB01.
Best regards
Thomas