SAP ABAP Class IF_FDT_LEAN_TRACE (FDT: Lean Trace)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface composition (i COMPRISING i_ref)  IF_FDT_TRACE_WRITE FDT: Trace (Write Interface) 20081215
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_FDT_TRACE FDT: Trace 20081211
Properties
Class IF_FDT_LEAN_TRACE  
Short Description FDT: Lean Trace    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package      
Created 20081211   SAP 
Last change 20141121    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_FDT_DSM Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_FDT_TRACE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 IF_FDT_LEAN_TRACE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_FDT_TRACE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class IF_FDT_LEAN_TRACE has no interface implemented.
Friends
Class IF_FDT_LEAN_TRACE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DEFAULT_LEAN_TRACE_TABLE Constant Public Type reference (TYPE) TABNAME GC_DEFAULT_TRACE_DB_JSTAB_H Default Table for lean trace (Cluster) 20130513
2 GC_DEFAULT_TRACE_DB_JSTAB_H Constant Public Type reference (TYPE) TABNAME 'FDT_TRACE_0200' Default Table JSON Header (content removed periodically) 20130428
3 GC_DEFAULT_TRACE_DB_JSTAB_R Constant Public Type reference (TYPE) TABNAME 'FDT_TRACE_0201' Default Table JSON Records (content removed periodically) 20130428
4 GC_DEFAULT_TRACE_DB_TABLE Constant Public Type reference (TYPE) TABNAME 'FDT_TRACE_0100' Default Trace Cluster Table (content removed periodically) 20090303
5 MS_HEADER Instance attribute Public Type reference (TYPE) S_HEADER_EXT Working structure for trace header 20081215
6 MS_RECORD Instance attribute Public Type reference (TYPE) S_RECORD Working structure for trace record 20081215
7 MTS_RECORD Instance attribute Public Type reference (TYPE) TS_RECORD 20090317
8 MT_HEADER Instance attribute Public Type reference (TYPE) T_HEADER_EXT Trace Headers 20081215
9 MV_EXTERNAL_ID Instance attribute Public Type reference (TYPE) EXTERNAL_ID External ID 20081216
10 MV_MODE Instance attribute Public Attribute reference (LIKE) 20081215
11 MV_TRACE_DB_JSTAB_H Instance attribute Public Attribute reference (LIKE) 20130514
12 MV_TRACE_DB_JSTAB_R Instance attribute Public Attribute reference (LIKE) 20130514
13 MV_UUID Instance attribute Public Attribute reference (LIKE) 20081216
Methods
# Method Level Visibility Method type Description Created on
1 AUTHORITY_CHECK Static method Public Method Check Authorization for Lean Trace Create/Read/Delete 20090323
2 CLEAR_MEMORY Instance method Public Method Clear buffered trace from memory 20090303
3 DELETE Instance method Public Method Delete Trace from DB 20081215
4 GET_TRACE_DB_TABLE Instance method Public Method 20090303
5 MERGE Instance method Public Method Merge the trace of other (sub) functions 20090209
6 PARSE Instance method Public Method OBSOLETE - DO NOT USE 20090209
7 READ Instance method Public Method Read Trace from DB 20081215
8 SAVE Instance method Public Method Save Trace into DB 20090209
9 SET_RECORD_VALUE Instance method Public Method Set value in record 20130505
10 SET_TRACE_DB_TABLE Instance method Public Method 20090303
Events
Class IF_FDT_LEAN_TRACE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 EXTERNAL_ID Public Type reference (TYPE) FDT_TRACE_EXTERNAL_ID External ID of Trace 20090303
2 S_HEADER Public See coding Trace Header 20081215 BEGIN OF s_header, trace_uuid TYPE sysuuid_c32, trace_start TYPE timestampl, trace_end TYPE timestampl, trace_proc_time TYPE if_fdt_types=>timestamp, "processing timestamp of the function trace_user TYPE syuname, trace_fct_id TYPE sysuuid_x, trace_ext_id TYPE fdt_trace_external_id, trace_ref_uuid TYPE sysuuid_x, "parent trace UUID trace_version TYPE fdt_trace_version, trace_unversion TYPE boole_d, trace_obj_unversioned TYPE boole_d, END OF s_header
3 S_HEADER_EXT Public See coding Trace Header with Status 20090113 BEGIN OF s_header_ext. INCLUDE TYPE s_header AS header. TYPES: trace_saved TYPE abap_bool. " Trace saved already TYPES: auth_failed TYPE abap_bool. " Authorization check failed TYPES: END OF s_header_ext
4 S_RECORD Public See coding Trace Record 20081215 BEGIN OF s_record, trace_uuid TYPE sysuuid_x, seqnr TYPE x LENGTH 4, id TYPE sysuuid_x, parent_id TYPE sysuuid_x, position TYPE char100, value TYPE xstring, value_json TYPE string, ref TYPE REF TO data, END OF s_record
5 TR_EXTERNAL_ID Public See coding Range of External ID for Trace 20090113 tr_external_id TYPE RANGE OF external_id
6 TR_TRACE_END Public See coding Range of Trace Ending Timestamp 20090331 tr_trace_end TYPE RANGE OF s_header-trace_end
7 TR_TRACE_START Public See coding Range of Trace Starting Timestamp 20090331 tr_trace_start TYPE RANGE OF s_header-trace_start
8 TR_TRACE_UUID Public See coding Range of Trace UUID 20090113 tr_trace_uuid TYPE RANGE OF s_header-trace_uuid
9 TS_RECORD Public See coding Trace Records 20090317 ts_record TYPE SORTED TABLE OF s_record WITH UNIQUE KEY trace_uuid seqnr WITH NON-UNIQUE SORTED KEY skey2 COMPONENTS trace_uuid parent_id
10 T_HEADER Public See coding Trace Headers 20081215 t_header TYPE STANDARD TABLE OF s_header
11 T_HEADER_EXT Public See coding Trace Headers with Status 20090113 t_header_ext TYPE TABLE OF s_header_ext
Method Signatures

