PCLPDAR2 is a standard ABAP INCLUDE 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 PCLPDAR2 into the relevant SAP transactions such as SE38 or SE80
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.
INCLUDE HARCALC0_C_T5F99K2_READER.
No SAP DATABASE tables are accessed within this REPORT code!
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = ldm_begda IMPORTING last_day_of_month = ldm_endda EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = wa_employer-bukrs * LANGUAGE = SY-LANGU IMPORTING comp_name = wa_employer-butxt * city = * country = * CURRENCY = * LANGU = * CHRT_ACCTS = * FY_VARIANT = * FI_MANAGEMENTAREA = * JURISDICTION = * RATE_DEVIATION = address = gbd_address TABLES appendix = gbd_appendix EXCEPTIONS not_found = 1 OTHERS = 2.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = gbd_address_selection * ADDRESS_GROUP = * READ_SADR_ONLY = ' ' * READ_TEXTS = ' ' IMPORTING address_value = gbd_address_data * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = * SADR = * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.
HR_READ_SCHEMA CALL FUNCTION 'HR_READ_SCHEMA' EXPORTING schema = p_schema TABLES table_schema = rap_table_schema table_schema_text = rap_table_schema_text EXCEPTIONS scheme_not_exists = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 0 text = pi_text.
HR_99S_APPCORRONDA CALL FUNCTION 'HR_99S_APPCORRONDA' EXPORTING p_molga = co_ar_molga p_cogrp = gc_corr_social_security p_corr_nr = gc_corr_limit_without_mopre P_val_date = pn-begda p_act_date = pn-begda p_simulation = abap_true IMPORTING p_aplicate = lv_limit_with_mopre.
HR_AR_SI_ANOTHER_EMPLOYER CALL FUNCTION 'HR_AR_SI_ANOTHER_EMPLOYER' EXPORTING iv_pernr = pernr-pernr iv_begda = pn-begda iv_endda = pn-endda CHANGING cv_new_tope = lv_value_tope.
GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING no_dialog = 'X' mode = 'CURRENT' IMPORTING out_parameters = of_pri_params.
OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = * ARCHIVE_PARAMS = * DEVICE = 'PRINTER' dialog = of_dialog form = of_formular * LANGUAGE = SY-LANGU options = of_options * MAIL_SENDER = * MAIL_RECIPIENT = * MAIL_APPL_OBJECT = * RAW_DATA_INTERFACE = '*' * SPONUMIV = IMPORTING * LANGUAGE = * NEW_ARCHIVE_PARAMS = RESULT = of_result EXCEPTIONS canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 mail_options = 6 archive_error = 7 invalid_fax_number = 8 more_params_needed_in_batch = 9 spool_error = 10 codepage = 11 OTHERS = 12 .
READ_FORM_ELEMENTS CALL FUNCTION 'READ_FORM_ELEMENTS' EXPORTING form = rf_form language = syst-langu TABLES elements = rf_itab EXCEPTIONS form = 1 unopened = 2 OTHERS = 3.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = wf_element function = 'SET' * type = 'BODY' window = wf_window * IMPORTING * PENDING_LINES = EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 OTHERS = 7.
CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' IMPORTING RESULT = cf_result * RDI_RESULT = * TABLES * OTFDATA = EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 send_error = 3 spool_error = 4 codepage = 5 OTHERS = 6 .
HR_PAL_FORMS_ROW_ADD CALL FUNCTION 'HR_PAL_FORMS_ROW_ADD' EXPORTING * i_node_key = i_name = l_pal_name i_form_type = 'OTF' i_text = l_foltxt i_rqid = l_rqid EXCEPTIONS OTHERS = 99.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING * ARCHIVE_INDEX = form = sf_form * LANGUAGE = ' ' * STARTPAGE = ' ' program = sy-repid * MAIL_APPL_OBJECT = * IMPORTING * LANGUAGE = EXCEPTIONS form = 1 format = 2 unended = 3 unopened = 4 unused = 5 spool_error = 6 codepage = 7 OTHERS = 8 .
END_FORM CALL FUNCTION 'END_FORM' * IMPORTING * RESULT = EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 spool_error = 3 codepage = 4 OTHERS = 5 .
H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant * dialog = g_dialog OPTIONS = l_itcpo EXCEPTIONS OTHERS = 99.
H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = l_if_data EXCEPTIONS OTHERS = 99.
HR_PAL_FORMS_ROW_ADD CALL FUNCTION 'HR_PAL_FORMS_ROW_ADD' EXPORTING * i_node_key = i_name = l_pal_name i_form_type = l_form_type i_text = l_foltxt i_rqid = l_rqid EXCEPTIONS OTHERS = 99.
call function 'HRAR_TERMINATION_DATA' exporting td_pernr = pernr-pernr changing td_hiring_date_i0041 = lv_hiring_date_i0041.
HRAR_TERMINATION_ANTIGUEDAD call function 'HRAR_TERMINATION_ANTIGUEDAD' exporting ta_hiring_date = lv_hiring_date_i0041 ta_firing_date = p_begda importing ta_anos_antiguedad = p_years_worked.
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 PCLPDAR2 or its description.