SAP Reports / Programs | Payroll | The Netherlands | Reporting(PY-NL-RP) SAP PY

RPCLASN0 SAP ABAP Report - Wage Return: Creating Files (Composer)







RPCLASN0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to generate a file in ...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 RPCLASN0 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_M05_CLAS - Create Wage Return File


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 RPCLASN0. "Basic submit
SUBMIT RPCLASN0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCLASN0 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_B2AID = B2A Manager: ID
Selection Text: P_B2A_JP = D .
Selection Text: P_B2A_PJ = D .
Selection Text: P_B2A_PM = D .
Selection Text: P_CF_B2A = B2A Manager Call
Selection Text: P_DOWN = D .
Selection Text: P_GLBID = B2A Manager: Globale ID
Selection Text: P_PATH = Path for PC Download
Selection Text: P_PROTL = D .
Selection Text: P_SIMUL = Test (No Status/TemSe Update)
Selection Text: P_ZIP = D .
Selection Text: SO_JUPER = D .
Title: Wage Return: Creating Files (Composer)
Text Symbol: 001 = Employer
Text Symbol: 003 = Test Mode
Text Symbol: 004 = Download
Text Symbol: 005 = Legal Persons with New Return
Text Symbol: 006 = B2A Manager Interface
Text Symbol: P09 = Selected:
Text Symbol: P10 = Processed:
Text Symbol: P11 = Rejected:


INCLUDES used within this REPORT RPCLASN0

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:

HR_NL_LA_CREATE_STATUS_VALTAB CALL FUNCTION 'HR_NL_LA_CREATE_STATUS_VALTAB' EXPORTING i_status = '01' "new TABLES t_valtab = gt_juper_value_tab[] EXCEPTIONS OTHERS = 0.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = g_pal_stcnt i_msgid = 'HRPAYNLLA' i_msgty = wa_prot-msgty i_msgno = wa_prot-msgno i_msgv1 = wa_prot-msgv1 i_msgv2 = wa_prot-msgv2 i_msgv3 = wa_prot-msgv3 i_msgv4 = wa_prot-msgv4 EXCEPTIONS OTHERS = 0.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = g_pal_stcnt i_msgid = 'HRPAYNLLA' i_msgty = wa_prot-msgty i_msgno = wa_prot-msgno i_msgv1 = wa_prot-msgv1 i_msgv2 = wa_prot-msgv2 i_msgv3 = wa_prot-msgv3 i_msgv4 = wa_prot-msgv4 EXCEPTIONS OTHERS = 0.

HR_NL_LA_CREATE_STATUS_VALTAB CALL FUNCTION 'HR_NL_LA_CREATE_STATUS_VALTAB' EXPORTING i_status = '01' "new TABLES t_valtab = gt_juper_value_tab[] EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'JUPER' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = 'SO_JUPER-LOW' value_org = 'S' window_title = text-005 TABLES * value_tab = gt_juper_value_tab value_tab = lt_small_juper_value_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

ENQUEUE_E_NL_LA06 CALL FUNCTION 'ENQUEUE_E_NL_LA06' EXPORTING * MODE_P05T_AE_ADM_STAT = 'X' "? juper = p_juper EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

HR_NL_LA_GET_REPER_PERMO CALL FUNCTION 'HR_NL_LA_GET_REPER_PERMO' EXPORTING i_juper = p_juper IMPORTING e_permo = l_permo EXCEPTIONS custimizing_of_t5n14 = 1 conversion_error = 2 OTHERS = 3.

HR_NL_LA_GET_PERIOD_INTERVAL CALL FUNCTION 'HR_NL_LA_GET_PERIOD_INTERVAL' " " EXPORTING " " i_permo = l_permo " " i_pabrj = p_laipj " " i_pabrp = p_laipm " " IMPORTING " " * E_BEGDA = " " e_endda = l_stichtag " " EXCEPTIONS " " read_error_t549q = 1 " " OTHERS = 2. "XAWKM03385153

HR_NL_LA_GET_FILENAME * CALL FUNCTION 'HR_NL_LA_GET_FILENAME' * EXPORTING * i_juper = l_import-juper * i_laipj = p_laipj * i_laipm = p_laipm * i_path = l_path_string "p_path * IMPORTING * e_download_fname = l_import-fname * EXCEPTIONS * error_conv_to_reper = 1 * error_get_lhnr = 2 * OTHERS = 3.

RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = 'HRNLLA' " Bereichsname (Erz.Programm)

HR_NL_LA_GET_FILENAME CALL FUNCTION 'HR_NL_LA_GET_FILENAME' EXPORTING i_juper = l_import-juper i_laipj = p_laipj i_laipm = p_laipm i_path = l_path_string "p_path i_anprj = l_import-anprj IMPORTING e_download_fname = l_import-fname EXCEPTIONS error_conv_to_reper = 1 error_get_lhnr = 2 OTHERS = 3.

RSTS_REMOVE_OBJECT CALL FUNCTION 'RSTS_REMOVE_OBJECT' EXPORTING name = l_import-tsobj EXCEPTIONS OTHERS = 0.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.

HR_NL_LA_ADM_STATUS_TRANS CALL FUNCTION 'HR_NL_LA_ADM_STATUS_TRANS' EXPORTING i_juper = p_juper i_laipj = p_laipj i_laipm = p_laipm i_report = sy-repid i_status_new = '03' "ready to send i_anprj = p_anprj "LLEPR0K018151 EXCEPTIONS error = 1 OTHERS = 2.

DEQUEUE_E_NL_LA06 CALL FUNCTION 'DEQUEUE_E_NL_LA06' EXPORTING * MODE_P05T_AE_ADM_STAT = 'X' juper = p_juper.

HR_GET_VALID_PERIOD_OF_APPL CALL FUNCTION 'HR_GET_VALID_PERIOD_OF_APPL' EXPORTING i_molga = c_molga i_appl = c_appl_la06 IMPORTING es_interval_subappl = l_t596d.

HR_GET_VALID_PERIOD_OF_APPL CALL FUNCTION 'HR_GET_VALID_PERIOD_OF_APPL' EXPORTING i_molga = c_molga i_appl = c_appl_aela IMPORTING es_interval_subappl = l_t596d.



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