ITPub博客

首页 > 数字化转型 > ERP > SAP MM 预留单据的历史修改记录?

SAP MM 预留单据的历史修改记录?

原创 ERP 作者:dicksonjyl560101 时间:2019-04-28 11:38:42 0 删除 编辑

SAP MM 预留单据的历史修改记录?


在笔者眼里,SAP系统是一个高度严谨的软件系统。用户在SAP系统里的相关操作,系统都会做记录。用户对于系统的相关单据的增删改,SAP系统都有保留change history,并且可以很方便被人查询这些change history。但是笔者发现,并不是所有单据的修改,SAP系统都提供很好的查询change history的方式,比如Reservation单据。


如下的预留单ITEM,笔者有将数量由80改成了81,


笔者试图找到该预留单据的change history, 如同查询其它单据修改记录的方式,找遍了MB23事务代码里的诸多菜单,都找不到。

上网查资料,发现SAP标准系统是不保留预留单据的change history信息的。看来SAP保持增删改的痕迹以方便后续追溯的严谨风格,执行的并不彻底!当然SAP系统对于任何单据的修改都有记录在表CDHDR & CDPOS里,但是标准系统里,这2个表里的数据,对于业务用户,并不能方便的查询。

SAP NOTE 1927840 供参考。


1927840 - Change log for reservations


Symptom

Create a Purchase Requisition with reference to a reservation and later make changes to delivery date,for example, in transaction ME52N. The field RESB-BDTER is updated with the delivery date changes but no change log is written.

You would like to record changes made to reservations.


Reproducing the Issue

Call a reservation in transaction MB22.

Make a change to the reservation.

Save the changes.

There is no change log.


Cause

This is standard SAP system design.


Resolution

In enhancement MBCF0007 you find user exit EXIT_SAPMM07R_001.

This user exit is called directly after the COMMIT WORK statement in MB21/MB22 and contains information related to the old and new item details in table RESB. You could use this user exit to update the reservation changes to a custom table.

The standard change log table are CDHDR & CDPOS. If you were to use these as part of a custom development to capture reservation changes you would have to pay special attention to performance as these tables are often very large.



2019-04-28 写于苏州市。


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29829936/viewspace-2642758/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
行万里路,读万卷书,阅无数人。 吃货一枚,爱吃湘菜,粤菜与杭帮菜,尝遍天下美食。 摄影爱好者,游遍名川大山,江河胡海,赏遍人间春色。 爱看电影,尤其是国产大片,好莱坞大片。英文名:Dickson Jin, 网名:风一样的BOY。精通SAP供应链咨询。2017年开始研习人工智能。

注册时间:2014-08-27

  • 博文量
    2598
  • 访问量
    4675812