SAP Reports / Programs | Payroll | Taiwan(PY-TW) SAP PY

PCTDCTW2 SAP ABAP INCLUDE - Subroutine for HTWCTDC0







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


Text pool values


Title: Subroutine for HTWCTDC0


INCLUDES used within this REPORT PCTDCTW2

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:

RP_OPTIONS_INTO_STRING CALL FUNCTION 'RP_OPTIONS_INTO_STRING' EXPORTING max_chosen_number = 85 * delimiter_sign = '/' text_title = text-005 text_left = text-006 text_right = text-007 status = 'ORDER' TABLES text_symbol_relation_tab = lt_text_symbol_relation CHANGING string_value = p_fdstr EXCEPTIONS table_string_inconsistency = 1 unknown_status = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = iv_fielditem-struname CHANGING ct_fieldcat = lt_tmp_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = iv_fielditem-txt_struname CHANGING ct_fieldcat = lt_tmp_fieldcat[].

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = iv_categoryid it_fieldcat = it_fieldcat i_save = 'A' is_variant = lv_disvar is_layout = lv_layout i_rowmark = 'X' is_pushbuttons = iv_pushbuttons EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = iv_node_key i_node_txt = iv_node_txt i_categ_id = iv_categoryid IMPORTING e_node_key = cv_node_key EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = iv_node_key i_row_data = iv_row_data.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = lv_display_profile EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.

HR_PAL_LOG_REFRESH CALL FUNCTION 'HR_PAL_LOG_REFRESH' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = iv_categoryid it_fieldcat = it_fieldcat i_with_msg_fields = 'X' i_msg_text_pos = 4 i_icon_ltext_pos = 5 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = iv_node_key i_msgid = is_log_data-msgid i_msgty = is_log_data-msgty i_msgno = is_log_data-msgno i_msgv1 = is_log_data-msgv1 i_msgv2 = is_log_data-msgv2 i_msgv3 = is_log_data-msgv3 i_msgv4 = is_log_data-msgv4 i_context = is_log_data EXCEPTIONS program_error = 1 OTHERS = 2.

LVC_TRANSFER_FROM_SLIS CALL FUNCTION 'LVC_TRANSFER_FROM_SLIS' EXPORTING it_fieldcat_alv = it_fieldcat IMPORTING et_fieldcat_lvc = lt_fieldcat TABLES it_data = it_data EXCEPTIONS it_data_missing = 1 OTHERS = 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 PCTDCTW2 or its description.