Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Recipient List to Hide Inactive User IDs

kaushalya
Active Participant
0 Kudos

Dear Gurus,

In our company we choose to retain unused/inactive user IDs in the system without deletion. The procedure to deactivate is: 

1. Lock User ID

2. Delimit the Valid through date

3. Remove all roles

4. Assign to a user group INACT

Now in SAP Business Workplace, when we try to select the recipient by searching their username the hit list shows the inactive user ID also.

For example, if we search for user ID test*, the hit list shows Test1, Test2 User IDs which are assigned to INACT user group.

Is it possible to restrict selection of inactive user IDs in the recipient list?

Or alternatively is it possible to customize the Address Management: Find contact person hit list to include the additional columns to indicate the user status as Active/Inactive.

Regards

~Kaushalya

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Internally that screen is using structure ADDR3_VAL which does not have the attribute (user group) you are looking for. In other words it would be easier to enhance the data retrieval to exclude users of certain group(s). The data retrieval is accomplished by function module ADDR_PERS_COMP_SEARCH. You could look at enhancing the FM.

However I doubt SAP Office is the only place where you have the problem so you might be looking at enhancing many implementations. Instead, couldn't you come up with an alternate solution? For example maintain "USER DELETED" or something else in a non-used field of structure ADDR3_VAL to indicate that the user has been deleted.

1 REPLY 1

Former Member
0 Kudos

Internally that screen is using structure ADDR3_VAL which does not have the attribute (user group) you are looking for. In other words it would be easier to enhance the data retrieval to exclude users of certain group(s). The data retrieval is accomplished by function module ADDR_PERS_COMP_SEARCH. You could look at enhancing the FM.

However I doubt SAP Office is the only place where you have the problem so you might be looking at enhancing many implementations. Instead, couldn't you come up with an alternate solution? For example maintain "USER DELETED" or something else in a non-used field of structure ADDR3_VAL to indicate that the user has been deleted.