MESSAGE_TYPE_X in Badi:MB_DOCUMENT_UPDATE_BEFORE

Note:385830
Instead of writing code in MB_DOCUMENT_BEFORE_UPDATE,write a check in user exit MBCF0002.This exit is having all the required parameters and also it will trigger while checking document and also posting document.

We can use '' sy-cprog'' to judge whether to use Validation Logic

posted @ 2019-03-01 13:44  auroracj  阅读(679)  评论(0编辑  收藏  举报