SAP Reports / Programs

ESS_USERCOMPARE SAP ABAP Report - Reconcile User Master With HR Master







ESS_USERCOMPARE is a standard Executable ABAP Report 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 ESS_USERCOMPARE 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 ESS_USERCOMPARE. "Basic submit
SUBMIT ESS_USERCOMPARE AND RETURN. "Return to original report after report execution complete
SUBMIT ESS_USERCOMPARE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ALL = All users
Selection Text: NOP = Users without employees
Selection Text: SELBEGDA = Selection period: start
Selection Text: SELENDDA = Selection period: end
Selection Text: UGRP = User group for auth. check
Selection Text: UNAME = User name
Selection Text: WITHP = Users with employees
Title: Reconcile User Master With HR Master
Text Symbol: 001 = No users found
Text Symbol: 002 = No employee assigned
Text Symbol: 003 = (Overview)
Text Symbol: DTO = To
Text Symbol: FRM = From
Text Symbol: NME = Name
Text Symbol: PNR = Pers.no.
Text Symbol: UGR = User group
Text Symbol: USR = User


INCLUDES used within this REPORT ESS_USERCOMPARE

No INCLUDES are used within this REPORT code!


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:

RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING ACT_SEARCH_STRING = SEARCHSTRING ORG_OBJECT_TYPE = 'P ' IMPORTING ORG_OBJECT_OBJID = MARKED_TAB-PERNR EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_OBJECT_ID_SELECTED = 2 OTHERS = 3.

HR_PERNR_USER_RELATE CALL FUNCTION 'HR_PERNR_USER_RELATE' EXPORTING PERSNR = MARKED_TAB-PERNR UNAME = MARKED_TAB-BNAME SELDAT = MARKED_TAB-BEGDA WITH_DIALOG = 'X' TABLES MESSAGETAB = GLOBAL_MESSAGE_TAB EXCEPTIONS PERNR_NOT_FOUND = 1 PERNR_NOT_ACTIVE = 2 UNAME_NOT_FOUND = 3 USER_NOT_ASSIGNED = 4 ERROR_WITH_AUTH = 5 OTHERS = 6.

HR_USER_PERNR_CUT CALL FUNCTION 'HR_USER_PERNR_CUT' EXPORTING UNAME = MARKED_TAB-BNAME DELETE = 'X' WITH_USER = 'X' EXCEPTIONS ERROR_WITH_RELATIONS = 1 ERROR_WITH_USER = 2 OTHERS = 3.

HR_USER_PERNR_CUT CALL FUNCTION 'HR_USER_PERNR_CUT' EXPORTING UNAME = MARKED_TAB-BNAME DELETE = SPACE WITH_USER = 'X' EXCEPTIONS ERROR_WITH_RELATIONS = 1 ERROR_WITH_USER = 2 OTHERS = 3.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING ACT_PLVAR = PLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 1 OTHERS = 2.

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING SUBTY = 'A208' BEGDA = SY-DATUM ENDDA = '99991231' TABLES I1001 = RELAT OBJECTS = USERS EXCEPTIONS OTHERS = 0.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING ACT_PLVAR = PLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 1 OTHERS = 2.

RH_READ_INFTY_1001_EXT CALL FUNCTION 'RH_READ_INFTY_1001_EXT' EXPORTING SUBTY = 'A208' BEGDA = BEGDA ENDDA = ENDDA TABLES I1001 = RELAT OBJECTS = USERS EXCEPTIONS OTHERS = 0.

SUSR_USER_SELECT_VIA_USERGROUP CALL FUNCTION 'SUSR_USER_SELECT_VIA_USERGROUP' EXPORTING UGROUP = UGRP US_SEARK = UNAME TABLES USERS = IUSR.



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 ESS_USERCOMPARE or its description.