HMXCGRH0 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 and payroll accumulations 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 HMXCGRH0 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_CGRH - Garnishments 32
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: ORDERNUM = Internal schedule number
Title: Garnishment history
Text Symbol: P01 = Selection dates
Text Symbol: P02 = Start date
Text Symbol: P03 = End date
Text Symbol: PH0 = Maintenance payment history
Text Symbol: PH1 = Period from &1 to &2
Text Symbol: PT1 = Rec
Text Symbol: PT2 = Spec.
Text Symbol: PT3 = Corr
Text Symbol: SEL = Additional selections
No INCLUDES are used within this REPORT code!
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 = PN-BEGDA ENDDA = PN-ENDDA EXCEPTIONS NOT_FOUND = 4.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING ENTRY = RGDIR IMPORTING CALCD = CALCD EXCEPTIONS OTHERS = 1.
RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING PP0002 = P0002 MOLGA = T500P-MOLGA LANGU = SY-LANGU FORMAT = '01' IMPORTING EDIT_NAME = PERSON-NAME.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = TEXT-P01 IMPORTING RETURNCODE = RETURNCODE TABLES FIELDS = POP_FIELDS EXCEPTIONS ERROR_IN_FIELDS = 1 OTHERS = 2.
DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING DOMNAME = NAME VALUE = VALUE_LOCAL IMPORTING DD07V_WA = DD07V_WA EXCEPTIONS OTHERS = 1.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = l_repid I_INTERNAL_TABNAME = 'WA_GARN' * I_STRUCTURE_NAME = * I_CLIENT_NEVER_DISPLAY = 'X' I_INCLNAME = l_repid CHANGING CT_FIELDCAT = p_fcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
REUSE_ALV_HIERSEQ_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' * EXPORTING ** I_INTERFACE_CHECK = ' ' * I_CALLBACK_PROGRAM = l_repid * I_CALLBACK_PF_STATUS_SET = l_exit_status * I_CALLBACK_USER_COMMAND = l_exit_ucommand ** IS_LAYOUT = * IT_FIELDCAT = p_fcat ** IT_EXCLUDING = ** IT_SPECIAL_GROUPS = ** IT_SORT = ** IT_FILTER = ** IS_SEL_HIDE = ** I_SCREEN_START_COLUMN = 0 ** I_SCREEN_START_LINE = 0 ** I_SCREEN_END_COLUMN = 0 ** I_SCREEN_END_LINE = 0 ** I_DEFAULT = 'X' ** I_SAVE = ' ' ** IS_VARIANT = ' ' * IT_EVENTS = IT_EVENTS ** IT_EVENT_EXIT = * I_TABNAME_HEADER = 'GARN_HEADER' * I_TABNAME_ITEM = 'GARN' ** I_STRUCTURE_NAME_HEADER = ** I_STRUCTURE_NAME_ITEM = * IS_KEYINFO = p_keyinfo ** IS_PRINT = ** IS_REPREP_ID = ** IMPORTING ** E_EXIT_CAUSED_BY_CALLER = ** ES_EXIT_CAUSED_BY_USER = * TABLES * T_OUTTAB_HEADER = GARN_HEADER * T_OUTTAB_ITEM = GARN * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' "YVHAHRK063250 EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = l_repid I_CALLBACK_PF_STATUS_SET = l_exit_status I_CALLBACK_USER_COMMAND = l_exit_ucommand I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' * I_CALLBACK_HTML_TOP_OF_PAGE = * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = IS_LAYOUT = i_layout IT_FIELDCAT = p_fcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = GARN EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = it_comment * I_LOGO = * I_END_OF_LIST_GRID = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.