转 Filtering the Work Items in the SAP Inbox

本文介绍如何通过实现BADI (Business Add-In) WF_BWP_SELECT_FILTER来过滤SAP收件箱中的特定工作项。通过创建实施并编写相应代码,可以隐藏指定任务类型的工作项,例如TS2000066。文中详细展示了实施步骤及代码示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Filtering the Work Items in the SAP Inbox using BADI

from link.
This document details about the procedure in filtering some of the work items from the SAP inbox using a BADi. 
Following is the screenshot of the SAP inbox, before implementing BADi: 
 

The BADi that is used in filtering the work items is WF_BWP_SELECT_FILTER. To implement the BADi, go to transaction SE18. From the menu, select Implementation à Create. (See the screenshot below) 

 

Enter the implementation name and press ENTER 

 

Enter any meaningful short text for the implementation and click on the tab “Interface”

 

The implementing class, ZCL_IM_BWP_SELECT_FILTER, is automatically proposed. Double click on the implementing class name. 

 

You are now navigated to the class builder. Now double-click on the method name shown on the screen (see the snapshot below)

 

Now let us filter out the work items belonging to the task TS2000066. See the code below: 

 

Activate the method and also the implementation. In the state of active, you wouldn’t be able to make any changes. To make any changes, we need to deactivate it and then make the changes. 

 

Now check the inbox and would notice that the work items related to that task are no more appearing. 

 

To notice the differences, try activating and deactivating the BADi implementation.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值