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

EAM_TASKLIST_UNITTEST_SETUP SAP ABAP INCLUDE - Include EAM_TASKLIST_UNITTEST_SETUP







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


INCLUDES used within this REPORT EAM_TASKLIST_UNITTEST_SETUP

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:

EAM_TASKLIST_GET_LIST CALL FUNCTION 'EAM_TASKLIST_GET_LIST' TABLES it_ranges = lt_ranges et_result = lt_tl_result et_return = lt_return.

EAM_TASKLIST_CREATE CALL FUNCTION 'EAM_TASKLIST_CREATE' EXPORTING is_header = ls_header iv_date = sy-datum iv_profile = space IMPORTING ev_plnnr = lv_plnnr ev_plnal = lv_plnal TABLES it_operations = lt_opr_ins it_prts = lt_prt_ins it_spack_lines = lt_spack_lines it_spack_outlines = lt_spack_outlines it_text = lt_text it_text_lines = lt_text_lines et_return = lt_return.

EAM_TASKLIST_POST CALL FUNCTION 'EAM_TASKLIST_POST' EXPORTING iv_plnty = lv_plnty iv_plnnr = lv_plnnr IMPORTING et_return = lt_return.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = abap_true.

BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

EAM_TASKLIST_CREATE CALL FUNCTION 'EAM_TASKLIST_CREATE' EXPORTING is_header = ls_header iv_date = sy-datum iv_profile = space IMPORTING ev_plnnr = lv_plnnr_l2 ev_plnal = lv_plnal TABLES it_operations = lt_oprs et_return = lt_return.

EAM_TASKLIST_POST CALL FUNCTION 'EAM_TASKLIST_POST' EXPORTING iv_plnty = lv_plnty iv_plnnr = lv_plnnr_l2 IMPORTING et_return = lt_return.

EAM_TASKLIST_CREATE CALL FUNCTION 'EAM_TASKLIST_CREATE' EXPORTING is_header = ls_header iv_date = sy-datum iv_profile = space IMPORTING ev_plnnr = lv_plnnr_l1 ev_plnal = lv_plnal TABLES it_operations = lt_oprs et_return = lt_return.

EAM_TASKLIST_POST * CALL FUNCTION 'EAM_TASKLIST_POST' * EXPORTING * iv_plnty = lv_plnty * iv_plnnr = lv_plnnr_l1 * IMPORTING * et_return = lt_return.

BAPI_TRANSACTION_COMMIT * CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' * EXPORTING * wait = abap_true.

BAPI_TRANSACTION_ROLLBACK * CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

EAM_TASKLIST_POST CALL FUNCTION 'EAM_TASKLIST_POST' EXPORTING iv_plnty = lv_plnty iv_plnnr = lv_plnnr_l1 IMPORTING et_return = lt_return.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = abap_true.

BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

RM_KOKRS_TO_PLANT_FIND CALL FUNCTION 'RM_KOKRS_TO_PLANT_FIND' EXPORTING werks = lv_werks IMPORTING tka01_exp = ls_tka01 compcode = cs_tst_obj-company_code e_kokrs = cs_tst_obj-business_area EXCEPTIONS bukrs_not_found = 1 kokrs_not_found = 2 OTHERS = 3.

CR_WORKSTATION_READ_ROUTING CALL FUNCTION 'CR_WORKSTATION_READ_ROUTING' EXPORTING arbpl = iv_wrkcntr date = iv_date plnty = iv_plnty werks = iv_plant IMPORTING works = ls_werks EXCEPTIONS not_found = 1 type_not_allowed = 2 wrong_parameters = 3 OTHERS = 4.

CR_WORKSTATION_READ_ROUTING CALL FUNCTION 'CR_WORKSTATION_READ_ROUTING' EXPORTING * ARBPL = ' ' * DATE = SY-DATUM id = lv_objid werks = cs_tst_obj-plan_plant IMPORTING works = ls_werks EXCEPTIONS not_found = 1 type_not_allowed = 2 wrong_parameters = 3 OTHERS = 4.



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