1927793 ME_PROCESS_PO_CUST (or user exits) not triggered at custom field in ME21n

You implemented PROCESS_ITEM and/or PROCESS_HEADER method in BADI ME_PROCESS_PO_CUST or user-exits in enhancement MM06E005 to update custom and standard fields.

  • Symptom 1: You change only a custom field, but ME_PROCESS_PO_CUST not triggered
  • Symptom 2: If you copy an item of the PO (or create a new PO with reference), custom field not copied to the new item / new PO

Environment

  • Materials Management (MM)
  • SAP ERP Core Component
  • SAP ERP
  • SAP enhancement package for SAP ERP
  • SAP enhancement package for SAP ERP, version for SAP HANA

Cause

BADI ME_PROCESS_PO_CUST is not designed to be triggered on changing the values of custom fields.

Resolution

  • For Symptom 1:
    PROCESS_ITEM and PROCESS_HEADER methods are triggered only if there was a change in any of the standard fields. But not triggered if only a custom field changed
  • For Symptom 2:
    In standard, we do not copy custom fields since the business logic behind the filling of these fields is not known in standard process. The reference document data is available in structure REKPO and you need to implement the user-exits in enhancement MM06E005 if you expect the values to be copied. For example user-exit EXIT_SAPMM06E_016 to copy reference data to the new item.

All in all take into account that standard SAP system's logic is built on standard system elements, if you extend or enhance the system the system not every case react to the custom applied solution as it react to the standard system element's usage, like in the above case on the fields change - this you have to accept when you try to enhance the standard system.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值