‎2008 Feb 21 12:53 PM
hey
I am getting this error Account 285544 in company code 0060 cannot be directly posted to
when iam running the function module BAPI_ACC_DOCUMENT_POST.
For all GL accounts it is same error...
The gl account is from same company code from which other entries r fetched for this bapi..and moreover it is recon account..
pls help
Shakir
‎2008 Feb 21 6:44 PM
Do you get the same error when you use the posting transaction? Probably, so use a different account.
Rob
‎2008 Feb 21 7:00 PM
Hi Shakir,
Probably try adding leading zeros at front of the GL Account and then post it should work.
eg. Account 0000285544 ( instead of 285544 ).
I also had similar problem and i fixed in this way.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 21, 2008 3:12 PM
‎2008 Feb 21 8:35 PM
You don't post to the Recon Account directly. Post it to the Customer/Vendor associated with the Recon Account.
Give the Customer / Vendor number instead of the Recon account in your BAPI
Regards,
Aj
‎2008 Apr 08 7:55 AM
Hi Shakir,
its true what the bapis says, it is not allowed to post to this account. Its not an error it is customized this way. Ask the business/applications experts how the account is set up, you can open/close a account for certain kinds of postings. Reward if helpful.
Regards,
Egon