TRANSFORM_SESSION_LOG SAP Method Transform Task List Run from XML to different format









Below is documentation, parameters and attributes of ABAP Method TRANSFORM_SESSION_LOG within SAP class CL_STCTM_UTILITIES. 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_UTILITIES 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 directly

The following technical details of method TRANSFORM_SESSION_LOG can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method TRANSFORM_SESSION_LOG

.

NameTypeData TypeDescriptionDefault Value
I_FORMATImportingTYPE
STC_SESSION_LOG_FORMAT
Format of Task List Run Log
I_LOG_XMLImportingTYPE
XSTRING
Task List Run Log in XML
I_LANGUImportingTYPE
SY-LANGU
ABAP System Field: Language Key of Text Environment
I_LOG_OPTIONSImportingTYPE
STC_SESSION_LOG_OPTIONS
Log Parameters
E_CONTENT_TYPEExportingTYPE
W3CONTTYPE
MIME Content Type
E_LOGExportingTYPE
XSTRING
Task List Run in new format



Exceptions of Method TRANSFORM_SESSION_LOG

E_CONTENT_TYPEExportingTYPE
W3CONTTYPEMIME Content TypeE_LOGExportingTYPE
XSTRINGTask List Run in new formatTRANSFORMATION_FAILED - Log tansformation failed

Example ABAP coding


DATA: lv_E_CONTENT_TYPE TYPE W3CONTTYPE,
lv_E_LOG TYPE XSTRING,
lv_I_FORMAT TYPE STC_SESSION_LOG_FORMAT,
lv_I_LOG_XML TYPE XSTRING,
lv_I_LANGU TYPE SY-LANGU,
lv_I_LOG_OPTIONS TYPE STC_SESSION_LOG_OPTIONS,
lv_other TYPE c.

CALL METHOD CL_STCTM_UTILITIES=>TRANSFORM_SESSION_LOG(
EXPORTING
I_FORMAT = lv_I_FORMAT
I_LOG_XML = lv_I_LOG_XML
I_LANGU = lv_I_LANGU
I_LOG_OPTIONS = lv_I_LOG_OPTIONS
IMPORTING
E_CONTENT_TYPE = lv_E_CONTENT_TYPE
E_LOG = lv_E_LOG ).

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!