READ SAP Method Read traced data
Below is documentation, parameters and attributes of ABAP Method READ within SAP class IF_FDT_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 IF_FDT_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 READ can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ
.| Name | Type | Data Type | Description | Default Value |
| ITR_FUNCTION_ID | Importing | TYPE TR_FUNCTION_ID | Raneg of function IDs | |
| ITR_TIMESTAMP | Importing | TYPE TR_TIMESTAMP | Range of time stamps | |
| ITR_USER | Importing | TYPE TR_USER | Range of users | |
| IV_MEMORY_ONLY | Importing | TYPE ABAP_BOOL | ABAP_TRUE: Read from memory only but not from DB | |
| ETS_TRACE | Exporting | TYPE TS_TRACE | Trace entries | |
| EV_TRACE | Exporting | TYPE STRING | Trace as XML |
Exceptions of Method READ
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_FDT_TRACE.
DATA: lv_ETS_TRACE TYPE TS_TRACE,
lv_EV_TRACE TYPE STRING,
lv_ITR_FUNCTION_ID TYPE TR_FUNCTION_ID,
lv_ITR_TIMESTAMP TYPE TR_TIMESTAMP,
lv_ITR_USER TYPE TR_USER,
lv_IV_MEMORY_ONLY TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>READ(
EXPORTING
ITR_FUNCTION_ID = lv_ITR_FUNCTION_ID
ITR_TIMESTAMP = lv_ITR_TIMESTAMP
ITR_USER = lv_ITR_USER
IV_MEMORY_ONLY = lv_IV_MEMORY_ONLY
IMPORTING
ETS_TRACE = lv_ETS_TRACE
EV_TRACE = lv_EV_TRACE ).
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