SAP Reports / Programs | Plant Maintenance | Preventive Maintenance | Maintenance Task Lists(PM-PRM-TL) SAP PM

EAM_TASKLIST_UNITTEST_HELPER_T SAP ABAP INCLUDE - Unittest for CL_EAM_TASKLIST - Text







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


Text pool values


Title: Unittest for CL_EAM_TASKLIST - Text


INCLUDES used within this REPORT EAM_TASKLIST_UNITTEST_HELPER_T

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:

PMTL_GET_CPBT_CONTENT CALL FUNCTION 'PMTL_GET_CPBT_CONTENT' EXPORTING i_plnty = lv_plnty i_plnnr = lv_plnnr i_plnal = lv_plnal i_validity = lv_date IMPORTING et_plko = lt_plko et_plpo = lt_plpo et_plfh = lt_plfh et_srv_lines = lt_srv_lines et_srv_outlines = lt_srv_outlines EXCEPTIONS tasklist_not_found = 1 tasklist_locked = 2 OTHERS = 3.

TCA09_READ CALL FUNCTION 'TCA09_READ' EXPORTING plnaw = 'I' IMPORTING struct = ls_tca09 EXCEPTIONS no_entry = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = lv_text_id language = lv_langu name = lv_text_key object = lv_object IMPORTING header = ls_header TABLES lines = lt_text_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = lv_text_id language = sy-langu name = lv_text_key object = lv_object IMPORTING header = ls_header TABLES lines = lt_text_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING sap_code = ls_header-tdspras IMPORTING iso_code = ls_text-langu_iso EXCEPTIONS not_found = 1 OTHERS = 2.

LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING sap_code = iv_langu IMPORTING iso_code = ls_text-langu_iso EXCEPTIONS not_found = 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 EAM_TASKLIST_UNITTEST_HELPER_T or its description.