/SAPSRM/S_SEARCH_RESULT_EMP SAP (Line of the search result for employees) Structure details

Dictionary Type: Structure
Description: Line of the search result for employees




ABAP Code to SELECT data from /SAPSRM/S_SEARCH_RESULT_EMP
Related tables to /SAPSRM/S_SEARCH_RESULT_EMP
Access table /SAPSRM/S_SEARCH_RESULT_EMP




Structure field list including key, data, relationships and ABAP select examples

/SAPSRM/S_SEARCH_RESULT_EMP is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Line of the search result for employees" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_/SAPSRM/S_SEARCH_RESULT_EMP TYPE /SAPSRM/S_SEARCH_RESULT_EMP.

The /SAPSRM/S_SEARCH_RESULT_EMP table consists of various fields, each holding specific information or linking keys about Line of the search result for employees data available in SAP. These include EMPLOYEE_ID (Business Partner Number), EMPLOYEE_GUID (Globally Unique Identifier), PERSON_ID (Technical Person Number), LASTNAME (Last name of business partner (person)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)


SAP /SAPSRM/S_SEARCH_RESULT_EMP structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
EMPLOYEE_IDBusiness Partner Number BU_PARTNERCHAR10Assigned to domainALPHABU_PARTNERBPABUPA
EMPLOYEE_GUIDGlobally Unique Identifier GUIDRAW16
PERSON_IDTechnical Person Number PERSONIDNUMC8PERSONID
LASTNAMELast name of business partner (person) BU_NAMEP_LCHAR40BU_NAME
FIRSTNAMEFirst name of business partner (person) BU_NAMEP_FCHAR40BU_NAME
E_MAILE-Mail Address AD_SMTPADRCHAR241SXIDNAD_SMTPADR
DEPARTMENT_IDObject ID HROBJIDNUMC8Assigned to domainHROBJIDPON
DEPARTMENT_STERMObject Abbreviation SHORT_DCHAR12TEXT12
DEPARTMENT_NAMEObject Name STEXTCHAR40TEXT40
POSITION_IDObject ID HROBJIDNUMC8Assigned to domainHROBJIDPON
POSITION_STERMObject Abbreviation SHORT_DCHAR12TEXT12
POSITION_NAMEObject Name STEXTCHAR40TEXT40
USER_IDUser Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
USER_VALID_FROMUser valid from XUGLTGVDATS8DATUM
USER_VALID_TOUser valid to XUGLTGBDATS8DATUM
USER_TYPEUser Type XUUSTYPCHAR1USTYPXUUSTYP
USER_CLASSUser group in user master maintenance XUCLASSCHAR12Assigned to domainXUCLASSXUG
USER_LOCK_STATUSUser Lock Status XUUFLAGINT13XUUFLAG
USER_PW_STATUSPassword is active or not (deactivated) /SAPSRM/PASSWORD_ACTIVECHAR1BOOLE
USER_PW_INITIALPassword is initial or not /SAPSRM/PASSWORD_INITIALCHAR1BOOLE

Key field Non-key field



How do I retrieve data from SAP structure /SAPSRM/S_SEARCH_RESULT_EMP using ABAP code?

As /SAPSRM/S_SEARCH_RESULT_EMP is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on /SAPSRM/S_SEARCH_RESULT_EMP as there is no data to select.

How to access SAP table /SAPSRM/S_SEARCH_RESULT_EMP

Within an ECC or HANA version of SAP you can also view further information about /SAPSRM/S_SEARCH_RESULT_EMP and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!