Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST

abdulazeez12
Active Contributor
0 Likes
885

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

4 REPLIES 4
Read only

Former Member
0 Likes
727

Do you get the same error when you use the posting transaction? Probably, so use a different account.

Rob

Read only

Former Member
0 Likes
727

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

Read only

former_member195698
Active Contributor
0 Likes
727

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

Read only

Former Member
0 Likes
727

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