02-09-2018 3:13 PM
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.
02-10-2018 1:01 AM
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.