SAP Reports / Programs

SCMA_TASKLIST_SCHEDULE SAP ABAP Report - Report SCMA_TASKLIST_SCHEDULE







SCMA_TASKLIST_SCHEDULE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Task Scheduling in Schedule Manager Managed by Program This program allows you to generate task scheduling in the Schedule Manager that is managed by the program...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SCMA_TASKLIST_SCHEDULE 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 SCMA_TASKLIST_SCHEDULE. "Basic submit
SUBMIT SCMA_TASKLIST_SCHEDULE AND RETURN. "Return to original report after report execution complete
SUBMIT SCMA_TASKLIST_SCHEDULE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_TLIST = Task List
Title: Report SCMA_TASKLIST_SCHEDULE
Text Symbol: 025 = Time
Text Symbol: 026 = Release Jobs
Text Symbol: 027 = Text for Scheduling
Text Symbol: 028 = Scheduled Tasks
Text Symbol: 029 = Tasks That Were Not Scheduled
Text Symbol: 030 = Only in the Specified Task Group
Text Symbol: 031 = Grp #
Text Symbol: 032 = Task #
Text Symbol: 033 = Task Text
Text Symbol: 034 = The entire task list has been scheduled:
Text Symbol: 035 = Only tasks with relative start time were considered
Text Symbol: 036 = Day
Text Symbol: 037 = Offset
Text Symbol: 038 = Time
Text Symbol: 039 = One task group has been scheduled:
Text Symbol: 040 = Task List:
Text Symbol: 041 = Task Group
Text Symbol: 042 = Only This Group
Text Symbol: 043 = All Included Groups
Text Symbol: 070 = Name
Text Symbol: 071 = Value
Text Symbol: 024 = Date
Text Symbol: 001 = Several Tasks
Text Symbol: 002 = Entire Task List
Text Symbol: 003 = Task Group
Text Symbol: 004 = Group Number
Text Symbol: 005 = Individual Task
Text Symbol: 006 = Job
Text Symbol: 007 = Report
Text Symbol: 008 = Variant
Text Symbol: 009 = Flow Definition
Text Symbol: 010 = Name of Flow Definition
Text Symbol: 011 = Node Number of the Task
Text Symbol: 012 = Node Number
Text Symbol: 013 = Group and Task Numbers
Text Symbol: 014 = Number of the Task Group





Text Symbol: 015 = Task Number
Text Symbol: 016 = Where the task list contains the task more than once (for job/process definitn):
Text Symbol: 017 = nth Occurrence
Text Symbol: 018 = From nth Task Group
Text Symbol: 019 = In All Task Groups Included
Text Symbol: 020 = Use Schedule Manager Variable for Process Definitions
Text Symbol: 021 = Start Time and Job Release
Text Symbol: 022 = Immediately
Text Symbol: 023 = Later


INCLUDES used within this REPORT SCMA_TASKLIST_SCHEDULE

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:

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'TASKGROUP_NUMBER' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_taskgroup * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'REPORT' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_repnm * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'VARIANT' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_repnm * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'SEQUENCE' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_seqnm * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'NODE_ID' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_nodeid * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'TASKGROUP_NUMBER' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_taskgroup * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'TASK_NUMBER' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_taskgrouptasks * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'TASKGROUP_NUMBER' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_h_taskgroup * FIELD_TAB = return_tab = t_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

SCMA_TASKLIST_SCHEDULE CALL FUNCTION 'SCMA_TASKLIST_SCHEDULE' EXPORTING i_tasklist = p_tlist i_node_id = p_nodeid i_taskgroup_number = task_group i_task_number = p_tskno i_scma_report = p_repnm i_scma_variant = p_varnm i_scma_sequence = sequence i_occurrence = p_occurs i_group_only = group_only i_all_tasklist_tasks = p_tl_all i_all_taskgroup_tasks = p_tl_grp i_immediate_start = p_imm i_start_date = p_date i_start_time = p_time i_released = p_rel i_text = p_text TABLES it_tvarv = t_tvarv et_tasks_scheduled = t_scheduled et_tasks_not_scheduled = t_not_scheduled EXCEPTIONS tasklist_not_found = 1 taskgroup_not_found = 2 task_not_found = 3 task_not_schedulable = 4 task_not_scheduled = 5 report_not_found = 6 variant_not_found = 7 sequence_not_found = 8 scheduled_time_invalid = 9 OTHERS = 10.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = repid dynumb = dynnr * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' * DETERMINE_LOOP_INDEX = ' ' TABLES dynpfields = t_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

SCMA_TASKLIST_READ CALL FUNCTION 'SCMA_TASKLIST_READ' EXPORTING i_tasklist = p_tasklist * IMPORTING * ES_HEADER = TABLES et_tasklist = pt_tasklist et_tasklist_text = pt_tasklist_text et_taskgroup_empty = pt_taskgroup_empty EXCEPTIONS tasklist_not_qualified = 1 tasklist_not_found = 2 OTHERS = 3 .

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = l_tabname lfieldname = l_fieldname importing dfies_wa = ls_dfies exceptions not_found = 1 internal_error = 2 others = 3.

MONI_CONVERT_TO_INTERN call function 'MONI_CONVERT_TO_INTERN' changing i_value_low = l_low i_header = ls_var_field.

MONI_CONVERT_TO_EXTERN





call function 'MONI_CONVERT_TO_EXTERN' changing i_value_low = l_low i_header = ls_var_field.



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