Hierarchy
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | 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 | Constant | Public | Type reference (TYPE) | SWT_OMODID | SX2_C_SWTMI_SX_GLOB | Global SAPconnect Trace | 20030429 | ||
| 2 | Constant | Public | Type reference (TYPE) | SWT_OMODID | SX2_C_SWTMI_SO_RECV | Trace for Incoming Mails | 20001016 | ||
| 3 | Constant | Public | Type reference (TYPE) | SWT_OMODID | SX2_C_SWTMI_SO_SEND | Trace for Outgoing Mails | 20001016 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | SWT_OMODID | Inbound or Outbound Trace | 20001016 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | SWT_ACT_D | Current Function Name | 20001016 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | STRING | Trace ID | 20001016 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SO_FLAG | Trace Initialized | 20001016 | |||
| 8 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_TRACE_BCS | Singleton Instance of This Class | 20001013 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | ABAP_CALLSTACK_LINE | Line of an ABAP Call Stack (With Program Positions) | 20090609 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | GT_TYPE_TRSTACK | 20090609 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | STRING | 20090609 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | STRING | 20090609 | ||||
| 13 | Static Attribute | Public | Type reference (TYPE) | SO_FLAG | Trace Does Not Exist | 20001201 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | RT_STACK_T | 20070911 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | OS_BOOLEAN | Trace Runtime Only | 20070911 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | SXTRCSTATE | Trace Status (Level) | 20070911 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | STRING | Trace Title | 20001016 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20130801 | ||
| 2 | Instance method | Public | Method | Trace Call Stack | 20070911 | |
| 3 | Instance method | Private | Method | Check on new main program and add rows, if required | 20090609 | |
| 4 | Static method | Public | Method | Get Instance for This Class | 20001016 | |
| 5 | Instance method | Public | Method | End of Module | 20061127 | |
| 6 | Instance method | Public | Method | Writes error string to trace | 20110804 | |
| 7 | Instance method | Private | Method | Handle Error Case | 20070911 | |
| 8 | Instance method | Public | Method | Writes an Error Message with Number | 20001016 | |
| 9 | Instance method | Public | Method | Writes an Error String in Tracw (with Prefix) | 20001220 | |
| 10 | Instance method | Public | Method | Writes an Error Message | 20001016 | |
| 11 | Instance method | Public | Method | Outputs Text for an Exception Class in 80 Character Lines | 20010220 | |
| 12 | Instance method | Private | Method | Determine Calling Routine | 20090609 | |
| 13 | Static method | Public | Method | Get Instance for This Class | 20001016 | |
| 14 | Instance method | Private | Method | Initializes Trace | 20001016 | |
| 15 | Instance method | Public | Method | Writes a T100 Message in the Trace | 20011015 | |
| 16 | Instance method | Public | Method | Sets New Function Name in Trace | 20001016 | |
| 17 | Static method | Public | Method | Gets New Instance for Class | 20030520 | |
| 18 | Instance method | Private | Method | Read status | 20070911 | |
| 19 | Instance method | Public | Method | Trace Runtime | 20070911 | |
| 20 | Instance method | Public | Method | Set Start for Runtime | 20070911 | |
| 21 | Static method | Public | Method | Get Instance | 20070911 | |
| 22 | Instance method | Public | Method | Sets New Object ID | 20070911 | |
| 23 | Instance method | Public | Method | Gives Trace File a New Name | 20010219 | |
| 24 | Instance method | Public | Method | Start of Module | 20061127 | |
| 25 | Instance method | Private | Method | Writes String in Trace (With Prefix) | 20001220 | |
| 26 | Instance method | Public | Method | Writes a Structure in Trace | 20001016 | |
| 27 | Instance method | Public | Method | Writes success string to trace | 20110804 | |
| 28 | Instance method | Public | Method | Writes an Error Message with Number | 20001016 | |
| 29 | Instance method | Public | Method | Writes Success String in Trace (with Prefix) | 20001220 | |
| 30 | Instance method | Public | Method | Writes Success Message | 20001016 | |
| 31 | Instance method | Public | Method | Writes a Table in the Trace | 20001016 | |
| 32 | 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 | 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 | I_DEL_LEVEL | Value transfer | Type reference (TYPE) | I | 20070911 | ||||
| 2 | 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 | 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 | I_DIRECTION | Call by reference | Type reference (TYPE) | SWT_OMODID | Inbound oder Outbound-Trace | 20001016 | |||
| 2 | I_FUNCTION | Call by reference | Type reference (TYPE) | STRING | Aktueller Funktionsname | 20001016 | |||
| 3 | I_ID | Call by reference | Type reference (TYPE) | SX_OBJ_ID | Trace-Id | 20001016 | |||
| 4 | I_TITLE | Call by reference | Type reference (TYPE) | STRING | Titel des aktuellen Dokuments | 20001016 | |||
| 5 | 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 | 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 | 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 | NUMBER | Call by reference | Type reference (TYPE) | SYTABIX | Erfolgsnummer | 20001016 | |||
| 2 | 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 | NAME | Call by reference | Type reference (TYPE) | CLIKE | Beschreibung des Strings | 20001220 | |||
| 2 | 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 | 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 | 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 | 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 | CLASS | Call by reference | Type reference (TYPE) | CLIKE | Nachrichten, Nachrichtenvariable | 20011015 | |||
| 2 | MSGV1 | Call by reference | Type reference (TYPE) | ANY | Nachrichten, Nachrichtenvariable | 20011015 | |||
| 3 | MSGV2 | Call by reference | Type reference (TYPE) | ANY | Nachrichten, Nachrichtenvariable | 20011015 | |||
| 4 | MSGV3 | Call by reference | Type reference (TYPE) | ANY | Nachrichten, Nachrichtenvariable | 20011015 | |||
| 5 | MSGV4 | Call by reference | Type reference (TYPE) | ANY | Nachrichten, Nachrichtenvariable | 20011015 | |||
| 6 | 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 | FUNCTION_NAME | Call by reference | Type reference (TYPE) | STRING | neuer Funktionsname | 20001016 | |||
| 2 | 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 | 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 | I_DIR | Call by reference | Type reference (TYPE) | SWT_OMODID | ID des aufrufenden Workflow-Moduls | 20070911 | |||
| 2 | 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 | 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 | 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 | 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 | 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 | 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 | ERROR | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Fehlerstring | 20001220 | ||
| 2 | NAME | Call by reference | Type reference (TYPE) | CHAR40 | Beschreibung des Strings | 20001220 | |||
| 3 | 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 | DATA | Call by reference | Type reference (TYPE) | ANY | Struktur | 20001016 | |||
| 2 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Name der Tabellenstruktur | 20001016 | |||
| 3 | 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 | 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 | NUMBER | Call by reference | Type reference (TYPE) | SYTABIX | Erfolgsnummer | 20001016 | |||
| 2 | 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 | NAME | Call by reference | Type reference (TYPE) | CLIKE | Beschreibung des Strings | 20001220 | |||
| 2 | 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 | 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 | LINE_STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Name der Tabellenstruktur | 20001016 | |||
| 2 | TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | Tabelle | 20001016 | |||
| 3 | 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 | IS_CALLSTACK | Call by reference | Type reference (TYPE) | ABAP_CALLSTACK_LINE | Zeile eines ABAP-Aufrufstacks (mit Programmstellen) | 20090609 | |||
| 2 | IV_MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | 'I' | Nachrichtentyp | 20090609 | ||
| 3 | IV_STRUCTURE | Value transfer | Type reference (TYPE) | TABNAME | Tabellenname | 20090609 | |||
| 4 | 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 |