2007 Nov 12 1:18 PM
Hi,
I am using Bapi BAPI_ACC_DOCUMENT_POST for creating invoice for general ledger. The invoice is posted successfully and i get invoice document no but when i go to FV60 transaction and type that no. the posting keys it is showing is 21 and 11 but i want 31 and 40. What should i do??
Please guide me.
Thanks
2007 Nov 12 1:29 PM
hi Tejal,
looks like in the tables parameters of the BAPI you use 2 lines in ACCOUNTPAYABLE (which is for vendor postings). You have to use ACCOUNTGL (which is for G/L postings), instead of one line in ACCOUNTPAYABLE. It will generate the required lines in the posted document.
hope this helps
ec
hi Tejal,
looks like in the tables parameters of the BAPI you use 2 lines in ACCOUNTPAYABLE (which is for vendor postings). You have to use ACCOUNTGL (which is for G/L postings), instead of one line in ACCOUNTPAYABLE. It will generate the required lines in the posted document.
hope this helps
ec
2007 Nov 12 1:29 PM
hi Tejal,
looks like in the tables parameters of the BAPI you use 2 lines in ACCOUNTPAYABLE (which is for vendor postings). You have to use ACCOUNTGL (which is for G/L postings), instead of one line in ACCOUNTPAYABLE. It will generate the required lines in the posted document.
hope this helps
ec
2007 Nov 13 5:03 AM
Hi Eric,
Thanks for reply.
I am already populating Accountpayable table for Vendor and AccountGL table for line items. Is there any field for indicating posting keys in these tables which i may have missed ?
2007 Nov 13 7:34 AM
as far as I know, there is no field for posting key. The system will determine on its own.
2007 Nov 13 7:42 AM
Hi Tejal
Please check whether you are passing S/H or debit / credit entries correctly...
Regards
Arun
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |