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

PC2CBDF1 SAP ABAP INCLUDE - Include PC2CBDF1







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


Text pool values


Title: Include PC2CBDF1


INCLUDES used within this REPORT PC2CBDF1

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:

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p_pernr IMPORTING molga = l_molga TABLES in_rgdir = l_rgdir_tab EXCEPTIONS no_record_found = 1 OTHERS = 2.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = clusterid_cn employeenumber = p_pernr sequencenumber = l_rgdir-seqnr * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' * CHECK_READ_AUTHORITY = 'X' * FILTER_CUMULATIONS = 'X' * CLIENT = * IMPORTING * VERSION_NUMBER_PAYVN = * VERSION_NUMBER_PCL2 = CHANGING payroll_result = p_result_cn EXCEPTIONS * ILLEGAL_ISOCODE_OR_CLUSTERID = 1 * ERROR_GENERATING_IMPORT = 2 * IMPORT_MISMATCH_ERROR = 3 * SUBPOOL_DIR_FULL = 4 * NO_READ_AUTHORITY = 5 * NO_RECORD_FOUND = 6 * VERSIONS_DO_NOT_MATCH = 7 OTHERS = 1.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'CNDYT' struc_content = pme77 IMPORTING back = l_daytp EXCEPTIONS OTHERS = 1.

RP_GET_HIRE_DATE CALL FUNCTION 'RP_GET_HIRE_DATE' EXPORTING persnr = p_pernr check_infotypes = '0041' datumsart = l_daytp * STATUS2 = '3' * P0016_OPTIONEN = ' ' IMPORTING hiredate = p_entry_date.

HR_CN_CHINESE_NAME CALL FUNCTION 'HR_CN_CHINESE_NAME' EXPORTING pp0002 = p0002 pp0182 = p0182 IMPORTING cname = p_ename retcode = l_retcode.

EXTENDED_AUTH_CHECK_FOR_REPS CALL FUNCTION 'EXTENDED_AUTH_CHECK_FOR_REPS' EXPORTING reportname = p_rpcalc IMPORTING returncode = lv_rc.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_rpt_summary-repid i_callback_pf_status_set = 'ALV_EVENT_PF_STATUS' i_callback_user_command = 'ALV_EVENT_USER_COMMAND' is_layout = l_layout_tab it_fieldcat = l_fieldcat_tab i_save = 'A' is_variant = l_variant it_event_exit = l_exit_tab it_events = l_event_tab TABLES t_outtab = p_psi_tab EXCEPTIONS program_error = 1 OTHERS = 2.

HR_COUNTRYGROUPING_GET CALL FUNCTION 'HR_COUNTRYGROUPING_GET' EXPORTING pernr = p_pernr begda = p_begda endda = p_endda IMPORTING molga = l_molga EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_event_tab.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = 'ENJOYSAP_LOGO' it_list_commentary = l_comment_tab.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'CONAR' tabname = 'T7CN25' IMPORTING select_value = p_conar TABLES fields = l_help_field_tab valuetab = l_helptab. "#EC *

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'CONBR' tabname = 'T7CN24' IMPORTING select_value = p_conbr TABLES fields = l_help_field_tab valuetab = l_helptab.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'CONLV' tabname = 'T7CN23' IMPORTING select_value = p_conlv TABLES fields = l_help_field_tab valuetab = l_helptab.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'CHRSN' tabname = 'T7CN1A' IMPORTING select_value = p_chrsn TABLES fields = l_help_field_tab valuetab = l_helptab.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = l_dyfield_tab EXCEPTIONS invalid_dynprofield = 4.

EXTENDED_AUTH_CHECK_FOR_REPS CALL FUNCTION 'EXTENDED_AUTH_CHECK_FOR_REPS' EXPORTING reportname = g_rpt_summary-rpcalc IMPORTING returncode = lv_rc.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = 'A' * it_default_fieldcat = IMPORTING e_exit = l_exit es_variant = ls_variant EXCEPTIONS not_found = 2.



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