PCMANADBR2 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 PCMANADBR2 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr endda = pn-endda IMPORTING entrydate = lv_entry_date TABLES entry_dates = l_phifi EXCEPTIONS entry_date_not_found = 1 OTHERS = 2.
HR_LEAVING_DATE CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = pernr-pernr begda = lv_entry_date endda = lv_leaving_date_endda IMPORTING leavingdate = lv_leaving_date TABLES leaving_dates = l_phifi EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
J_1B_GET_REC_ACC CALL FUNCTION 'J_1B_GET_REC_ACC' DESTINATION l_destination TABLES t_outtab = lt_rec_acc_in[].
HRBR_READ_T7BRCB CALL FUNCTION 'HRBR_READ_T7BRCB' EXPORTING plans = p0001-plans date = p_s_pay-evp-fpend IMPORTING wa_t7brcb = l_s_t7brcb EXCEPTIONS no_entry_found = 1 OTHERS = 2.
HR_BR_SFM_DEP_ELIGIBLE CALL FUNCTION 'HR_BR_SFM_DEP_ELIGIBLE' EXPORTING iv_ee_bith_date = ls_p0002-gbdat iv_gender = ls_p0002-gesch iv_retired = ls_p0398-retfl iv_empid = ls_p0398-empid iv_endda = p_s_pay-evp-fpend is_p0021 = ls_p0021 is_p0397 = ls_p0397 IMPORTING ev_dep_eligible = lv_dep_eligible EXCEPTIONS dependent_age_not_valid = 1 employee_age_not_valid = 2 OTHERS = 3.
HR_BR_DEPENDENTES CALL FUNCTION 'HR_BR_DEPENDENTES' EXPORTING p_pdate = p_s_pay-evp-fpend begda = p_s_pay-evp-fpbeg endda = p_s_pay-evp-fpend IMPORTING irrf_dependentes = l_dep_ir TABLES p_p0021 = p0021 p_p0397 = p0397 dep = lt_dep_dummy.
ALE_BAPI_GET_UNIQUE_RECEIVER CALL FUNCTION 'ALE_BAPI_GET_UNIQUE_RECEIVER' EXPORTING object = 'BUS6004' method = 'CHECK' IMPORTING receiver = l_receiver TABLES filterobjects_values = l_filterobject_values EXCEPTIONS error_in_filterobjects = 1 error_in_ale_customizing = 2 not_unique_receiver = 3 no_rfc_destination_maintained = 4 OTHERS = 5.
HRCA_UNIQUE_RECEIVER_COMPCODE CALL FUNCTION 'HRCA_UNIQUE_RECEIVER_COMPCODE' EXPORTING object = 'BUS6004' method = 'CHECK' comp_code = p_company_code IMPORTING logical_system = l_receiver-log_sys rfc_destination = l_receiver-rfc_dest EXCEPTIONS error_in_filterobjects = 1 error_in_ale_customizing = 2 not_unique_receiver = 3 no_rfc_destination_maintained = 4 other_error = 5 OTHERS = 6.
HR_BR_ADD_MONTH_TO_DATE CALL FUNCTION 'HR_BR_ADD_MONTH_TO_DATE' EXPORTING dmm_datin = lv_date dmm_count = '1' dmm_oper = '+' dmm_pos = space IMPORTING dmm_daout = lv_date EXCEPTIONS unknown = 1 OTHERS = 2.
HR_BR_GET_CONSTANT CALL FUNCTION 'HR_BR_GET_CONSTANT' EXPORTING p_constant = p_constant p_date = p_date sw_prot = p_sw_prot IMPORTING p_value = p_manad EXCEPTIONS constant_not_found = 1 OTHERS = 2.
RP_TS_CREATE_OBJECT CALL FUNCTION 'RP_TS_CREATE_OBJECT' EXPORTING objkn = cs_temse_object-short_name objnr = cs_temse_object-number empfg = cs_temse_object-receiver_id versn = cs_temse_object-info-versn ownnr = '1' "enqlock = 'E' IMPORTING tsobj = cs_temse_object-full_name objhd = cv_handle EXCEptions fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 no_object = 5 no_permission = 6 fb_nr_no_object = 7 fb_nr_not_intern = 8 fb_nr_not_found = 9 fb_object_already_exist = 10 fb_nr_overflow = 11 others = 12.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' DESTINATION cv_destination EXPORTING funcname = 'J_1B_GET_MANAD_BLOCKS_I_L' EXCEPTIONS function_not_exist = 1 OTHERS = 2.
J_1B_GET_MANAD_BLOCKS_I_L CALL FUNCTION 'J_1B_GET_MANAD_BLOCKS_I_L' DESTINATION pv_destination EXPORTING iv_file_name = p_output iv_record_type = pv_record_type iv_offset = pv_offset iv_max_records = gc_max_records_to_read TABLES et_i005 = cs_records_i_l-i005 et_i050 = cs_records_i_l-i050 et_i100 = cs_records_i_l-i100 et_i150 = cs_records_i_l-i150 et_i200 = cs_records_i_l-i200 et_i250 = cs_records_i_l-i250 et_l050 = cs_records_i_l-l050 et_l100 = cs_records_i_l-l100 et_l150 = cs_records_i_l-l150 et_l200 = cs_records_i_l-l200 et_l250 = cs_records_i_l-l250 et_l300 = cs_records_i_l-l300 et_l350 = cs_records_i_l-l350 et_l400 = cs_records_i_l-l400 et_l450 = cs_records_i_l-l450 et_l500 = cs_records_i_l-l500 et_l550 = cs_records_i_l-l550 et_l600 = cs_records_i_l-l600 et_l650 = cs_records_i_l-l650 et_l700 = cs_records_i_l-l700 et_l750 = cs_records_i_l-l750 et_l800 = cs_records_i_l-l800.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXPORTING fbhandle = cv_handle EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_other = 3 OTHERS = 4.
RSTS_OPEN_WL CALL FUNCTION 'RSTS_OPEN_WL' EXPORTING name = cs_temse_object-full_name own_fbhandle = 'X' enqlock = 'N' prom = 'I' IMPORTING fbhandle = cv_handle EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 no_object = 5 no_permission = 6 enq_foreign_lock = 7 enq_sys_fail = 8 enq_other = 9 OTHERS = 10.
RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' EXPORTING fbhandle = cv_handle TABLES datatab = t_temse EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.
HR_BR_APPEND_MESSAGE CALL FUNCTION 'HR_BR_APPEND_MESSAGE' EXPORTING MESSAGE_ID = 'HRPAYBR99' MESSAGE_TYPE = 'W' MESSAGE_NUMBER = '270' MESSAGE_VAR1 = lv_msgv1 MESSAGE_VAR2 = lv_msgv2 MESSAGE_VAR3 = lv_msgv3 MESSAGE_VAR4 = space MESSAGE_TLEVEL = 5.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pv_pernr endda = pv_endda IMPORTING entrydate = lv_hire_date EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = pv_pernr begda = lv_hire_date endda = lv_leaving_date_endda IMPORTING leavingdate = cv_fire_date EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
CD_REORG_RGDIR CALL FUNCTION 'CD_REORG_RGDIR' TABLES rgdir = ct_rgdir[].
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 PCMANADBR2 or its description.
PCMANADBR2 - documentation and ABAP source code PCMANADBR1 - documentation and ABAP source code PCMANADBR0 - documentation and ABAP source code PCMALUA0 - Include für RPCALCX0: Bsp. mögl. landesspezifischer Darlehensroutinen PCMALRU0 - Include für RPCALCX0: Bsp. mögl. landesspezifischer Darlehensroutinen PCMAGMX4_CE - PCMAGMX4CE