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

PLRT0TW2 SAP ABAP INCLUDE - Includes of HTWLRT00







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


Text pool values


Title: Includes of HTWLRT00


INCLUDES used within this REPORT PLRT0TW2

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_EVALUATE_TIME_PERIOD * CALL FUNCTION 'HR_EVALUATE_TIME_PERIOD' * EXPORTING * in_pernr = pernr-pernr * in_perul = $rule ** IN_BEGDA = '18000101' * in_endda = $endda ** IN_AUTHO = 'X' * IMPORTING * out_noyrs = $yy * out_nomns = $mm * out_nodys = $dd * EXCEPTIONS * no_authorization = 1 * pernr_does_not_exist = 2 * no_relevant_data_found = 3 * calculation_rule_not_found = 4 * valuation_pattern_not_found = 5 * valuation_rule_not_found = 6 * rounding_rule_not_found = 7 * infotype_selection_not_found = 8 * infotype_selection_incomplete = 9 * unknown_infotype = 10 * begin_date_greater_end_date = 11 * unknown_error = 12 * OTHERS = 13.

HR_SEN_CALCULATE_COMPLETE CALL FUNCTION 'HR_SEN_CALCULATE_COMPLETE' EXPORTING id_pernr = pernr-pernr * ID_MOLGA = id_proce = $rule * ID_PSTEP = * ID_SEL_DATE = SY-DATUM * IR_GPCONTEXT = * ID_GPVAL = * ID_CALTY = ID_BEGDA = '18000101' ID_ENDDA = $endda * IS_DURATION = * ID_PROTO = * IT_PSTEP_TSPST = IMPORTING * ED_DATE = es_duration = duration EXCEPTIONS wrong_import_parameter = 1 wrong_calculation_type = 2 process_not_found = 3 process_pstep_not_found = 4 no_result_for_calty = 5 error_of_other_functions = 6 OTHERS = 7 .

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = fnam tabname = tnam titel = title IMPORTING select_value = chd_value TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = rep_name dynumb = dynumb TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4 EXCEPTIONS OTHERS = 1.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space * tables * error = error_int EXCEPTIONS invalid_linesize = 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 PLRT0TW2 or its description.