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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ESS_USERCOMPARE - Reconcile User Master With HR Master ESS_USERCOMPARE - Reconcile User Master With HR Master ESS_SEL_PERNR_VIA_PNP - Choose Personnel Numbers Using Employee Master ESS_SEL_PERNR_VIA_PNP - Choose Personnel Numbers Using Employee Master ESS_SEL_PERNR_VIA_PCH - Choose Personnel Numbers Using Org. Assignment ESS_SEL_PERNR_VIA_PCH - Choose Personnel Numbers Using Org. Assignment