Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST error on posting Coustomer documents

Former Member
0 Likes
914

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.

1 REPLY 1
Read only

tkaess
Participant
0 Likes
626

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