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

Posting key in BAPI_ACC_DOCUMENT_POST

Former Member
0 Likes
781

Hi,

can anybody help me how can I map / pass the following POSTING KEY in BAPI_ACC_DOCUMENT_POST?

Type Posting Key Positive or Negative

GL 40 +ve (debit)

GL 50 -ve (credit)

AP 21 +ve (debit)

AP 31 -ve (credit)

AR 01 +ve (debit)

AR 11 -ve (credit)

thank you in advance!!!

james evert lising

2 REPLIES 2
Read only

Former Member
0 Likes
355

Hi..

You need not pass the Postong Key to the BAPI.

The BAPI just requires the amount field with sign. So for credit - amount is +ve and for debit - amount is negative.

Please reward if useful,

Rahul

Read only

Former Member
0 Likes
355

Hi,

As pointed out previously no need to have an posting keys, only signs are sufficient. For AR & AP populate the tables ACCOUNTRECEIVABLE & ACCOUNTPAYABLE respectively.

I hope this helps,

Regards

Raju Chitale