‎2009 Sep 08 7:57 AM
Hi,
I am using BAPI BAPI_ACC_GL_POSTING_POST for transaction F-02 for uploading salary details.
here i am using posting key 39 and account no as vendor no and special GL indicator.
From that system automatically pick the GL attached to that Vendor and posting the document while i am doing that one manually.
but when i am doing the same using BAPI system is throwing an error saying that GL acnt (Vendor no ) is not defined in chart of
acnt.But The GL attached to the vendor no is reconcillation acnt,so it is not defined in chart of acnt.
please help me in this regard.
Thanks
Anil D
‎2009 Sep 09 3:14 PM
Try to fetch the g/l account from company vendor data before calling bapi.
DATA: l_akont TYPE lfb1-akont.
SELECT SINGLE akont FROM LFB1 INTO l_akont
WHERE bukrs = l_bukrs AND lifnr = l_lifnr.
/BR
Simo
‎2009 Sep 10 8:33 AM
Hi,
I hv already done that one but the problem is the acnt is reconcilation acnt so we can't directly post document to reconcilation
acnt.
Systerm is throwing an error of the same saying that u can't post doc for reconcilation directly.
Thanks
Anil D
‎2009 Sep 10 9:04 AM
Function POSTING_INTERFACE_DOCUMENT is always worth trying, though you have to do some extra coding.
/Simo
‎2010 Oct 07 11:36 AM