Method AUTHORITY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACTIVITY Call by reference Type reference (TYPE) IF_FDT_TYPES=>ACTIVITY Supported Activities: 1: Create, 3: Display, 4: Delete 20090323
2 Importing IV_APPL_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID BRF+ Application ID 20090325
3 Importing IV_EXTERNAL_ID Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>EXTERNAL_ID External ID of Trace 20090323
4 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID BRF+ Function ID 20090323
5 Returning RV_PASSED Value transfer Type reference (TYPE) ABAP_BOOL Authorization Check Passed 20090323

Method AUTHORITY_CHECK on class IF_FDT_LEAN_TRACE has no exception.

Method CLEAR_MEMORY Signature

Method CLEAR_MEMORY on class IF_FDT_LEAN_TRACE has no parameter.
Method CLEAR_MEMORY on class IF_FDT_LEAN_TRACE has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DELETE_FAILED Call by reference Type reference (TYPE) T_HEADER Trace CANNOT be deleted 20091022
2 Exporting ET_DELETE_OK Call by reference Type reference (TYPE) T_HEADER Trace successfully deleted or To be deleted in update task 20091022
3 Exporting ET_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_MESSAGE Messages from application exit 20120224
4 Importing ITR_EXTERNAL_ID Call by reference Type reference (TYPE) TR_EXTERNAL_ID Range of External ID for Trace 20090209
5 Importing ITR_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TRACE=>TR_FUNCTION_ID Range of function IDs 20090209
6 Importing ITR_TRACE_END Call by reference Type reference (TYPE) TR_TRACE_END Range of Trace Ending Timestamp 20090422
7 Importing ITR_TRACE_REF_UUID Call by reference Type reference (TYPE) TR_TRACE_UUID Range of Parent Trace UUID. Used to delete child traces 20090303
8 Importing ITR_TRACE_START Call by reference Type reference (TYPE) TR_TRACE_START Range of Trace Starting Timestamp 20090422
9 Importing ITR_TRACE_UUID Call by reference Type reference (TYPE) TR_TRACE_UUID Range of Trace UUID 20090209
10 Importing ITR_USER Call by reference Type reference (TYPE) IF_FDT_TRACE=>TR_USER Range of users 20090209
11 Importing IV_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Check Authorization or not 20090209
12 Importing IV_DELETE_INVALID Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Delete invalid traces only 20120221
13 Importing IV_UPDATE_TASK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Delete in udpate task 20091022
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090209
2 CX_FDT_LEAN_TRACE FDT: System Failure 20090422

Method GET_TRACE_DB_TABLE Signature

Method GET_TRACE_DB_TABLE on class IF_FDT_LEAN_TRACE has no parameter.
Method GET_TRACE_DB_TABLE on class IF_FDT_LEAN_TRACE has no exception.

Method MERGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_TRACE Call by reference Object reference (TYPE REF TO) IF_FDT_LEAN_TRACE FDT: Lean Trace 20090209
2 Importing IV_AS_CHILD Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Merge IO_TRACE as a child 20090209
3 Importing IV_PARENT_ID Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_RECORD-PARENT_ID Parent ID for IO_TRACE if it is to be merged as a child 20090209
4 Importing IV_POSITION Call by reference Type reference (TYPE) STRING CL_FDT_TRACE=>GC_POSCODE_TARGET_FUNC 20111129
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090209

