Skip to Content
0

POSTING KEY IN BAPI - BAPI_ACC_DOCUMENT_POST

Feb 09 at 03:13 PM

81

avatar image
Former Member

Hello Experts

i have one small requirement , How can i enter posting key - 21 for Debit and

posting key- 40 for credit if the gross amount ( from excel file ) is Negative .

i have to enter different posting key values is gross amount ( in file ) is positve .

i have read many posts that say i have to pass extension2 parmeters , but how can i enter 2 values that too , how will i know if it is debit or credit because there is no DEBIT / CREDIT indicator in extension2 parameter of

BAPI USED - BAPI_ACC_DOCUMENT_POST

Please give your expert views , if possible the code to refer , i will be very thankfull to you.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

MaDhU ReDdY Feb 10 at 01:01 AM
0

Hi

Did you try passing negative amount to BAPI and see how SAP standard behaves. Within include LACC9F20, SAP has predefined Posting keys based on Account being posted. I hope this suits your requirement.

Share
10 |10000 characters needed characters left characters exceeded