HMXCGRB0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report allows you to display the results generated by the Mexican payroll calculation program (HMXCALC0) for employees that receive deductions by way of maintenance payments...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 HMXCGRB0 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_M32_CGRB - Prepare evaluation
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: G_LIST = List
Selection Text: SL_PAYID = Payment ID
Selection Text: SL_PAYTY = Type of payment
Title: Maintenance payments: beneficiaries
Text Symbol: 001 = Type payment
Text Symbol: 002 = Beneficiary name
Text Symbol: 003 = Pension amount
Text Symbol: 004 = Beneficiary signature
Text Symbol: L01 = List types
Text Symbol: L02 = Special payroll
Text Symbol: T01 = Overview generated receipts
Text Symbol: T02 = Date: &1
Text Symbol: X99 = Off-cycle run
INCLUDE RPCGPD00.
INCLUDE PCGPDMX0.
No SAP DATABASE tables are accessed within this REPORT code!
HR_MX_SEL_MOLGA CALL FUNCTION 'HR_MX_SEL_MOLGA' EXPORTING PERSNR = PERNR-PERNR * MOLGA = 32 BEGDA = SEL_BEGDA ENDDA = SEL_ENDDA EXCEPTIONS NOT_FOUND = 4.
RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING PP0002 = P0002 MOLGA = T500P-MOLGA LANGU = SY-LANGU FORMAT = '01' IMPORTING EDIT_NAME = PERSON-ENAME.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING ENTRY = RGDIR IMPORTING CALCD = CALCD EXCEPTIONS OTHERS = 0.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = PRGNM I_INTERNAL_TABNAME = ITEMNM I_INCLNAME = INCNM CHANGING CT_FIELDCAT = FIELDCAT[].
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = PRGNM I_INTERNAL_TABNAME = ITBNM I_INCLNAME = INCNM CHANGING CT_FIELDCAT = FIELDCAT[].
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = it_comment.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "YVHAHRK063250 EXPORTING I_CALLBACK_PROGRAM = PRGNM I_CALLBACK_PF_STATUS_SET = STATN I_CALLBACK_USER_COMMAND = UCMDN I_CALLBACK_TOP_OF_PAGE = const_top_form IS_LAYOUT = i_layout IT_FIELDCAT = FIELDCAT TABLES T_OUTTAB = OUTPUTTAB EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.