LOG_CONTEXT_DATA SAP Method Log information for context data









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

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


Parameters of Method LOG_CONTEXT_DATA

.

NameTypeData TypeDescriptionDefault Value
IO_CONTEXTImportingTYPE REF TO
IF_FDT_CONTEXT
FDT: Context
ITS_DATA_OBJECT_IDImportingTYPE
IF_FDT_TYPES=>TS_OBJECT_ID
Data Object IDs
IV_DATA_OBJECT_IDImportingTYPE
IF_FDT_TYPES=>ID
Data Object ID
IV_TIMESTAMPImportingTYPE
IF_FDT_TYPES=>TIMESTAMP
Time Stamp
IV_UPDATEImportingTYPE
ABAP_BOOL
ABAP_TRUE: not initial context but update of context



Exceptions of Method LOG_CONTEXT_DATA

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_FDT_TRACE_WRITE.
DATA: lv_IO_CONTEXT TYPE IF_FDT_CONTEXT,
lv_ITS_DATA_OBJECT_ID TYPE IF_FDT_TYPES=>TS_OBJECT_ID,
lv_IV_DATA_OBJECT_ID TYPE IF_FDT_TYPES=>ID,
lv_IV_TIMESTAMP TYPE IF_FDT_TYPES=>TIMESTAMP,
lv_IV_UPDATE TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>LOG_CONTEXT_DATA(
EXPORTING
IO_CONTEXT = lv_IO_CONTEXT
ITS_DATA_OBJECT_ID = lv_ITS_DATA_OBJECT_ID
IV_DATA_OBJECT_ID = lv_IV_DATA_OBJECT_ID
IV_TIMESTAMP = lv_IV_TIMESTAMP
IV_UPDATE = lv_IV_UPDATE ).

Links to Related Class(s)

IF_FDT_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!