采购申请审批增强BADI—>ME_REQ_POSTED,通过报错不能控制审批操作

Solved: Re: Badi ME_REQ_POSTED - SAP Community

Hi expert,

I used IF_EX_ME_REQ_POSTED~POSTED for the badi ME_REQ_POSTED.

Is it possible to block some item in the purchase requisition via this badi ??

wich method I have to use ? what are all method that I can use with this badi ?

 

——回答

This BADi has only one method 'Posted'.Through this method u can only post not block the items.

In this BADI ME_PROCESS_REQ we will have PROCESS_ITEM method from the method parameters u wcan go to another inteface there we will have SET_data. in that method u can set the status as blocked.

IF th item is not edited then it is blocked.

Thanks

 

此 BADi 只有一个方法 'Posted'。通过这种方法,您只能发布而不是阻止项目。

在这个 BADI ME_PROCESS_REQ中,我们将PROCESS_ITEM方法从方法参数中转到另一个接口,在那里我们将有SET_data。在该方法中,您可以将 Status (状态) 设置为 Blocked (已阻止)。

如果该项目未被编辑,则它将被阻止。

谢谢

posted @ 2025-01-14 17:11  艾靑  阅读(45)  评论(0)    收藏  举报