SAP ABAP Class CL_TRACE_BCS (Trace Class for Communication)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-COM (Application Component) Communication Services: Mail, Fax, SMS, Telephony
     SO (Package) SAPoffice
Properties
Class CL_TRACE_BCS  
Short Description Trace Class for Communication    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SO   SAPoffice 
Created 20001013   SAP 
Last change 20130531   SAP 
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 SO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SX Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 SX2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_TRACE_BCS has no interface implemented.
Friends
Class CL_TRACE_BCS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_GLOBAL Constant Public Type reference (TYPE) SWT_OMODID SX2_C_SWTMI_SX_GLOB Global SAPconnect Trace 20030429
2 C_INBOUND Constant Public Type reference (TYPE) SWT_OMODID SX2_C_SWTMI_SO_RECV Trace for Incoming Mails 20001016
3 C_OUTBOUND Constant Public Type reference (TYPE) SWT_OMODID SX2_C_SWTMI_SO_SEND Trace for Outgoing Mails 20001016
4 DIRECTION Instance attribute Private Type reference (TYPE) SWT_OMODID Inbound or Outbound Trace 20001016
5 FUNCTION Instance attribute Private Type reference (TYPE) SWT_ACT_D Current Function Name 20001016
6 ID Instance attribute Private Type reference (TYPE) STRING Trace ID 20001016
7 INITIALIZED Instance attribute Private Type reference (TYPE) SO_FLAG Trace Initialized 20001016
8 INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_TRACE_BCS Singleton Instance of This Class 20001013
9 MS_CALLSTACK Instance attribute Private Type reference (TYPE) ABAP_CALLSTACK_LINE Line of an ABAP Call Stack (With Program Positions) 20090609
10 MT_TRACE_STACK Instance attribute Private Type reference (TYPE) GT_TYPE_TRSTACK 20090609
11 MV_INCLUDE Instance attribute Private Type reference (TYPE) STRING 20090609
12 MV_MAINPROG Instance attribute Private Type reference (TYPE) STRING 20090609
13 NO_TRACE Static Attribute Public Type reference (TYPE) SO_FLAG Trace Does Not Exist 20001201
14 RT_STACK Instance attribute Private Type reference (TYPE) RT_STACK_T 20070911
15 RUNTIME Instance attribute Private Type reference (TYPE) OS_BOOLEAN Trace Runtime Only 20070911
16 STATE Instance attribute Private Type reference (TYPE) SXTRCSTATE Trace Status (Level) 20070911
17 TITLE Instance attribute Private Type reference (TYPE) STRING Trace Title 20001016
Methods
# Method Level Visibility Method type Description Created on
1 ABORT Instance method Public Method 20130801
2 CALL_STACK Instance method Public Method Trace Call Stack 20070911
3 CHECK_NEW_PROGRAM Instance method Private Method Check on new main program and add rows, if required 20090609
4 CREATE_NEW_TRACE Static method Public Method Get Instance for This Class 20001016
5 END_FUNC Instance method Public Method End of Module 20061127
6 ERR Instance method Public Method Writes error string to trace 20110804
7 ERROR_HAPPENED Instance method Private Method Handle Error Case 20070911
8 ERROR_NUMBER Instance method Public Method Writes an Error Message with Number 20001016
9 ERROR_STRING Instance method Public Method Writes an Error String in Tracw (with Prefix) 20001220
10 ERROR_TEXT Instance method Public Method Writes an Error Message 20001016
11 EXCEPTION_TEXT Instance method Public Method Outputs Text for an Exception Class in 80 Character Lines 20010220
12 GET_CALLSTACK Instance method Private Method Determine Calling Routine 20090609
13 GET_TRACE Static method Public Method Get Instance for This Class 20001016
14 INITIALIZE Instance method Private Method Initializes Trace 20001016
15 MESSAGE Instance method Public Method Writes a T100 Message in the Trace 20011015
16 NEW_FUNCTION Instance method Public Method Sets New Function Name in Trace 20001016
17 NEW_INSTANCE Static method Public Method Gets New Instance for Class 20030520
18 READ_STATE Instance method Private Method Read status 20070911
19 RT_END Instance method Public Method Trace Runtime 20070911
20 RT_START Instance method Public Method Set Start for Runtime 20070911
21 SET_INSTANCE Static method Public Method Get Instance 20070911
22 SET_NEW_ID Instance method Public Method Sets New Object ID 20070911
23 SET_NEW_TRACE_NAME Instance method Public Method Gives Trace File a New Name 20010219
24 START_FUNC Instance method Public Method Start of Module 20061127
25 STRING Instance method Private Method Writes String in Trace (With Prefix) 20001220
26 STRUCTURE Instance method Public Method Writes a Structure in Trace 20001016
27 SUCC Instance method Public Method Writes success string to trace 20110804
28 SUCCESS_NUMBER Instance method Public Method Writes an Error Message with Number 20001016
29 SUCCESS_STRING Instance method Public Method Writes Success String in Trace (with Prefix) 20001220
30 SUCCESS_TEXT Instance method Public Method Writes Success Message 20001016
31 TABLE Instance method Public Method Writes a Table in the Trace 20001016
32 WRITE Instance method Private Method Write Trace 20090609
Events
Class CL_TRACE_BCS has no event.
Types
Class CL_TRACE_BCS has no local type.
Method Signatures

