SAP Reports / Programs | Payroll(PY) SAP PY

RPCNETH2 SAP ABAP Report - Report on maternity pay recipients by quarter - 2009







RPCNETH2 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 RPCNETH2 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M21_RPCNETH2 - Quarterly TGYS report 2009


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RPCNETH2. "Basic submit
SUBMIT RPCNETH2 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCNETH2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_UXDIR = Host directory
Selection Text: P_TXTNAM = File name
Selection Text: P_TEST = Test
Selection Text: P_TBKIF = Employer (SI paying office)
Selection Text: P_JEL = Report maternity pay
Selection Text: P_ISTXT = Download to text file
Selection Text: P_ISNEV = Display employee's name
Selection Text: P_HOMERO = Display statuses?
Selection Text: P_FLAG = Save
Selection Text: P_DIR = Local directory
Selection Text: P_DEL = Delete report
Selection Text: P_CODPAG = Character set code
Title: Report on maternity pay recipients by quarter - 2009
Text Symbol: UNX = Host file
Text Symbol: TXT = Download
Text Symbol: TST = Save report
Text Symbol: TBK = Employer (SI paying office)
Text Symbol: T08 = 2. KSH code:
Text Symbol: T06 = 1. Health insurance record number:
Text Symbol: T02 = quarter
Text Symbol: T01 = Report on child care pay recipients
Text Symbol: NDA = There is no mat.pay recpt in the given per.
Text Symbol: LST = List
Text Symbol: LIS = List only
Text Symbol: HOM = Display statuses
Text Symbol: DWL = Download file
Text Symbol: DOS = Local file
Text Symbol: DEL = Report / delete
Text Symbol: 001 = . person - process


INCLUDES used within this REPORT RPCNETH2

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = molga_hu * BEGDA = * ENDDA = IMPORTING waers = penznem EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

STRING_CONCATENATE * CALL FUNCTION 'STRING_CONCATENATE' * EXPORTING * string1 = dir * string2 = '/' * IMPORTING * string = filename.

STRING_CONCATENATE * CALL FUNCTION 'STRING_CONCATENATE' * EXPORTING * string1 = filename * string2 = 'rpcgedh0.test'

WS_QUERY * CALL FUNCTION 'WS_QUERY' * EXPORTING ** ENVIRONMENT = ' ' * filename = dir * query = 'DE' ** WINID = ' ' * IMPORTING * return = sts * EXCEPTIONS * inv_query = 1 * no_batch = 2 * frontend_error = 3 * OTHERS = 4.

HR_HU_SZEMELY_NAPTAR_TORTENET CALL FUNCTION 'HR_HU_SZEMELY_NAPTAR_TORTENET' EXPORTING aktper = aktper TABLES pcale = pcale pchis = pchis EXCEPTIONS OTHERS = 1.

HR_HU_TAVOLLET_KEZDETE CALL FUNCTION 'HR_HU_TAVOLLET_KEZDETE' EXPORTING pernr = pernr-pernr datum = p_tgys_datum IMPORTING true_begda = tgys-begda EXCEPTIONS no_begin = 1 OTHERS = 2.

HR_HU_UTOLSO_BELEPES CALL FUNCTION 'HR_HU_UTOLSO_BELEPES' EXPORTING per_nr = pernr ref_date = max_date IMPORTING last_hire = hired massn = $massn massg = $massg EXCEPTIONS not_found = 1 t5h4e_error = 2 p0041_begda = 3 p0041_future = 4 p0041_sequence = 5 OTHERS = 6.

HR_HU_CD_SELECT_REGULAR CALL FUNCTION 'HR_HU_CD_SELECT_REGULAR' TABLES in_rgdir = tmp_rgdir out_rgdir = rgdir EXCEPTIONS OTHERS = 1.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING lay_out = 1 head_line1 = header1 head_line2 = header2 basic_list_title = sy-title file_name = myreport foot_note1 = footnote1 foot_note2 = footnote2 * foot_note3 = footnote3 current_report = myreport list_level = list_level IMPORTING return_code = return_code TABLES data_tab = show_table fieldname_tab = fieldnames error_tab = errortab EXCEPTIONS print_problems = 5 OTHERS = 1.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING ** bin_filesize = bin_file_size ** CODEPAGE = ' ' * filename = file_name * filetype = 'ASC' * mode = ' ' ** WK1_N_FORMAT = ' ' ** WK1_N_SIZE = ' ' ** WK1_T_FORMAT = ' ' ** WK1_T_SIZE = ' ' ** IMPORTING ** FILELENGTH = * TABLES * data_tab = txt_data * EXCEPTIONS * file_open_error = 01 * file_write_error = 02 * invalid_type = 03 * no_batch = 04 * unknown_error = 05.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = $filename filetype = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' * CONFIRM_OVERWRITE = ' ' * NO_AUTH_CHECK = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * IMPORTING * FILELENGTH = TABLES data_tab = txt_data EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22 .

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = errortab EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' textline1 = text1 textline2 = text2 titel = 'Jelentés törlése'(t23) start_column = 25 start_row = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = text-t23 txt1 = 'Törlés végrehajtva.'(t24)

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = lv_mess.



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 RPCNETH2 or its description.