SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

HGRUTIL0 SAP ABAP Report - Routines for Master Data







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


Text pool values


Title: Routines for Master Data
Text Symbol: 001 = Comparison A.P.D.
Text Symbol: 002 = Elements APD are different according the customization. Do you want to replace??
Text Symbol: 003 = Yes
Text Symbol: 004 = No
Text Symbol: 005 = Comparison S.I.F.
Text Symbol: 006 = SIFs are different according the customization. Do you want to replace??
Text Symbol: C01 = Currency Date


INCLUDES used within this REPORT HGRUTIL0

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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-001 TEXT_QUESTION = TEXT-002 TEXT_BUTTON_1 = text-003 TEXT_BUTTON_2 = text-004 DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = lv_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-005 TEXT_QUESTION = TEXT-006 TEXT_BUTTON_1 = text-003 TEXT_BUTTON_2 = text-004 DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = w_answer.

HR_INDVAL_READ_INFOTYPE CALL FUNCTION 'HR_INDVAL_READ_INFOTYPE' EXPORTING * TCLAS = 'A' PERNR = P_PERNR INFTY = INFTY BEGDA = P_DAT1 ENDDA = P_DAT2 * BYPASS_BUFFER = ' ' * REFRESH_INFTY_TAB = ' ' TABLES INFTY_TAB = P0008 EXCEPTIONS INFTY_NOT_FOUND = 1 UNDEFINED_ERROR = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABLENAME FIELDNAME = W_FIELD ALL_TYPES = 'X' UCLEN = '01' TABLES DFIES_TAB = LOC_DFIES_GR EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

HR_GR_COMPARE_CHAR_VALUES CALL FUNCTION 'HR_GR_COMPARE_CHAR_VALUES' EXPORTING VALUE_FOR_CHECK = P_DIFFVALUE VALUE_TO_COMPARE = IHWTD-DFVAL WILD_CHAR = '**' IMPORTING RESULT = FND_DFVAL.

HR_GR_CALC_DURATION CALL FUNCTION 'HR_GR_CALC_DURATION' EXPORTING DATE_FROM = W_DATE1 DATE_TO = W_DATE2 ADDING = 'X' IMPORTING YEARS = YEARS_T MONTHS = MONTHS_T DAYS = DAYS_T EXCEPTIONS INVALID_DATES = 1 DATE_FROM_GREATER = 2 OTHERS = 3.



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