Ansicht
Dokumentation

/VIRSA/SEARCH_DATA - Search Data

/VIRSA/SEARCH_DATA - Search Data

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This Function Module is useful to search information about various Entities like Users, Roles, Profiles, PD Profiles etc.

Depending on the Flag Id value, search is performed.

,,RL,,Role Search
,,PF,,Profile Search
,,US,,User Search
,,PD,,PD Profile Search
,,MU,,Modal User Search

When performing Role/Profile/PD Profile Search Users can pass either Role/Profile/PD Profile Name or Description pattern to get the information like Name, Description, Type etc.

When performing User Search Users can pass any combination of either User Id, First name, Last name, Personal Number patterns to get the information like User Name, Personal Number, First Name, Last Name, Job, Org. Unit, Personal Area etc.

When performing Modal User search you can pass either User Id or Personal Number to get details about all the roles and profiles assigned to that user.

Example

You want to search the first 10 users whose first name starts with "RP".

flagid = 'US'.
par_fname = 'RP*'.
par_hits = 10.
call function '/VIRSA/SEARCH_DATA'
,,exporting
,,,,flagid = flagid
,,,,par_fname = par_fname
,,,,par_hits = par_hits
,,importing
,,,,return = return
,,tables
,,,,tbl_users = tbl_users.

Notes

Further information





Parameters

FLAGID
LANGU
MGR_FLAGID
PAR_DESC
PAR_FNAME
PAR_HITS
PAR_LNAME
PAR_NAME
PAR_NUM
PAR_STATUS
PAR_TYPE
PATHID
RETURN
SAP_FLAGID
TBL_COMM_METHOD
TBL_HROBJECTS
TBL_MROLES
TBL_PARAMETER
TBL_PDPROFS
TBL_PROFILES
TBL_ROLES
TBL_SCDATA
TBL_USERGROUP
TBL_USERS
TBL_USERS_EMAIL
TBL_USER_DATES
TBL_USER_SNC

Exceptions

Function Group

SA/SAPLAEPVHR1

PERFORM Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3890 Date: 20240420 Time: 080203     sap01-206 ( 43 ms )