SAP ABAP Data Element STC_SCENARIO_CONFIG_CLASS (Task List Configuration Class)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-INS-TC-RT (Application Component) Runtime for ABAP based automated TC
     STC_TM (Package) Technical Configuration Task Management
Basic Data
Data Element STC_SCENARIO_CONFIG_CLASS
Short Description Task List Configuration Class  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SEOCLSNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table      
Further Characteristics
Search Help: Name STC_SCENARIO_CONFIG_CLASS    
Search Help: Parameters CONFIG_CLASS   
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Class 
Medium 15 Config. Class 
Long 35 Configuration Class 
Heading 15 Config. Class 
Documentation

Definition

Using a configuration class for a task list allows dynamic task list behavior.

Use

A configuration class has to be derived from super class CL_STC_SCENARIO_CONFIG. For each method offered the super class, the super class defines the standard behavior. A configuration class is only required if the standard behavior is not sufficient.

The following methods/functions are provided:

  • GET_DESCRIPTION: Defines a (translatable) text of your configuration
  • SCENARIO_VISIBLE: If exception NOT_VISIBLE is thrown (using a meaningful message from an ABAP message class), task manager will treat the task list as "invisible". It is not selectable in transaction STC01 and it is not listed in the task list value help. Invisible task lists cannot be executed or copied.
  • CONTENT_VISIBLE: Similar to SCENARIO_VISIBLE - but in this case the task list is shown in the value help. Execution and copying are rejected as well.

Dependencies

Be careful when you re-use an existing super class. Changes in the super class may affect all corresponding task lists.

Tip:

Attribute P_SCENARIO_ID of super class CL_STC_SCENARIO_CONFIG is filled by the task manager with the current task list identifier. This allows defining a task list dependent behavior using a shared configuration class.

History
Last changed by/on SAP  20141013 
SAP Release Created in 740