HGRCNEG0 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 all the negative payable amounts for each employee in 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 HGRCNEG0 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_NEG0 - Negative Pays report
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_SEQNR = Company Data Sequential No.
Selection Text: P_YMFR = D .
Selection Text: P_YMTO = D .
Title: Negative pays report
Text Symbol: C02 = Employee's name
Text Symbol: C04 = Negative amount
Text Symbol: H02 = Negative pays report
Text Symbol: S01 = Page:
INCLUDE HGRUCMP0.
INCLUDE HGRUINS0.
INCLUDE HGRUACT0.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = w_repid i_internal_tabname = itabname i_inclname = w_repid CHANGING ct_fieldcat = i_fieldcat_alv.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = i_events.
REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * i_background_id = 'ALV_BACKGROUND' " i_callback_program = w_variant-report i_default = 'X' " i_save = 'A' * is_variant = w_variant is_layout = w_layout " it_fieldcat = i_fieldcat_alv it_sort = i_sort it_events = i_events * i_callback_top_of_page = 'TOP_OF_PAGE' is_print = w_print " TABLES t_outtab = W_MINUS.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = p_endda IMPORTING last_day_of_month = p_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 = 'R' mode = 'P' fmper = period_fm toper = period_to permo = lv_permo * BEGDA = * ENDDA = * INPER = p_inper * BONDT = APER-BONDT * PAYTY = APER-PAYTY * PAYID = APER-PAYID * TPRUN = ACURR = a_curr ACUDT = a_currdt TABLES all_runs = p_evp ** evp_runs = p_evp rtdet = lt_rtgr.
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 HGRCNEG0 or its description.