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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.