Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
messier31
Active Contributor

A. Business Requirement

To enhance open item Work List by adding custom/additional standard fields for making it easier for Collection Specialist to perform more efficiently. The need could be any data as per your company’s business model. In our case for e.g. it was needed to add the Industry field from customer’s master.

Our client’s business model is aligned per Industry - Trade, Banking, Service, Manufacturing, Health Care etc., so it would make sense to have this data in collection specialist’s work list for him to check/filter only by specific industry, if needed.

Another case would be say; you have enhanced customer master to save additional data as per business need. These data if needed by collection specialist can be added in the work list.

B. Problem Statement

Add additional/custom field in the collection specialist’s work list. In our case, we needed customer’s Industry to be added in work list.

C. Analysis

The solution is simple implementation of BAdi provided by SAP. The search of this BAdi is also not much work. One can directly find it in IMG under following node.

The only analysis one may need to do is to decide which of the above enhancement point is correct for a given business need.  Both of the above two enhancement displays additional details in the work list, but from where it populates data for this additional field is the question - And also the answer to which of the BAdi should one choose?

1. BAdI: Enhancement of Work list Items on Creation (UDM_WL_ITEM_CREATE_C)

This enhancement as the name suggest is called when the work list is created (i.e. saved in table UDM_WL_ITEM). So if additional data should also be saved in database for later reference or report, it is better to use this BAdi. For e.g. if you calculate some additional key figures for the business partner then you can do it here. In this way, the calculated key figure will be saved in the table UDM_WL_ITEM and will also be displayed in the work list.

2. BAdI: Enhancement of Work list Items on Display (UDM_WL_ITEM_DISP_C)

This enhancement is called for each work list item just before the work list is to be display in transaction codes UDM_SPECIALIST or UDM_SUPERVISOR. So if there is no specific reason that additional data needs to be stored in work list table then it is better to use this enhancement.

A simple case would be what our client wanted. They wanted collection specialist to be able to sort/filter work list by Industry. Now since Industry is already available in customer master data and can be just displayed without being stored again in collection management (i.e. table UDM_WL_ITEM).

D. Solution

For our requirement mentioned in section B and for the reason explained in section C.2, we used enhancement BAdI: Enhancement of Work list Items on Display since we only wanted to display Customer’s Industry in the work list without saving it in again in collection management database. Customer’s Industry can be fetched directly from customer master table KNA1.

E. Technical Implementation

1.  Add custom/additional fields in CI include CI_WORKLIST_ITEM_ATTR of structure UDM_S_WORKLIST_ITEM_ATTR_C.

2.  Create implementation for BAdi - UDM_WL_ITEM_DISP_C

3.  Add code in the method BEFORE_ALV_DISP to populate custom/additional field.  Example as below.

 

F. Result

The additional field (Customer’s Industry in our case) is displayed in the work list.

G. Note

If you plan to use BAdI: Enhancement of Work list Items on Creation (UDM_WL_ITEM_CREATE_C), you will need to add field in both the CI includes mentioned below.

     1. UDM_S_WORKLIST_ITEM_C --> CI_WORKLIST_ITEM

     2. UDM_S_WORKLIST_ITEM_ATTR_C  --> CI_WORKLIST_ITEM_ATTR

4 Comments
Labels in this area