GET_DATA_NEW SAP Method Get Data from TRACE Container









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

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


Parameters of Method GET_DATA_NEW

.

NameTypeData TypeDescriptionDefault Value
I_EXPANDINGImportingTYPE
C
Should be completely expanded
I_SATR_KEYImportingTYPE
SATR_TAB_KEY
Key Structure for SATR_TAB
I_AGGTABExportingTYPE
SATR_T_AGG_OUT
Aggregated TRACE Table
I_AUSTABExportingTYPE
SATR_T_AUSTAB_GESAMT
Extract from TRACE/TRACEDUMP
I_AUSTAB_NExportingTYPE
SATR_T_AUSTAB_N
Extract from TRACE/TRACEDUMP
I_HEADERExportingTYPE
SATRH_HEADER
Trace Record Header
I_HEADER_IExportingTYPE
SATRI_INFO
Trace Record Header Info
I_HIT1ExportingTYPE
SATR_T_HIT1
Hit Lists Part 1
I_HIT2ExportingTYPE
SATR_T_HIT2
Hit Lists Part 2
I_INTF_LISTExportingTYPE
SLAT_T_INTF_LIST
I_INTF_NAMESExportingTYPE
SLAT_T_INTERFACES
I_SLAT_PAKETExportingTYPE
SLAT_T_PACKAGES
SAT: Packages for Layer Aware Trace Analysis
I_SLAT_PROGRAMSExportingTYPE
SLAT_T_PROGRAMS
SAT: Packages for Layer Aware Trace Analysis
I_TRACEITABExportingTYPE
SATR_T_ITAB
Table of Type SATR_ITAB
I_TRACEMETHExportingTYPE
SATR_T_TRACEMETH
Table of Traced Method Names
I_TRACEPAKETExportingTYPE
SATR_T_TRACEPAKET
Table of Traced Program Names
I_TRACEPROGExportingTYPE
SATR_T_TRACEPROG
Table of Traced Program Names
I_TRACESTATExportingTYPE
SATR_T_TRACESTAT
Statistics Recs.
I_TRACETEXTExportingTYPE
SATR_T_TRACETEXT
Table of Traced Texts
I_ZEITENExportingTYPE
SATR_ZEITEN
Totals Record of All Times



Exceptions of Method GET_DATA_NEW

ERROR_OCCURED - Error when Creating Container Data

Example ABAP coding


DATA: lv_I_AGGTAB TYPE SATR_T_AGG_OUT,
lv_I_AUSTAB TYPE SATR_T_AUSTAB_GESAMT,
lv_I_AUSTAB_N TYPE SATR_T_AUSTAB_N,
lv_I_EXPANDING TYPE C,
lv_I_HEADER TYPE SATRH_HEADER,
lv_I_HEADER_I TYPE SATRI_INFO,
lv_I_HIT1 TYPE SATR_T_HIT1,
lv_I_HIT2 TYPE SATR_T_HIT2,
lv_I_INTF_LIST TYPE SLAT_T_INTF_LIST,
lv_I_INTF_NAMES TYPE SLAT_T_INTERFACES,
lv_I_SATR_KEY TYPE SATR_TAB_KEY,
lv_I_SLAT_PAKET TYPE SLAT_T_PACKAGES,
lv_I_SLAT_PROGRAMS TYPE SLAT_T_PROGRAMS,
lv_I_TRACEITAB TYPE SATR_T_ITAB,
lv_I_TRACEMETH TYPE SATR_T_TRACEMETH,
lv_I_TRACEPAKET TYPE SATR_T_TRACEPAKET,
lv_I_TRACEPROG TYPE SATR_T_TRACEPROG,
lv_I_TRACESTAT TYPE SATR_T_TRACESTAT,
lv_I_TRACETEXT TYPE SATR_T_TRACETEXT,
lv_I_ZEITEN TYPE SATR_ZEITEN,
lv_other TYPE c.

CALL METHOD CL_ABAP_TRACE_DATA=>GET_DATA_NEW(
EXPORTING
I_EXPANDING = lv_I_EXPANDING
I_SATR_KEY = lv_I_SATR_KEY
IMPORTING
I_AGGTAB = lv_I_AGGTAB
I_AUSTAB = lv_I_AUSTAB
I_AUSTAB_N = lv_I_AUSTAB_N
I_HEADER = lv_I_HEADER
I_HEADER_I = lv_I_HEADER_I
I_HIT1 = lv_I_HIT1
I_HIT2 = lv_I_HIT2
I_INTF_LIST = lv_I_INTF_LIST
I_INTF_NAMES = lv_I_INTF_NAMES
I_SLAT_PAKET = lv_I_SLAT_PAKET
I_SLAT_PROGRAMS = lv_I_SLAT_PROGRAMS
I_TRACEITAB = lv_I_TRACEITAB
I_TRACEMETH = lv_I_TRACEMETH
I_TRACEPAKET = lv_I_TRACEPAKET
I_TRACEPROG = lv_I_TRACEPROG
I_TRACESTAT = lv_I_TRACESTAT
I_TRACETEXT = lv_I_TRACETEXT
I_ZEITEN = lv_I_ZEITEN ).

Links to Related Class(s)

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