SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

RHUSER00 SAP ABAP dialog Program - Interface for User Master Data







RHUSER00 is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RHUSER00 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RHUSER00. "Basic submit
SUBMIT RHUSER00 AND RETURN. "Return to original report after report execution complete
SUBMIT RHUSER00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Interface for User Master Data


INCLUDES used within this REPORT RHUSER00

INCLUDE MPH5ATOP.
INCLUDE MPHFCOD0.
INCLUDE RHHRSDAT.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SU01' EXCEPTIONS ok = 0 not_ok = 2 OTHERS = 3.

RH_USER_NAME_READ CALL FUNCTION 'RH_USER_NAME_READ' EXPORTING buffer_store = read_criteria-store read_db = read_criteria-read_db TABLES user_tab = act_user user_name = act_name EXCEPTIONS OTHERS = 2.

RH_USER_SEARCH_VIA_NAME CALL FUNCTION 'RH_USER_SEARCH_VIA_NAME' EXPORTING search_string = fot_search TABLES user_tab = user_tab EXCEPTIONS OTHERS = 0.

RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING org_object_type = $user act_plvar = act_plvar f4_mode = $cross IMPORTING org_object_objid = eoi_realo EXCEPTIONS OTHERS = 1.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING user_name = usr_bname IMPORTING user_address = loc_addr EXCEPTIONS user_address_not_found = 1 OTHERS = 2.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = user-bapibname * IMPORTING * LOGONDATA = * DEFAULTS = * ADDRESS = * COMPANY = * SNC = TABLES * PARAMETER = * PROFILES = * ACTIVITYGROUPS = return = return * ADDTEL = * ADDFAX = * ADDTTX = * ADDTLX = addsmtp = smtp * ADDRML = * ADDX400 = * ADDRFC = * ADDPRT = * ADDSSF = * ADDURI = * ADDPAG = * ADDCOMREM = .

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING user_name = usr_bname IMPORTING user_address = loc_addr EXCEPTIONS user_address_not_found = 1 OTHERS = 2.

RH_USER_NAME_READ CALL FUNCTION 'RH_USER_NAME_READ' TABLES user_tab = user_tab EXCEPTIONS OTHERS = 0.

SUSR_USER_LOGONDATA_GET CALL FUNCTION 'SUSR_USER_LOGONDATA_GET' EXPORTING user_name = user IMPORTING user_logondata = logondata EXCEPTIONS OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RHUSER00 or its description.