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

Former Member
0 Likes
479

Hi

I'm using BAPI_ACC_DOCUMENT_POST for G/L account postin by uploading excel..

Please let me know if I have to pass values to even parameters ACCOUNTRECEIVABLE , ACCOUNTPAYABLE or is it enuf if i only pass values to ACCOUNTGL and CURRENCYAMOUNT. ?

Thanks,

Mansi

3 REPLIES 3
Read only

0 Likes
435

Hi Mansi,

You are correct. No need of passing values in ACCOUNTRECEIVABLE and ACCOUNTPAYABLE tables. as these tables are responsible for

ACCOUNTPAYABLE : for Vendor Invoice Posting

ACCOUNTRECEIVABLE: For Customer invoice Posting

For direct G/L Posting ACCOUNTGL is responsible and CURRENCYAMOUNT contains amounts to clear.

Regards,

Robin

Read only

0 Likes
435

Hi Robin,

Thanks a lot for your reply.

I am uploading the G/L postings from excel , and following are the fields in excel :

BLDAT

BLART

BUKRS

BUDAT

WAERS

KURSF

XBLNR

BKTXT

BSCHL1

HKONT

WRBTR

KOSTL

AUFNR

PRCTR

FKBER

SGTXT

BSCHL2

HKONT1

WRBTR

KOSTL

AUFNR

PRCTR

FKBER

SGTXT

you can notice that the fields SGTXT,AUFNR,BSCHL,WRBTR is mentioned twice in teh excel. WHy is it so.? WHich parameter should i pass the value of BSCHL1 and BSCHL2 and similarly many other repeated fields?

Read only

0 Likes
435

Hi Maansi

The field list mentioned is nothing but the fields of source vendor (account from which amount is debited) information and fields of Target vendor information (account from which amount is credited) and so it's obviously fields wil repeat, as we need the source vendor info and target vendor info for reporting purposes.

And regarding the posting keys you asked for about BSCHL is value '31' for debited

and value '27' for credited

Regards

Suren