SAP ABAP Class CL_OCS_LOG (SPAM/SAINT Log)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-UPG-OCS (Application Component) Online Correction Support (Support Package and Add-On Tools)
     SPAM (Package) OCS - Installation/Implementation Tools
Properties
Class CL_OCS_LOG  
Short Description SPAM/SAINT Log    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPAM   OCS - Installation/Implementation Tools 
Created 20121008   SAP 
Last change 20141031    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_OCS_LOG has no forward declaration.
Interfaces
Class CL_OCS_LOG has no interface implemented.
Friends
Class CL_OCS_LOG has no friend class.
Attributes
Class CL_OCS_LOG has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_LOG Static method Public Method 20130308
2 APPEND_LOG_ENTRY Static method Public Method 20121008
3 APPEND_TEXT_TO_LOG Static method Public Method 20121026
4 FLUSH_LOG Static method Public Method 20121031
5 INIT_OCS_LOG Static method Public Method 20121031
Events
# Event Type Visibility Description Created on
1 FILE_ACCESS_ERROR Static Event
(1)
Public
(2)
20130308
2 INTERNAL_ERROR Static Event
(1)
Public
(2)
20130308
Types
Class CL_OCS_LOG has no local type.
Method Signatures

Method APPEND_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSGS Call by reference Type reference (TYPE) SPROT_U_TAB Tabellentyp zu SPROT_U (Schnittst. zur Protokollerstellung) 20130308

Method APPEND_LOG on class CL_OCS_LOG has no exception.

Method APPEND_LOG_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AG Call by reference Type reference (TYPE) ARBGB SY-MSGID Nachrichtenklasse 20121008
2 Importing IV_LANGU Call by reference Type reference (TYPE) SPRAS SY-LANGU Sprachenschlüssel 20121008
3 Importing IV_LEVEL Call by reference Type reference (TYPE) PROTLEVEL Protokollebene 20121008
4 Importing IV_MSGNR Call by reference Type reference (TYPE) SYMSGNO SY-MSGNO Nachrichtennummer 20121008
5 Importing IV_NEWOBJ Call by reference Type reference (TYPE) PROTNEWOBJ '' Neuer Abschnitt 20121008
6 Importing IV_SEVERITY Call by reference Type reference (TYPE) ERRORTYP Fehlerschwere (" ",W(arning),E(rror),A(bnormal termination)) 20121008
7 Importing IV_VAR1 Call by reference Type reference (TYPE) ANY SY-MSGV1 Nachrichtenvariable 20121008
8 Importing IV_VAR2 Call by reference Type reference (TYPE) ANY SY-MSGV2 Nachrichtenvariable 20121008
9 Importing IV_VAR3 Call by reference Type reference (TYPE) ANY SY-MSGV3 Nachrichtenvariable 20121008
10 Importing IV_VAR4 Call by reference Type reference (TYPE) ANY SY-MSGV4 Nachrichtenvariable 20121008

Method APPEND_LOG_ENTRY on class CL_OCS_LOG has no exception.

Method APPEND_TEXT_TO_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TEXTLINES Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit Textzeilen 20121026
2 Importing IV_INDENT_LINE Call by reference Type reference (TYPE) FLAG SPACE Rücke den Text um zwei Stellen ein 20121026
3 Importing IV_LOG_LEVEL Call by reference Type reference (TYPE) PROTLEVEL '4' Protokollebene 20121026
4 Importing IV_REMOVE_EMPTY_LINES Call by reference Type reference (TYPE) FLAG SPACE Entferne leere Zeilen 20121026

Method APPEND_TEXT_TO_LOG on class CL_OCS_LOG has no exception.

Method FLUSH_LOG Signature

Method FLUSH_LOG on class CL_OCS_LOG has no parameter.
# Exception Resumable Description Created on
1 CX_OCS_ERROR Fehler im OCS-Umfeld 20121031

Method INIT_OCS_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOG_NAME Value transfer Type reference (TYPE) PATLOGNAME 'QUEUE_IMPORT' Protokollname eines SPAM/SAINT Teilprotokolls 20121031
2 Importing IV_NEW_LOG Value transfer Type reference (TYPE) CHAR1 Neues Log (X) / neuen Teilbereich (S) erzeugen? 20121031
3 Importing IV_OCS_TOOL Value transfer Type reference (TYPE) SYTCODE Aktueller Transaktionscode 20121031
# Exception Resumable Description Created on
1 CX_OCS_ERROR Fehler im OCS-Umfeld 20121031
Event Signatures

Event FILE_ACCESS_ERROR Signature
Event FILE_ACCESS_ERROR on class CL_OCS_LOG has no parameter.
Event INTERNAL_ERROR Signature
Event INTERNAL_ERROR on class CL_OCS_LOG has no parameter.
History
Last changed by/on SAP  20141031 
SAP Release Created in 740