Method PARSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_TRACE_DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT Trace XML Document Instance 20090306
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) IF_FDT_TYPES=>T_MESSAGE Messages 20111228
3 Exporting EV_TRACE Call by reference Type reference (TYPE) STRING Trace XML string 20090225
4 Importing ITR_EXTERNAL_ID Call by reference Type reference (TYPE) TR_EXTERNAL_ID Range of External ID for Trace 20090209
5 Importing ITR_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TRACE=>TR_FUNCTION_ID Range of function IDs 20090209
6 Importing ITR_TRACE_END Call by reference Type reference (TYPE) TR_TRACE_END Range of Trace Ending Timestamp 20090422
7 Importing ITR_TRACE_START Call by reference Type reference (TYPE) TR_TRACE_START Range of Trace Starting Timestamp 20090422
8 Importing ITR_TRACE_UUID Call by reference Type reference (TYPE) TR_TRACE_UUID Range of Trace UUID 20090209
9 Importing ITR_USER Call by reference Type reference (TYPE) IF_FDT_TRACE=>TR_USER Range of users 20090209
10 Importing IT_REMOTE_HEADER Call by reference Type reference (TYPE) CL_FDT_DSM=>T_TRACE Trace Headers 20121123
11 Importing IV_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Check Authorization or not 20090209
12 Importing IV_DEEP Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Read Sub-Traces or not 20090209
13 Importing IV_REMOTE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20121123
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090209
2 CX_FDT_LEAN_TRACE FDT: System Failure 20090422

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_TRACE_RECORD Call by reference Type reference (TYPE) TS_RECORD Trace Records 20090317
2 Exporting ET_TRACE_HEADER Call by reference Type reference (TYPE) T_HEADER Trace Headers 20090209
3 Importing ITR_EXTERNAL_ID Call by reference Type reference (TYPE) TR_EXTERNAL_ID Range of External ID for Trace 20090209
4 Importing ITR_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TRACE=>TR_FUNCTION_ID Range of Function IDs 20090209
5 Importing ITR_TRACE_END Call by reference Type reference (TYPE) TR_TRACE_END Range of Trace Ending Timestamp 20090331
6 Importing ITR_TRACE_REF_UUID Call by reference Type reference (TYPE) TR_TRACE_UUID Range of Parent Trace UUID. Used to read child traces 20090209
7 Importing ITR_TRACE_START Call by reference Type reference (TYPE) TR_TRACE_START Range of Trace Starting Timestamp 20090331
8 Importing ITR_TRACE_UUID Call by reference Type reference (TYPE) TR_TRACE_UUID Range of Trace UUIDs 20090209
9 Importing ITR_USER Call by reference Type reference (TYPE) IF_FDT_TRACE=>TR_USER Range of Users 20090209
10 Importing IV_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Check Authorization or not 20090209
11 Importing IV_DEEP Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Read Sub-Traces or not 20090209
12 Importing IV_DESTINATION Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20120905
13 Importing IV_MEMORY_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: Read from memory only but not from DB 20090303
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090209
2 CX_FDT_LEAN_TRACE FDT: System Failure 20090422

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SAVE_FAILED Call by reference Type reference (TYPE) T_HEADER Traces Failed in Saving 20090319
2 Exporting ET_SAVE_OK Call by reference Type reference (TYPE) T_HEADER Traces Saved Successfully 20090319
3 Exporting EV_UNVERSIONED Call by reference Type reference (TYPE) ABAP_BOOL Trace contains unversioned Object 20111228
4 Importing IV_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Whether authorization check shall be checked 20090209
5 Importing IV_EXTERNAL_ID Call by reference Type reference (TYPE) EXTERNAL_ID External ID of Trace 20090209
6 Importing IV_UPDATE_TASK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Save Trace in Update Task 20090615
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090209
2 CX_FDT_LEAN_TRACE FDT: System Failure 20090422

Method SET_RECORD_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_RECORD Call by reference Type reference (TYPE) IF_FDT_LEAN_TRACE=>S_RECORD Trace Record 20130505
2 Importing IA_ANY Call by reference Type reference (TYPE) ANY Value 20130505

Method SET_RECORD_VALUE on class IF_FDT_LEAN_TRACE has no exception.

Method SET_TRACE_DB_TABLE Signature

Method SET_TRACE_DB_TABLE on class IF_FDT_LEAN_TRACE has no parameter.
Method SET_TRACE_DB_TABLE on class IF_FDT_LEAN_TRACE has no exception.
History
Last changed by/on SAP  20141121 
SAP Release Created in