2324523 - FAQ: ME045 issued in ME21N / ME22N / Purchase Orders

Symptom

  • Create a purchase order with account assignment and set the system message ME 045 (G/L account & cannot be used (please correct) ) to warning or error.
  • It is found that the message is / is not issued, even though there is an incompatibity between the account assigment data of the PO and the GL account.
  • For example, when configuring an account assignment object (e.g. WBS element) as hidden for the account assignment category, it is mandatory in the field selection of the GL account.
  • In this case the expected result is for ME045 to be raised, notifying the user of this incompatibility.
  • When trying to post a goods receipt for this PO, error message F5 808 (Field & is a required field for G/L account ), may also be displayed.

Environment

  • Materials Management (MM)
  • SAP ERP Central Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA

Cause

System functionality was introduced with note 89897. The check is made in function module MEX_FELDAUSWAHL_SACHKONTO.

The system refers to a G/L account due to the automatic account determination when creating a purchase order, which cannot be posted because of an incompatible field selection combination of G/L account and account assignment category.

According to the error message, the incompatibility is results from a field that cannot be accessed via Customizing transaction OME9 (Change View "Account Assignment Categories": Overview).

ME045 is issued only in the following situations:

  • If the account assignment object (AAO) is mandatory in the PO and hidden in the GL
  • If the AAO is optional in the PO and hidden in the GL.

The check itself can often be a hindrance, and too thorough for the business requirement.

Account assignment concepts are often derived from other account assignment objects and are available for accounting this way although they can be neither input nor saved in purchasing.

  • For instance, it is possible to use the profit center of the material to derive other account assignment object in OKB9.
  • During PO creation, the profit center of the material is not passed to K_COBL_CHECK but only during goods receipt.
  • When the PO is created, certain data may not be available for CO substitution and thus the desired option is to make the assignment available during Goods Receipt (GR) instead.

Resolution

The current system design is correct and will not be changed. You can use the report RM07CUFA to check the compatibility of the MM and FI GL account field selection.

Additional steps to check are to adjust the field status definition of table T162K to the field selection in Financial Accounting (table T004F).

Proceed as follows:

1. Determine the item of the field in question in the field selection string. You obtain this information from table TMODU, in the 'MODIF' column in transaction SE16 (Table Viewer).
2. Edit table T162K using transaction SM31 (Maintain Table Views) and change the position of the field status definition in question. An optional entry '.' might be a good starting point in many cases.

The problem should then be solved.

Note: After making this change, you should then be able to post the document without an error message.

However, you need to check on an individual basis whether this change causes any problems elsewhere.

This is particularly the case if account assignment fields are defined as required entry that are actually not available in the MM modules.

It is then possible that you can post subsequent documents (for example, invoices) without making an entry in this field

具体应用:

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值