‎2008 Dec 11 9:47 AM
Hi,
Can any one tell me how to pass on the POSTING KEY to the EXTENSION in the BAPI_ACC_DOCUMENT_POST.
I want to pass it to EXTENSION1 or EXTENSION2.
if the posting key is 21 to 39 it should be '-'
and if it is 40 , it should be '+'.
If i pass on the Posting key to EXTENSION2-VALUEPART1 , it is not considering it in calcuting the amount and it is showing the error "BALANCE IN TRANSACTION CURRENCY'.
Can any one help .
Vikki.
‎2008 Dec 11 9:59 AM
Vikki,
The posting key is filled automatically determined by the BAPI based on a combination of how you populate your AccountsReceivable and AccountPayable tables in the BAPI and the GL account.
Please note that based on the kind of document that you want to populate, only one of these tables are filled.
I suggest that you write an ABAP program and pass various instances as values to the BAPI and check the actual postings.
Sojan Samuel
‎2008 Dec 11 11:32 AM
‎2009 Jan 08 4:16 PM
Hi Vikki,
I am facing the Problem regarding Posting keys in BAPI_ACC_DOCUMENT_POST
Can you tell me the steps for Passing Posting key values to Extension2 .
Your help is appreciable
Thanks,
Kishore
‎2009 Jun 30 1:15 PM
Hi , can you please help me on following issue..
I need to find the BAPI for transaction F-02 (G/L Account Post) .. but i am not bale to find the BAPI which contains Posting key as its parameter .. Please suggest the BAPI which will fulfill this requirement or any otehr solution
Regards ,
Uma
‎2009 Jul 01 7:11 AM
Hi , can you please share how did you solve your problem ....
Please help me on following issue..
I need to find the BAPI for transaction F-02 (G/L Account Post) .. but i am not able to find the BAPI which contains Posting key as its parameter .. Please suggest the BAPI which will fulfill this requirement
Regards ,
Uma
‎2009 Aug 25 2:36 PM
Uma,
You should use the BADI for posting the document with the specified posting key in the document, otherwise you can't post the documents with posting keys.
This BAPI ( BAPI_ACC_DOCUMENT_POST), will decides the posting key based on the indicator, for that we should implement BADI
(BADI_ACC_DOCUMENT) if i'm not wrong.
Please check my earlier posts.
they shoud be with my name ( Adinarayana Bathineni).
Thanks,
Adi.
‎2015 Aug 27 10:07 AM
Hi Adi,
how to pass the posting value to extension2 in the bapi.. Do you have any sample code for that.
can you please help me to resolve it.
Thnaks,
Pasumpon Karuppaiah.
‎2009 Jan 08 5:30 PM
Hi Vikki,
I would appreciate if you share with us how you have dealt with posting keys in your code.
Regards
Vikas
‎2009 Apr 22 9:03 PM
Hi,
you can solve the issue by using the EXTENSION2 structure and the Enhancement
BADI_ACC_DCOUMENT
The Enhancement Spots are BADI_ACC_DOCUMENT and IF_EX_ACC_DOCUMENT.
I've used the BADI_ACC_DOCUMENT and now i'm able to post the documents using the keys which i've supplied to the BAPI.
Otherwise the BAPI is going to decide the posting keys based on tha amount .
Hope this will help you.
If you need any info on this, please inform me.
Thanks,
Adi.
‎2009 May 08 8:12 PM
Hello Adi,
Can you please share your implementation of the BADI - BADI_ACC_DOCUMENT?
I am facing a similar issue of not being able to define posting keys for the BAPI -BAPI_ACC_DOCUMENT_POST.
Will I be able to specify both credit and debit side postings for invoice postings using this BADI?
Thanks,
Rugmani
‎2009 Jun 30 1:09 PM
Hi , can you please help me on following issue..
I need to find the BAPI for transaction F-02 (G/L Account Post) .. but i am not able to find the BAPI which contains Posting key as its parameter .. Please suggest the BAPI which will fulfill this requirement
Regards ,
Uma
‎2009 Jun 30 1:11 PM
Hi... have you got the solution ,can you please share ... the problem is as follow :
I need to find the BAPI for transaction F-02 (G/L Account Post) .. but i am not bale to find the BAPI which contains Posting key as its parameter .. Please suggest the BAPI which will fulfill this requirement or any otehr solution
Regards ,
Uma
Edited by: Uma Dave (ArchitectSAP) on Jun 30, 2009 2:13 PM