ADD_CHILD_STEP SAP Method Adds Subordinate Step
Below is documentation, parameters and attributes of ABAP Method ADD_CHILD_STEP within SAP class CL_PROCESS_STEP_POC. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_PROCESS_STEP_POC into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method ADD_CHILD_STEP can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_CHILD_STEP
.| Name | Type | Data Type | Description | Default Value |
| IM_INITIALIZE | Importing | TYPE BOOLE_D | Persistent Initialization | |
| IM_NEW_ELEMENT | Importing | TYPE BOOLE_D | New Element, no Change Event | |
| IM_STEP | Importing | TYPE REF TO CL_STEP_POC | Subordinate Step | |
| IM_STEPCOMPONENT | Importing | TYPE STRING | Description of Step |
Exceptions of Method ADD_CHILD_STEP
SELFCONTAINMENT_FOUND - Attempts to Add Itself as ChildExample ABAP coding
DATA: lo_class TYPE REF TO CL_PROCESS_STEP_POC.
DATA: lv_IM_INITIALIZE TYPE BOOLE_D,
lv_IM_NEW_ELEMENT TYPE BOOLE_D,
lv_IM_STEP TYPE CL_STEP_POC,
lv_IM_STEPCOMPONENT TYPE STRING,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_CHILD_STEP(
EXPORTING
IM_INITIALIZE = lv_IM_INITIALIZE
IM_NEW_ELEMENT = lv_IM_NEW_ELEMENT
IM_STEP = lv_IM_STEP
IM_STEPCOMPONENT = lv_IM_STEPCOMPONENT ).
Links to Related Class(s)
CL_PROCE...Full list of available SAP object classes
Search for further information about these or an SAP related objects