Created by Jerry Wang, last modified on May 06, 2014
新建sales order时,如果未维护notes,则无法save sales order,遇到如下error message:
[外链图片转存失败(img-iLdsGe9X-1563545760815)(user-images.githubusercontent.com/5669954/323…)]
使用tcode SE91的where used list查找message ID BSP_WD number 022, 在第一个hit处设断点:
找到抛出error message的code:
说明field的mandatory属性不是从workbench UI configuration里定义的:
[外链图片转存失败(img-iYXWENl2-1563545760820)(user-images.githubusercontent.com/5669954/323…)]
[外链图片转存失败(img-NDmnLbY2-1563545760822)(user-images.githubusercontent.com/5669954/323…)]
在下面方法里将notes设为mandatory:
具体逻辑可以debug context node class GET_I方法:
\