Method ABORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRING Call by reference Type reference (TYPE) CLIKE 20130801

Method ABORT on class CL_TRACE_BCS has no exception.

Method CALL_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DEL_LEVEL Value transfer Type reference (TYPE) I 20070911
2 Importing I_LEVEL Value transfer Type reference (TYPE) I 20070911

Method CALL_STACK on class CL_TRACE_BCS has no exception.

Method CHECK_NEW_PROGRAM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CALLSTACK Call by reference Type reference (TYPE) ABAP_CALLSTACK_LINE Zeile eines ABAP-Aufrufstacks (mit Programmstellen) 20090609

Method CHECK_NEW_PROGRAM on class CL_TRACE_BCS has no exception.

Method CREATE_NEW_TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DIRECTION Call by reference Type reference (TYPE) SWT_OMODID Inbound oder Outbound-Trace 20001016
2 Importing I_FUNCTION Call by reference Type reference (TYPE) STRING Aktueller Funktionsname 20001016
3 Importing I_ID Call by reference Type reference (TYPE) SX_OBJ_ID Trace-Id 20001016
4 Importing I_TITLE Call by reference Type reference (TYPE) STRING Titel des aktuellen Dokuments 20001016
5 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_TRACE_BCS Die eine Klasseninstanz 20001016

Method CREATE_NEW_TRACE on class CL_TRACE_BCS has no exception.

Method END_FUNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INITIALIZE Call by reference Type reference (TYPE) OS_BOOLEAN Boolean 20061127

Method END_FUNC on class CL_TRACE_BCS has no exception.

Method ERR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRING Call by reference Type reference (TYPE) CLIKE 20110804

Method ERR on class CL_TRACE_BCS has no exception.

Method ERROR_HAPPENED Signature

Method ERROR_HAPPENED on class CL_TRACE_BCS has no parameter.
Method ERROR_HAPPENED on class CL_TRACE_BCS has no exception.

Method ERROR_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NUMBER Call by reference Type reference (TYPE) SYTABIX Erfolgsnummer 20001016
2 Importing TEXT Value transfer Type reference (TYPE) CLIKE Erfolgsmeldung 20001016

Method ERROR_NUMBER on class CL_TRACE_BCS has no exception.

Method ERROR_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) CLIKE Beschreibung des Strings 20001220
2 Importing STRING Value transfer Type reference (TYPE) CLIKE String zum Tracen 20001220

Method ERROR_STRING on class CL_TRACE_BCS has no exception.

Method ERROR_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEXT Value transfer Type reference (TYPE) CLIKE Erfolgsmeldung 20001016

Method ERROR_TEXT on class CL_TRACE_BCS has no exception.

Method EXCEPTION_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_EXCEPTION Value transfer Object reference (TYPE REF TO) CX_ROOT Abstrakte Oberklasse aller globalen Exceptions 20010220

Method EXCEPTION_TEXT on class CL_TRACE_BCS has no exception.

Method GET_CALLSTACK Signature

Method GET_CALLSTACK on class CL_TRACE_BCS has no parameter.
Method GET_CALLSTACK on class CL_TRACE_BCS has no exception.

Method GET_TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_TRACE_BCS Die eine Klasseninstanz 20001016

Method GET_TRACE on class CL_TRACE_BCS has no exception.

Method INITIALIZE Signature

Method INITIALIZE on class CL_TRACE_BCS has no parameter.
Method INITIALIZE on class CL_TRACE_BCS has no exception.

Method MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASS Call by reference Type reference (TYPE) CLIKE Nachrichten, Nachrichtenvariable 20011015
2 Importing MSGV1 Call by reference Type reference (TYPE) ANY Nachrichten, Nachrichtenvariable 20011015
3 Importing MSGV2 Call by reference Type reference (TYPE) ANY Nachrichten, Nachrichtenvariable 20011015
4 Importing MSGV3 Call by reference Type reference (TYPE) ANY Nachrichten, Nachrichtenvariable 20011015
5 Importing MSGV4 Call by reference Type reference (TYPE) ANY Nachrichten, Nachrichtenvariable 20011015
6 Importing NUMBER Call by reference Type reference (TYPE) ANY Nachrichten, Nachrichtennummer 20011015

