PCTXMCN2 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 PCTXMCN2 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.
Title: CNTAX RPT: Office integration subroutin
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING non_uni_code = 'B5F7' utf16_code = '8C03' "note 1280575,for Chinese "tiao" * UTF8_CODE = '' IMPORTING chinese_character = c1.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING non_uni_code = 'D5FB' utf16_code = '6574' "note 1280575,for Chinese "zheng" * UTF8_CODE = '' IMPORTING chinese_character = c2.
FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.
FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' * IMPORTING * E_RESULT = EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4 .
FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = p_formname IMPORTING e_funcname = fm_name.
HR_FEATURE_BACKTABLE CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = feature struc_content =
kind_of_error = kind_of_error TABLES back = back CHANGING status = status EXCEPTIONS * DUMMY = 1 "VLDAHRK039762 * ERROR_OPERATION = 2 "VLDAHRK039762 * NO_BACKVALUE = 3 "VLDAHRK039762 * FEATURE_NOT_GENERATED = 4 "VLDAHRK039762 * INVALID_SIGN_IN_FUNID = 5 "VLDAHRK039762 * TAB_IN_REPORT_FIELD_IN_PE03 = 6 "VLDAHRK039762 * OTHERS = 0. "VLDAL0K095544 (Checkman)
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = 'O ' "orgunit objid = p0001-orgeh begda = p0001-begda endda = p0001-endda reference_date = p0001-begda IMPORTING short_text = l_orgeh_short EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = 'K ' "cost center costcenter = p0001-kostl controllingarea = p0001-kokrs begda = p0001-begda endda = p0001-endda reference_date = p0001-begda langu = sy-langu IMPORTING costcenter_name = buff_ktext EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
CD_READ_DATE_RANGE * CALL FUNCTION 'CD_READ_DATE_RANGE' * EXPORTING * begda = pn-begda * endda = pn-endda * TABLES * rgdir = rgdir * out_rgdir = it_rgdir.
CD_READ_DATE_RANGE_WITH_PAYDT * CALL FUNCTION 'CD_READ_DATE_RANGE_WITH_PAYDT' * EXPORTING * begda = pn-begda * endda = pn-endda * TABLES * rgdir_in = rgdir * rgdir_out = it_rgdir.
CD_READ_DATE_RANGE_ACTUAL_NV CALL FUNCTION 'CD_READ_DATE_RANGE_ACTUAL_NV' EXPORTING begda = pn-begda endda = pn-endda TABLES rgdir_in = rgdir rgdir_out = it_rgdir.
HR_COPY_TBUFF_TO_BUFFER CALL FUNCTION 'HR_COPY_TBUFF_TO_BUFFER' EXPORTING clusterid = t500l-relid TABLES buffer = tbuff buffer_directory = buffer_dir EXCEPTIONS error_buffertab = 1 OTHERS = 2.
HR_IMPORT_RGDIR_FROM_PCLX CALL FUNCTION 'HR_IMPORT_RGDIR_FROM_PCLX' EXPORTING employee_number = employee_number cluster_id = t500l-relid TABLES import_rgdir = p_rgdir EXCEPTIONS no_results = 1 no_read_authority = 2 OTHERS = 3.
PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING clusterid = t500l-relid employeenumber = employee_number TABLES rgdir = p_rgdir imported_periods = p_results EXCEPTIONS import_error = 1 OTHERS = 2.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING non_uni_code = 'B9A4' utf16_code = '5DE5' utf8_code = 'E5B7A5' IMPORTING chinese_character = temp_c1.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING non_uni_code = 'D7CA' utf16_code = '8D44' utf8_code = 'E8B584' IMPORTING chinese_character = temp_c2.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING non_uni_code = 'BDB1' utf16_code = '5956' utf8_code = 'E5A596' IMPORTING chinese_character = temp_c1.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING non_uni_code = 'BDF0' utf16_code = '91D1' utf8_code = 'E98791' IMPORTING chinese_character = temp_c2.
CALL FUNCTION 'HR_CN_GET_CHINESE' "chinese character "Qi" EXPORTING non_uni_code = 'C6DA' utf16_code = '671F' utf8_code = 'E69C9F' IMPORTING chinese_character = temp_c1.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' "chinese character "Quan" EXPORTING non_uni_code = 'C8A8' utf16_code = '6743' utf8_code = 'E69D83' IMPORTING chinese_character = temp_c2.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' "chinese character "Nian" EXPORTING non_uni_code = 'C4EA' utf16_code = '5E74' utf8_code = 'E5B9B4' IMPORTING chinese_character = temp_c1.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' "chinese character "Jin" EXPORTING non_uni_code = 'BDF0' utf16_code = '91D1' utf8_code = 'E98791' IMPORTING chinese_character = temp_c2.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' "chinese character "Li" EXPORTING non_uni_code = 'C0EB' utf16_code = '79BB' utf8_code = 'E7A6BB' IMPORTING chinese_character = temp_c1.
HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' "chinese character "Zhi" EXPORTING non_uni_code = 'D6B0' utf16_code = '804C' utf8_code = 'E8818C' IMPORTING chinese_character = temp_c2.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr IMPORTING entrydate = lv_hire_date TABLES entry_dates = lt_hire_events EXCEPTIONS OTHERS = 1.
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 PCTXMCN2 or its description.