Skip to Content

No direct posting can be made to G/L Account 50000000 in Company code XXXX



I have a GL account which is a P&L account. The account has been marked as automatic posting.

Now, Iam trying to create a Purchase Order for a material with Account Assignment category 'K', with Account Assignment and the GL account will get determined automatically (as mentioned above through OBYC). It is at this time that Iam getting this error message.

The query is that, though the account determination is happening automatically through OBYC, still the system is throwing the error message that GL account cannot be posted because it is automatic posting.

We want to maintain the account as automatic posting so that there are no manual entries to the account in Finance.



po-error.png (26.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 24, 2018 at 12:25 PM

    Dear Madhuri,

    This is a good point for discussion that you raised up, thanks you for that.

    Even SAP is not clear about this. For example, if you check in KDB Article 1701436 - Error message F5562 "Account & can only be posted to internally in company code &" when running FF.5 and F.38., SAP mention in there the following:

    • Please only use the "Post Automatically Only" flag in the G/L account master for accounts that can only be posted to by the system using account determination tables.

    • You should only mark accounts as "post automatically only" if there is an automatic account determination using table T030. This table contains accounts determined by the MM module which initiates FI postings.

    By this article we understand that the GBB/VBR entry should work when determining the G/L account in the PO Creation.

    But there is a trick point on this article, SAP forgot about the check and message ME038 which is a message in MM side.

    Based on this message ME038 and according to SAP: do not tick the "post automatically only" and no reconsilation account should be for the G/L account. This is the guidance of SAP posted in another note 2483544 - How to avoid ME 038 error (No direct postings can be made to G/L acct. & in CoCode &) ?

    In the note you can see a technical explanation about the ABAP source code where the check is performed by FM MEX_LESEN_SACHKONTO, and the unique way is to remove the "post automatically only" indicator of your GBB/VBR account.

    I hope this could clarify and helps you with that.

    Best regards,

    Gabriel Coleti

    Add comment
    10|10000 characters needed characters exceeded

  • May 24, 2018 at 11:14 AM

    Hi Madhuri,

    This issue will occur due to multiple possible scenarios, Check the below:

    First and foremost check the nature of this GL Account whether this account is inventory or reconciliation account.

    Second This GL Account should be created under that company code

    Third If this is consumption account then post automatically should not be ticked.

    Fourth Check in OMS2 transaction code for quantity and value update.

    Thank You


    Add comment
    10|10000 characters needed characters exceeded