cancel
Showing results for 
Search instead for 
Did you mean: 

Error message in BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

Hi All,

I am getting the following error message after executing the BAPI_ACC_DOCUMENT_POST:

'Account 20100103 in company code GRPF cannot be directly posted to'

Please help me in resoving the error.

Thanks and Regards,

Ati

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi All,

Can anyone provide me with the solution plz for the problem?

Thanks and Regards,

Ati

Former Member
0 Kudos

Hi,

Can you please go to tcode 'FS00' and check the Account group in "Type/Description" tab.

If you find something else other than G/L account, keep that and try to post documents.

Thank you.

Best regards,

Ram Ganji

ThomasZloch
Active Contributor
0 Kudos

There is no technical solution for this. You cannot change G/L account master data around just to make your error go away. Once again, speak to somebody in your organisation that knows the business side of things, especially chart of accounts.

Thomas

raymond_giuseppi
Active Contributor
0 Kudos

Don't cry, but that cannot be solved by coding. You cannot use this account number in the BAPI, period,

Ask functional if you can change the account definition (provisionally or permanently, in first case a small BDC before/after execution of BAPI ?) or if you can use another account number.

Regards,

Raymond

Former Member
0 Kudos

Hi All,

I am using the BAPI in a report.I am not executing it singly.

I have also found out that the Post Automatic option is unchecked in FS00.

Still I am getting the same error.

Thanks and Regards,

Ati

raymond_giuseppi
Active Contributor
0 Kudos

Usually such locked accounts belong to another application interface like MM or SD, and are protected against manual posting to insure coherence of the balances in the two applications (e.g. valuation of stocks in MM and FI)

So check with functional if you are allowed to use this account, or if they have to create another similar account for "manual" postings and adjustments ?

Regards,

Raymond

former_member386202
Active Contributor
0 Kudos

Hi,

Its not an ABAP issue.

This could be because of your G.L. Account  setting. Use Tocde: FS00 under Create/bank/interest Tab

untick Post Automatic Field or ask ur FI Consultant to do this setting.

Please check http://scn.sap.com/thread/3270691

Regards,

Prashant

Former Member
0 Kudos

Hi Ati

In TCode FS00, goto the account 20100103 in your company code.

In the "Create/Bank/Interest" tab uncheck the check box "Post Automatically only" check box.

Hope this solves your problem.

Regards,

Suganya

ThomasZloch
Active Contributor
0 Kudos

Not an ABAP problem. This might be a reconciliation account for a sub-ledger like FI-AA, AP or AR, which you need to address via asset, vendor or customer number, respectively.

Speak to your functional FI expert about this.


Thomas