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

PCPTXTWS_ALV SAP ABAP INCLUDE - Include PCPTXTWS







PCPTXTWS_ALV 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 PCPTXTWS_ALV 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 PCPTXTWS_ALV. "Basic submit
SUBMIT PCPTXTWS_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT PCPTXTWS_ALV 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 PCPTXTWS


INCLUDES used within this REPORT PCPTXTWS_ALV

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:

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = 'TN' employeenumber = pernr-pernr sequencenumber = tab_rgdir-seqnr * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' * CHECK_READ_AUTHORITY = 'X' * IMPORTING * VERSION_NUMBER_PAYVN = * VERSION_NUMBER_PCL2 = CHANGING payroll_result = result 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 = 8 .

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = taxform-bukrs * LANGUAGE = SY-LANGU IMPORTING comp_name = xhrca_company-comp_name address = t_sadr-adrnr EXCEPTIONS not_found = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = addr1_sel IMPORTING sadr = t_sadr EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.

HR_APPEND_ERROR_LIST * CALL FUNCTION 'HR_APPEND_ERROR_LIST' * EXPORTING * pernr = $pernr * arbgb = $arbgb * msgty = $type * msgno = $msgno * msgv1 = $msgv1 * msgv2 = $msgv2 * msgv3 = $msgv3 * msgv4 = $msgv4 * EXCEPTIONS * OTHERS = 1.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_pernr = $pernr i_msgid = $arbgb i_msgty = $type i_msgno = $msgno i_msgv1 = lv_msgv1 i_msgv2 = lv_msgv2 i_msgv3 = lv_msgv3 i_msgv4 = lv_msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST' EXCEPTIONS OTHERS = 1.

HR_DISPLAY_ERROR_LIST * CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' * EXPORTING * no_popup = 'X' * no_print = space ** no_img = space ** linesize = sy-linsz ** tables ** error = * EXCEPTIONS * invalid_linesize = 1 * OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' * EXPORTING * I_S_DISPLAY_PROFILE = * I_S_FLAT_PROFILE = * EXCEPTIONS * PROGRAM_ERROR = 1 * NO_LOGS = 2 * OTHERS = 3 .



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