Method MESSAGE on class CL_TRACE_BCS has no exception.

Method NEW_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FUNCTION_NAME Call by reference Type reference (TYPE) STRING neuer Funktionsname 20001016
2 Importing I_INITIALIZE Call by reference Type reference (TYPE) OS_BOOLEAN Boolean 20061127

Method NEW_FUNCTION on class CL_TRACE_BCS has no exception.

Method NEW_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_TRACE_BCS Die eine Klasseninstanz 20030520

Method NEW_INSTANCE on class CL_TRACE_BCS has no exception.

Method READ_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DIR Call by reference Type reference (TYPE) SWT_OMODID ID des aufrufenden Workflow-Moduls 20070911
2 Importing I_ID Call by reference Type reference (TYPE) CLIKE 20070911

Method READ_STATE on class CL_TRACE_BCS has no exception.

Method RT_END Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MODULE Call by reference Type reference (TYPE) CLIKE 20070911

Method RT_END on class CL_TRACE_BCS has no exception.

Method RT_START Signature

Method RT_START on class CL_TRACE_BCS has no parameter.
Method RT_START on class CL_TRACE_BCS has no exception.

Method SET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INSTANCE Call by reference Object reference (TYPE REF TO) CL_TRACE_BCS Traceklasse für Kommunikation 20070911

Method SET_INSTANCE on class CL_TRACE_BCS has no exception.

Method SET_NEW_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ID Call by reference Type reference (TYPE) ANY 20070911

Method SET_NEW_ID on class CL_TRACE_BCS has no exception.

Method SET_NEW_TRACE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) CLIKE Neuer Name des Tracefiles 20010219

Method SET_NEW_TRACE_NAME on class CL_TRACE_BCS has no exception.

Method START_FUNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FUNCTION Call by reference Type reference (TYPE) CLIKE 20061127

Method START_FUNC on class CL_TRACE_BCS has no exception.

Method STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ERROR Call by reference Type reference (TYPE) CHAR1 SPACE Fehlerstring 20001220
2 Importing NAME Call by reference Type reference (TYPE) CHAR40 Beschreibung des Strings 20001220
3 Importing STRING Call by reference Type reference (TYPE) CLIKE String zum Tracen 20001220

Method STRING on class CL_TRACE_BCS has no exception.

Method STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA Call by reference Type reference (TYPE) ANY Struktur 20001016
2 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Name der Tabellenstruktur 20001016
3 Importing TITLE Value transfer Type reference (TYPE) CLIKE Überschrift für Tabellentrace 20001016

Method STRUCTURE on class CL_TRACE_BCS has no exception.

Method SUCC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRING Call by reference Type reference (TYPE) CLIKE 20110804

Method SUCC on class CL_TRACE_BCS has no exception.

Method SUCCESS_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NUMBER Call by reference Type reference (TYPE) SYTABIX Erfolgsnummer 20001016
2 Importing TEXT Value transfer Type reference (TYPE) CLIKE Erfolgsmeldung 20001016

Method SUCCESS_NUMBER on class CL_TRACE_BCS has no exception.

Method SUCCESS_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) CLIKE Beschreibung des Strings 20001220
2 Importing STRING Value transfer Type reference (TYPE) CLIKE String zum Tracen 20001220

Method SUCCESS_STRING on class CL_TRACE_BCS has no exception.

Method SUCCESS_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEXT Value transfer Type reference (TYPE) CLIKE Erfolgsmeldung 20001016

Method SUCCESS_TEXT on class CL_TRACE_BCS has no exception.

Method TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LINE_STRUCTURE Call by reference Type reference (TYPE) TABNAME Name der Tabellenstruktur 20001016
2 Importing TABLE Call by reference Type reference (TYPE) ANY TABLE Tabelle 20001016
3 Importing TITLE Value transfer Type reference (TYPE) CLIKE Überschrift für Tabellentrace 20001016

Method TABLE on class CL_TRACE_BCS has no exception.

Method WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CALLSTACK Call by reference Type reference (TYPE) ABAP_CALLSTACK_LINE Zeile eines ABAP-Aufrufstacks (mit Programmstellen) 20090609
2 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY 'I' Nachrichtentyp 20090609
3 Importing IV_STRUCTURE Value transfer Type reference (TYPE) TABNAME Tabellenname 20090609
4 Importing I_DATA Call by reference Type reference (TYPE) ANY 20090609

Method WRITE on class CL_TRACE_BCS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 50A