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
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.
Title: Include EAM_TASKLIST_UNITTEST_SETUP
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EAM_TASKLIST_UNITTEST_SETUP - Include EAM_TASKLIST_UNITTEST_SETUP EAM_TASKLIST_UNITTEST_READ - Unittest for CL_EAM_TASKLIST - Read EAM_TASKLIST_UNITTEST_HELPER_T - Unittest for CL_EAM_TASKLIST - Text EAM_TASKLIST_UNITTEST_HELPER - Unittest for CL_EAM_TASKLIST - Update EAM_TASKLIST_UNITTEST_CREATE - Unittest for CL_EAM_TASKLIST - Read EAM_ORDER_SEQ - Sequence of Access to Order Data