HGRCRET0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You run this report to obtain an overview of the retroactive differences for each employee for the selected period...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter HGRCRET0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M45_RET0 - Retroactive Differences
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: P_CURR = D .
Selection Text: P_MONTH = Calendar Month
Selection Text: P_SEQNR = Company Data Sequential No.
Selection Text: P_YEAR = Calendar Year
Selection Text: S_LGART = D .
Title: Retroactive differences
Text Symbol: 001 = 1-AFTER
Text Symbol: 002 = 2-BEFORE
Text Symbol: 003 = 3-DIFFER
Text Symbol: H02 = Retroactive Differences
Text Symbol: P22 = Page :
Text Symbol: T01 = A/A
Text Symbol: T02 = STATUS
INCLUDE HGRUCMP0.
INCLUDE HGRUREP1.
INCLUDE HGRUACT0.
No SAP DATABASE tables are accessed within this REPORT code!
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = gv_begda IMPORTING last_day_of_month = gv_endda EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
HR_GR_READ_PYRES_INTERVAL CALL FUNCTION 'HR_GR_READ_PYRES_INTERVAL' EXPORTING pernr = PERNR-PERNR mode = 'A' fmper = INPER toper = INPER permo = '01' * BEGDA = * ENDDA = INPER = INPER * BONDT = * PAYTY = * PAYID = * TPRUN = * BUKRS = ACURR = a_curr ACUDT = a_currdt TABLES * ALL_RUNS = * EVP_RUNS = RTDET = lt_rtgr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.