_ADD_TRACE_ITEM_2 SAP Method Update Trace









Below is documentation, parameters and attributes of ABAP Method _ADD_TRACE_ITEM_2 within SAP class CL_ALV_TRACE. 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_ALV_TRACE 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_TRACE_ITEM_2 can also be found below:

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


Parameters of Method _ADD_TRACE_ITEM_2

.

NameTypeData TypeDescriptionDefault Value
IR_VARIANTImportingTYPE REF TO
OBJECT
ALV List Viewer
IS_LAYO_SLISImportingTYPE
SLIS_LAYOUT_ALV
IS_PRNT_SLISImportingTYPE
SLIS_PRINT_ALV
IS_VARI_SLISImportingTYPE
DISVARIANT
Layout (External Use)
IT_DATAImportingTYPE
LVC_T_DATA
Data transfer table for ListViewer control
IT_FCAT_SLISImportingTYPE
SLIS_T_FIELDCAT_ALV
IT_FILT_SLISImportingTYPE
SLIS_T_FILTER_ALV
IT_INFOImportingTYPE
LVC_T_INFO
Data information table for ListViewer control
IT_SORT_SLISImportingTYPE
SLIS_T_SORTINFO_ALV
I_TRACE_ITEMImportingTYPE
CHAR128
128 Characters
I_UCOMMImportingTYPE
SYUCOMM
Screens, Function Code Triggered by PAI
I_TRACE_ITEMImportingTYPE
CHAR128
128 character



Exceptions of Method _ADD_TRACE_ITEM_2

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_ALV_TRACE.
DATA: lv_IR_VARIANT TYPE OBJECT,
lv_IS_LAYO_SLIS TYPE SLIS_LAYOUT_ALV,
lv_IS_PRNT_SLIS TYPE SLIS_PRINT_ALV,
lv_IS_VARI_SLIS TYPE DISVARIANT,
lv_IT_DATA TYPE LVC_T_DATA,
lv_IT_FCAT_SLIS TYPE SLIS_T_FIELDCAT_ALV,
lv_IT_FILT_SLIS TYPE SLIS_T_FILTER_ALV,
lv_IT_INFO TYPE LVC_T_INFO,
lv_IT_SORT_SLIS TYPE SLIS_T_SORTINFO_ALV,
lv_I_TRACE_ITEM TYPE CHAR128,
lv_I_UCOMM TYPE SYUCOMM,
lv_I_TRACE_ITEM TYPE CHAR128,
lv_other TYPE c.

CALL METHOD lo_class=>_ADD_TRACE_ITEM_2(
EXPORTING
IR_VARIANT = lv_IR_VARIANT
IS_LAYO_SLIS = lv_IS_LAYO_SLIS
IS_PRNT_SLIS = lv_IS_PRNT_SLIS
IS_VARI_SLIS = lv_IS_VARI_SLIS
IT_DATA = lv_IT_DATA
IT_FCAT_SLIS = lv_IT_FCAT_SLIS
IT_FILT_SLIS = lv_IT_FILT_SLIS
IT_INFO = lv_IT_INFO
IT_SORT_SLIS = lv_IT_SORT_SLIS
I_TRACE_ITEM = lv_I_TRACE_ITEM
I_UCOMM = lv_I_UCOMM
I_TRACE_ITEM = lv_I_TRACE_ITEM ).

Links to Related Class(s)

CL_ALV_T...
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!