2010 Oct 13 1:21 PM
Hi,
We are using Function module BAPI_ACC_DOCUMENT_POST for posting FI documents. When I try to post an item with special GL indicator BAPI is returning an error message .,u2019Special G/L transactions of type W are not supportedu2019. All other items other than Sp Gl are posting correctly without any error. Can I use the same BAPI BAPI_ACC_DOCUMENT_POST to post sp GL account also? If Yes, why it is giving such an error message while posting the special GL item.
Thank you,
Nidhi
2010 Oct 13 2:16 PM
Hi,
Try this bapis:
BAPI_ACC_GL_POSTING_POST Accounting: General G/L Account Posting
BAPI_GL_GETGLACCPERIODBALANCES Posting period balances for each G/L account
Thanks,
AMS
2010 Oct 13 2:33 PM
Hi Nidhi,
I have posted FI documents with Special G/L indicator using the BAPI_ACC_DOCUMENT_POST. What are the tables of the BAPI interface you have used? How did you populate the special G/L indicator?
Regards,
Immanuel.
2010 Oct 13 2:43 PM
Hello,
Are you using field ACC_PRINCIPLE from the parameter BAPIACHE09 (structure)?
Best regards.
2010 Oct 13 2:58 PM
hi Mário Espinheira ,
No we are not populating ACC_PRINCIPLE in the document header. Could you pls explain me more..
- Nidhi
2010 Oct 13 3:03 PM
Hi,
In the message documentation,
SAP has given that Special G/L transactions of type are not supported in the interface to FI.
Also, It has recommended to post manually in financial accounting.
Sujay
2010 Oct 13 4:18 PM
Hello,
Well, I can't explain it in functional terms, but when I had a requirement to post documents in another ledger I used this field to define the ledger for the post. Check table TACC_PRINCIPLE for available ACC_PRINCIPLE values. You should also request the help of someone from the FI functional team.
Best regards.
2010 Oct 13 2:51 PM
Hi Immanuel.,
We are populating the following tables ACCOUNTGL,ACCOUNTRECEIVABLE,CURRENCYAMOUNT along with Documentheader
-Nidhi
2010 Oct 14 3:17 AM
Hi Nidhi,
The special GL indicator can be populated in the SP_GL_IND field of the table ACCOUNTRECEIVABLE. This field is not available in the ACCOUNTGL table. If you want to fill this field you can fill it in the EXTENSION1 table and populate in the BTE for the BAPI.
Regards,
Immanuel.