SAP Reports / Programs | Payroll | China(PY-CN) SAP PY

PC2TXCN3 SAP ABAP INCLUDE - CNTAX RPT: Office integration subroutin







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


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 PC2TXCN3. "Basic submit
SUBMIT PC2TXCN3 AND RETURN. "Return to original report after report execution complete
SUBMIT PC2TXCN3 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: CNTAX RPT: Office integration subroutin


INCLUDES used within this REPORT PC2TXCN3

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_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 * E_INTERFACE_TYPE = .

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING I_NAME = P_FORMNAME IMPORTING E_FUNCNAME = FM_NAME * E_INTERFACE_TYPE = .

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PROGRESS_TEXT.

HR_CN_CHOOSE_FORM CALL FUNCTION 'HR_CN_CHOOSE_FORM' EXPORTING FORM_AREA = 'TAX' IMPORTING FORM_ID = FORM_ID.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PROGRESS_TEXT.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PROGRESS_TEXT.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING FILE = L_CONTENT_FILENAME * IMPORTING * RETURN = .

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PROGRESS_TEXT.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'PC280001' IMPORTING is_implemented = is_implemented CHANGING instance = sap_exit.

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * CODEPAGE = '8400' * FILENAME = CONTENT_FILENAME * FILETYPE = 'DAT' * TABLES * DATA_TAB = DOWNLOAD_TAX * FIELDNAMES = DOWNLOAD_FIELDNAMES * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * GUI_REFUSE_FILETRANSFER = 8 * OTHERS = 9.

HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING NON_UNI_CODE = 'B5F7' UTF16_CODE = '8983' * UTF8_CODE = '' IMPORTING CHINESE_CHARACTER = C1.

HR_CN_GET_CHINESE CALL FUNCTION 'HR_CN_GET_CHINESE' EXPORTING NON_UNI_CODE = 'D5FB' UTF16_CODE = '6DD5' * 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.

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)



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