Hierarchy
⤷
⤷
Properties
| Class | CL_PROTOCOL_HANDLER_S2L | |
| Short Description | Log Handler | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | DI_S2L | Production Supply |
| Created | 20010620 | SAP |
| Last change | 20050301 | 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) |
Interfaces
Class CL_PROTOCOL_HANDLER_S2L has no interface implemented.
Friends
Class CL_PROTOCOL_HANDLER_S2L has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | S2L_ACTION | Dialog Segment | 20010801 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planning Segment (Ext.: Supply Segment) | 20010621 | |||
| 3 | Constant | Private | Type reference (TYPE) | SLIS_LOGGR | SPACE | Logical Group Name | 20010731 | ||
| 4 | Constant | Private | Type reference (TYPE) | SLIS_HANDL | 'PR2' | ALV Handle: Display of all Messages | 20010814 | ||
| 5 | Constant | Private | Type reference (TYPE) | SLIS_HANDL | 'PR3' | ALV Handle: DB Display | 20011017 | ||
| 6 | Constant | Private | Type reference (TYPE) | SLIS_HANDL | 'PR1' | ALV Handle: Display for a Supply Segment | 20010814 | ||
| 7 | Constant | Private | Type reference (TYPE) | SLIS_VARI | '01 SAP' | Mgt. ID for Repeated Calls from the Same Program | 20010731 | ||
| 8 | Instance attribute | Private | Type reference (TYPE) | BAL_S_PROF | Application Log: Log Output Format Profile | 20010621 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | S2L_SEGMENT_CODE | Identifier for Supply Segment in Log (Internal) | 20010620 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | BAL_T_MSGH | Application Log: Message Handle Table | 20010621 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20010620 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | BAL_S_LOG | Application Log: Log Header Data | 20010620 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | S2L_SEGMENTS_STATISTIC | Segment Statistics | 20010620 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | S2L_PROTSHOW | Display Log after Saving | 20010620 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | RM_FLAG | Are only New Messages Displayed? | 20010621 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | BAL_S_SCNT | Application Log: Statistics: Message Type Counter | 20010625 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | RM_FLAG | Indicator - Log to be Saved in Database | 20010805 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add APO Messages to Log | 20010802 | |
| 2 | Instance method | Public | Method | Add Messages for Logs | 20010620 | |
| 3 | Instance method | Private | Method | Add Messages to Log Internally | 20010802 | |
| 4 | Instance method | Public | Method | Add Messages from SY-MSG** | 20010719 | |
| 5 | Instance method | Public | Method | Provides Log Statistics | 20010625 | |
| 6 | Instance method | Public | Constructor | Constructor | 20010620 | |
| 7 | Instance method | Public | Method | Delete Log from Database | 20010627 | |
| 8 | Instance method | Public | Method | Display Log from Database | 20010627 | |
| 9 | Instance method | Public | Method | Informs Whether any Unread Messages Exist | 20010816 | |
| 10 | Instance method | Public | Method | Provides Messages to be Displayed | 20010621 | |
| 11 | Instance method | Public | Method | Provides Log Status Information for a Supply Segment | 20010625 | |
| 12 | Instance method | Public | Method | Generate Log | 20010621 | |
| 13 | Instance method | Public | Method | New Messages Flagged as Read | 20010620 | |
| 14 | Instance method | Public | Method | Save log | 20010620 | |
| 15 | Instance method | Public | Method | Sets Total Context | 20010621 | |
| 16 | Instance method | Public | Method | Sets Display Profile | 20010621 | |
| 17 | Instance method | Private | Method | Display Profile - Pushbuttons | 20010621 | |
| 18 | Instance method | Private | Method | Display Profile - Field Catalog | 20010621 | |
| 19 | Instance method | Private | Method | Display Profile - Field Catalog - Supply Segment Specific | 20010621 | |
| 20 | Instance method | Private | Method | Display Profile - 1st Level in Log Tree | 20010621 | |
| 21 | Instance method | Private | Method | Display Profile - 1st Level in Log Tree Supply Segment | 20010621 | |
| 22 | Instance method | Private | Method | Display Profile - 2nd Level in Log Tree | 20010621 | |
| 23 | Instance method | Private | Method | Display Profile - 2nd Level in Log Tree Supply Segment | 20010621 | |
| 24 | Instance method | Private | Method | Display Profile - 3rd Level in Log Tree | 20010621 | |
| 25 | Instance method | Private | Method | Display Profile - 4th Level in Log Tree | 20010621 | |
| 26 | Instance method | Public | Method | Sets Context (Msg_status) | 20010625 | |
| 27 | Instance method | Public | Method | Sets Next Dialog Segment | 20010621 | |
| 28 | Instance method | Public | Method | Display Log | 20010620 |
Events
Class CL_PROTOCOL_HANDLER_S2L has no event.
Types
Class CL_PROTOCOL_HANDLER_S2L has no local type.
Method Signatures
Method ADD_APO_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APO_MES | Value transfer | Type reference (TYPE) | BAPIRET2 | Returnparameter | 20010802 | |||
| 2 | I_SEGMENT | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010802 |
Method ADD_APO_MESSAGE on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method ADD_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DETLEVEL | Value transfer | Type reference (TYPE) | BALLEVEL | Anwendungs-Log: Detaillierungsgrad | 20010621 | |||
| 2 | I_MSGID | Value transfer | Type reference (TYPE) | SYMSGID | Nachrichten, Nachrichtenklasse | 20010620 | |||
| 3 | I_MSGNO | Value transfer | Type reference (TYPE) | SYMSGNO | Nachrichten, Nachrichtennummer | 20010620 | |||
| 4 | I_MSGTY | Value transfer | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20010620 | |||
| 5 | I_MSGV1 | Value transfer | Type reference (TYPE) | SY-MSGV1 | Nachrichten, Nachrichtenvariable | 20010620 | |||
| 6 | I_MSGV2 | Value transfer | Type reference (TYPE) | SY-MSGV2 | Nachrichten, Nachrichtenvariable | 20010620 | |||
| 7 | I_MSGV3 | Value transfer | Type reference (TYPE) | SY-MSGV3 | Nachrichten, Nachrichtenvariable | 20010620 | |||
| 8 | I_MSGV4 | Value transfer | Type reference (TYPE) | SY-MSGV4 | Nachrichten, Nachrichtenvariable | 20010620 | |||
| 9 | I_PROBCLASS | Value transfer | Type reference (TYPE) | BALPROBCL | Anwendungs-Log: Problemklasse einer Meldung | 20010621 | |||
| 10 | I_SEGMENT | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010620 |
Method ADD_MESSAGE on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method ADD_MESSAGE_INTERN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_MESSAGE | Value transfer | Type reference (TYPE) | BAL_S_MSG | Anwendungs-Log: Daten einer Meldung | 20010903 | |||
| 2 | I_SEGMENT | Call by reference | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010802 |
Method ADD_MESSAGE_INTERN on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method ADD_SY_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DETLEVEL | Value transfer | Type reference (TYPE) | BALLEVEL | Anwendungs-Log: Detaillierungsgrad | 20010719 | |||
| 2 | I_PROBCLASS | Value transfer | Type reference (TYPE) | BALPROBCL | Anwendungs-Log: Problemklasse einer Meldung | 20010719 | |||
| 3 | I_SEGMENT | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010719 |
Method ADD_SY_MESSAGE on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method CHECK_LOG_FOR_NEW_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_NEW_MESSAGES | Call by reference | Type reference (TYPE) | XFELD | Wird gesetzt bei neuen Meldungen | 20010807 | |||
| 2 | E_STATISTICS | Call by reference | Type reference (TYPE) | BAL_S_SCNT | Anwendungs-Log: Statistik: Zähler für Meldungstypen | 20010625 | |||
| 3 | E_WORST_MSG_TYPE | Call by reference | Type reference (TYPE) | S2L_WORST_MSG_TYPE | Der schwerste Meldungsgrad des Versorgungsabschnitts | 20010625 |
Method CHECK_LOG_FOR_NEW_MESSAGES on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ALDAY_DEL | Value transfer | Type reference (TYPE) | S2L_PROTDAYS_DEL | Protokoll verfällt nach ___ Tagen | 20010620 | |||
| 2 | I_DEL_BEFORE | Value transfer | Type reference (TYPE) | DEL_BEFORE | Anwendungs-Log: Protokoll ist bis zum Verfalldatum zu halten | 20010620 | |||
| 3 | I_SHOW_AT_SAVE | Value transfer | Type reference (TYPE) | S2L_PROTSHOW | Protokollpopup nach Sichern anzeigen | 20010620 |
Method CONSTRUCTOR on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method DB_DELETE Signature
Method DB_DELETE on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method DB_DELETE on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method DB_SHOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PROTOCOL_HANDLES | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Anwendungs-Log: Tabelle mit Protokoll-Handles | 20010627 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Berechtigung | 20010627 |
Method EXIST_MESSAGE_NOT_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXIST_NOT_READ | Call by reference | Type reference (TYPE) | XFELD | Nicht gelesene Meldung existiert | 20010816 |
Method EXIST_MESSAGE_NOT_READ on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method EXTRACT_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MESSAGES_INITIAL | Call by reference | Type reference (TYPE) | RM_FLAG | Keine Meldung zum Anzeige gefunden | 20010621 |
Method EXTRACT_MESSAGES on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method GET_SEGMENT_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_STATE | Call by reference | Type reference (TYPE) | S2L_PLNG_SEG_PROTOCOL_STATE | Status Details | 20010625 | |||
| 2 | I_SEGMENT | Call by reference | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010625 |
Method GET_SEGMENT_STATE on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method INIT Signature
Method INIT on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method INIT on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method REFRESH_NEW_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SEGMENT | Call by reference | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010621 |
Method REFRESH_NEW_MESSAGES on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_IN_UPDATE_TASK | Value transfer | Type reference (TYPE) | RM_FLAG | Sicherung in Update task | 20010620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Sichern | 20010620 |
Method SET_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SEGMENT | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010621 | |||
| 2 | I_SHOW_ONLY_NEW_MSG | Value transfer | Type reference (TYPE) | RM_FLAG | nur die neue Meldungen Anzeigen | 20010621 |
Method SET_CONTEXT on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISPLAY_PROFILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROFILE_TYPE | Value transfer | Type reference (TYPE) | S2L_DISP_PROF | Anzeigeprofiltyp | 20020515 |
Method SET_DISPLAY_PROFILE on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_BUTTONS Signature
Method SET_DISP_PROF_BUTTONS on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_BUTTONS on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_FIELDCAT Signature
Method SET_DISP_PROF_FIELDCAT on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_FIELDCAT on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_FIELDCAT_SR Signature
Method SET_DISP_PROF_FIELDCAT_SR on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_FIELDCAT_SR on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_LEVEL_1 Signature
Method SET_DISP_PROF_LEVEL_1 on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_LEVEL_1 on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_LEVEL_1_SR Signature
Method SET_DISP_PROF_LEVEL_1_SR on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_LEVEL_1_SR on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_LEVEL_2 Signature
Method SET_DISP_PROF_LEVEL_2 on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_LEVEL_2 on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_LEVEL_2_SR Signature
Method SET_DISP_PROF_LEVEL_2_SR on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_LEVEL_2_SR on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_LEVEL_3 Signature
Method SET_DISP_PROF_LEVEL_3 on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_LEVEL_3 on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_DISP_PROF_LEVEL_4 Signature
Method SET_DISP_PROF_LEVEL_4 on class CL_PROTOCOL_HANDLER_S2L has no parameter.
Method SET_DISP_PROF_LEVEL_4 on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_MSG_STATUS_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SHOW_ONLY_NEW_MSG | Value transfer | Type reference (TYPE) | RM_FLAG | nur die neue Meldungen Anzeigen | 20010625 |
Method SET_MSG_STATUS_CONTEXT on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SET_NEW_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACTION_TYPE | Value transfer | Type reference (TYPE) | S2L_ACTION_TYPE | Typ der Dialogabschnitt | 20010621 |
Method SET_NEW_ACTION on class CL_PROTOCOL_HANDLER_S2L has no exception.
Method SHOW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ONLY_NEW_MESSAGES | Call by reference | Type reference (TYPE) | RM_FLAG | Nur neue Meldungen | 20010620 | |||
| 2 | I_SEGMENT | Call by reference | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010620 |
Method SHOW on class CL_PROTOCOL_HANDLER_S2L has no exception.
History
| Last changed by/on | SAP | 20050301 |
| SAP Release Created in | 46C2 |