‎2007 Nov 07 2:08 PM
Hi,
I am using BAPI_ACC_DOCUMENT_POST to Post the vendor invoice within my custom program to post the vendor invoice, But the invoice that is being getting post with Posting Key 21 (Cedit Memo) and 11 (Credit Memo) where in my selection screen I do have the options same like in FB60 e.g. (Invoice, Credit Memo).
Currently while executing this BAPi no matter what option is being selected, the posting keys are updated as 21 and 11.
I am not able to find the place holder or any parameter within this BAPi "BAPI_ACC_DOCUMENT_POST" where I can mention the Transaction type.
Please suggest..
Thanks in advance..
Regards,
Atul
‎2007 Nov 07 2:20 PM
I think the BAPI is determing posting keys based on configuration, try with different vendor or GL accounts.
Also try posting manually to check if this is also an issue in FB60.
Message was edited by:
Manohar Reddy Kallem
‎2007 Nov 07 2:20 PM
I think the BAPI is determing posting keys based on configuration, try with different vendor or GL accounts.
Also try posting manually to check if this is also an issue in FB60.
Message was edited by:
Manohar Reddy Kallem
‎2007 Nov 12 1:17 PM
Hi Manohar,
I already have tried with manual posting in FV60. But there it does give this problem.
I need the place holder within this BAPI where I can mention the posting key..
Regards,
Atul
‎2007 Nov 12 2:10 PM
Hi Manohar,
I already have tried with manual posting in FV60. But there it does <b>NOT</b> give this problem.
I also have tried with different combinations of vendors an GL accounts, but the problem is same...
I need the place holder within this BAPI where I can mention the posting key..
Regards,
Atul
‎2007 Nov 13 7:36 AM
My problem has been solved. The issue was with DR/CR indicator and amount sign. I was passing just opposite amounts and indicators and because of this it was creating Credit memo instead of Invoice.
Thanks anyways for your inputs...
Regards,
Atul