CREATE_FROM_XML SAP Method Create Task List Run from XML
Below is documentation, parameters and attributes of ABAP Method CREATE_FROM_XML within SAP class CL_STCTM_SESSION. 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_STCTM_SESSION into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CREATE_FROM_XML can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_FROM_XML
.| Name | Type | Data Type | Description | Default Value |
| I_CHECK_SESSION_ID | Importing | TYPE STC_SESSION_ID | Task List Run | |
| I_XML | Importing | TYPE XSTRING | ||
| ER_MESSAGES | Exporting | TYPE REF TO CL_STCTM_MESSAGES | Task Manager Messages | |
| ER_SESSION | Exporting | TYPE REF TO CL_STCTM_SESSION | TC Task List Run | |
| RR_SESSION | Returning | TYPE REF TO CL_STCTM_SESSION | TC Task List Run |
Exceptions of Method CREATE_FROM_XML
INVALID - Task List Run can't be createdExample ABAP coding
DATA: lv_I_CHECK_SESSION_ID TYPE STC_SESSION_ID,
lv_I_XML TYPE XSTRING,
lv_RR_SESSION TYPE CL_STCTM_SESSION,
lv_ER_MESSAGES TYPE CL_STCTM_MESSAGES,
lv_ER_SESSION TYPE CL_STCTM_SESSION,
lv_other TYPE c.
CALL METHOD CL_STCTM_SESSION=>CREATE_FROM_XML(
EXPORTING
I_CHECK_SESSION_ID = lv_I_CHECK_SESSION_ID
I_XML = lv_I_XML
IMPORTING
ER_MESSAGES = lv_ER_MESSAGES
ER_SESSION = lv_ER_SESSION
RECEIVING
RR_SESSION = lv_RR_SESSION )
"Alternate coding for Method Call with returning parameter
lv_RR_SESSION = CL_STCTM_SESSION=>CREATE_FROM_XML(
EXPORTING
I_CHECK_SESSION_ID = lv_I_CHECK_SESSION_ID
I_XML = lv_I_XML
IMPORTING
ER_MESSAGES = lv_ER_MESSAGES
ER_SESSION = lv_ER_SESSION ).
Links to Related Class(s)
CL_STCTM...Full list of available SAP object classes
Search for further information about these or an SAP related objects