Hierarchy
⤷ IS-A-S2L (Application Component) Production Supply
⤷ DI_S2L (Package) Production Supply
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 | RM | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | S2L | 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 | CURRENT_ACTION | Instance attribute | Private | Type reference (TYPE) | S2L_ACTION | Dialog Segment | 20010801 | ||
2 | CUR_SEGMENT | Instance attribute | Private | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planning Segment (Ext.: Supply Segment) | 20010621 | ||
3 | C_VAR_STD_GROUP | Constant | Private | Type reference (TYPE) | SLIS_LOGGR | SPACE | Logical Group Name | 20010731 | |
4 | C_VAR_STD_HANDLE_ALL | Constant | Private | Type reference (TYPE) | SLIS_HANDL | 'PR2' | ALV Handle: Display of all Messages | 20010814 | |
5 | C_VAR_STD_HANDLE_DB | Constant | Private | Type reference (TYPE) | SLIS_HANDL | 'PR3' | ALV Handle: DB Display | 20011017 | |
6 | C_VAR_STD_HANDLE_SEG | Constant | Private | Type reference (TYPE) | SLIS_HANDL | 'PR1' | ALV Handle: Display for a Supply Segment | 20010814 | |
7 | C_VAR_STD_VARIANT | Constant | Private | Type reference (TYPE) | SLIS_VARI | '01 SAP' | Mgt. ID for Repeated Calls from the Same Program | 20010731 | |
8 | DISPLAY_PROFILE | Instance attribute | Private | Type reference (TYPE) | BAL_S_PROF | Application Log: Log Output Format Profile | 20010621 | ||
9 | MAX_SEGMENT_CODE | Instance attribute | Private | Type reference (TYPE) | S2L_SEGMENT_CODE | Identifier for Supply Segment in Log (Internal) | 20010620 | ||
10 | MSG_HANDLES | Instance attribute | Private | Type reference (TYPE) | BAL_T_MSGH | Application Log: Message Handle Table | 20010621 | ||
11 | PROT_HANDLE | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20010620 | ||
12 | PROT_LOG | Instance attribute | Private | Type reference (TYPE) | BAL_S_LOG | Application Log: Log Header Data | 20010620 | ||
13 | SEGMENTS_STATISTIC | Instance attribute | Private | Type reference (TYPE) | S2L_SEGMENTS_STATISTIC | Segment Statistics | 20010620 | ||
14 | SHOW_AT_SAVE | Instance attribute | Public | Type reference (TYPE) | S2L_PROTSHOW | Display Log after Saving | 20010620 | ||
15 | SHOW_ONLY_NEW_MSG | Instance attribute | Private | Type reference (TYPE) | RM_FLAG | Are only New Messages Displayed? | 20010621 | ||
16 | STATISTICS | Instance attribute | Private | Type reference (TYPE) | BAL_S_SCNT | Application Log: Statistics: Message Type Counter | 20010625 | ||
17 | STORE_PROTOCOL | 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 | ADD_APO_MESSAGE | Instance method | Public | Method | Add APO Messages to Log | 20010802 |
2 | ADD_MESSAGE | Instance method | Public | Method | Add Messages for Logs | 20010620 |
3 | ADD_MESSAGE_INTERN | Instance method | Private | Method | Add Messages to Log Internally | 20010802 |
4 | ADD_SY_MESSAGE | Instance method | Public | Method | Add Messages from SY-MSG** | 20010719 |
5 | CHECK_LOG_FOR_NEW_MESSAGES | Instance method | Public | Method | Provides Log Statistics | 20010625 |
6 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20010620 |
7 | DB_DELETE | Instance method | Public | Method | Delete Log from Database | 20010627 |
8 | DB_SHOW | Instance method | Public | Method | Display Log from Database | 20010627 |
9 | EXIST_MESSAGE_NOT_READ | Instance method | Public | Method | Informs Whether any Unread Messages Exist | 20010816 |
10 | EXTRACT_MESSAGES | Instance method | Public | Method | Provides Messages to be Displayed | 20010621 |
11 | GET_SEGMENT_STATE | Instance method | Public | Method | Provides Log Status Information for a Supply Segment | 20010625 |
12 | INIT | Instance method | Public | Method | Generate Log | 20010621 |
13 | REFRESH_NEW_MESSAGES | Instance method | Public | Method | New Messages Flagged as Read | 20010620 |
14 | SAVE | Instance method | Public | Method | Save log | 20010620 |
15 | SET_CONTEXT | Instance method | Public | Method | Sets Total Context | 20010621 |
16 | SET_DISPLAY_PROFILE | Instance method | Public | Method | Sets Display Profile | 20010621 |
17 | SET_DISP_PROF_BUTTONS | Instance method | Private | Method | Display Profile - Pushbuttons | 20010621 |
18 | SET_DISP_PROF_FIELDCAT | Instance method | Private | Method | Display Profile - Field Catalog | 20010621 |
19 | SET_DISP_PROF_FIELDCAT_SR | Instance method | Private | Method | Display Profile - Field Catalog - Supply Segment Specific | 20010621 |
20 | SET_DISP_PROF_LEVEL_1 | Instance method | Private | Method | Display Profile - 1st Level in Log Tree | 20010621 |
21 | SET_DISP_PROF_LEVEL_1_SR | Instance method | Private | Method | Display Profile - 1st Level in Log Tree Supply Segment | 20010621 |
22 | SET_DISP_PROF_LEVEL_2 | Instance method | Private | Method | Display Profile - 2nd Level in Log Tree | 20010621 |
23 | SET_DISP_PROF_LEVEL_2_SR | Instance method | Private | Method | Display Profile - 2nd Level in Log Tree Supply Segment | 20010621 |
24 | SET_DISP_PROF_LEVEL_3 | Instance method | Private | Method | Display Profile - 3rd Level in Log Tree | 20010621 |
25 | SET_DISP_PROF_LEVEL_4 | Instance method | Private | Method | Display Profile - 4th Level in Log Tree | 20010621 |
26 | SET_MSG_STATUS_CONTEXT | Instance method | Public | Method | Sets Context (Msg_status) | 20010625 |
27 | SET_NEW_ACTION | Instance method | Public | Method | Sets Next Dialog Segment | 20010621 |
28 | SHOW | 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 | Importing | I_APO_MES | Value transfer | Type reference (TYPE) | BAPIRET2 | Returnparameter | 20010802 | ||
2 | Importing | 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 | Importing | I_DETLEVEL | Value transfer | Type reference (TYPE) | BALLEVEL | Anwendungs-Log: Detaillierungsgrad | 20010621 | ||
2 | Importing | I_MSGID | Value transfer | Type reference (TYPE) | SYMSGID | Nachrichten, Nachrichtenklasse | 20010620 | ||
3 | Importing | I_MSGNO | Value transfer | Type reference (TYPE) | SYMSGNO | Nachrichten, Nachrichtennummer | 20010620 | ||
4 | Importing | I_MSGTY | Value transfer | Type reference (TYPE) | SYMSGTY | Nachrichten, Nachrichtentyp | 20010620 | ||
5 | Importing | I_MSGV1 | Value transfer | Type reference (TYPE) | SY-MSGV1 | Nachrichten, Nachrichtenvariable | 20010620 | ||
6 | Importing | I_MSGV2 | Value transfer | Type reference (TYPE) | SY-MSGV2 | Nachrichten, Nachrichtenvariable | 20010620 | ||
7 | Importing | I_MSGV3 | Value transfer | Type reference (TYPE) | SY-MSGV3 | Nachrichten, Nachrichtenvariable | 20010620 | ||
8 | Importing | I_MSGV4 | Value transfer | Type reference (TYPE) | SY-MSGV4 | Nachrichten, Nachrichtenvariable | 20010620 | ||
9 | Importing | I_PROBCLASS | Value transfer | Type reference (TYPE) | BALPROBCL | Anwendungs-Log: Problemklasse einer Meldung | 20010621 | ||
10 | Importing | 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 | Changing | C_MESSAGE | Value transfer | Type reference (TYPE) | BAL_S_MSG | Anwendungs-Log: Daten einer Meldung | 20010903 | ||
2 | Importing | 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 | Importing | I_DETLEVEL | Value transfer | Type reference (TYPE) | BALLEVEL | Anwendungs-Log: Detaillierungsgrad | 20010719 | ||
2 | Importing | I_PROBCLASS | Value transfer | Type reference (TYPE) | BALPROBCL | Anwendungs-Log: Problemklasse einer Meldung | 20010719 | ||
3 | Importing | 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 | Exporting | E_NEW_MESSAGES | Call by reference | Type reference (TYPE) | XFELD | Wird gesetzt bei neuen Meldungen | 20010807 | ||
2 | Exporting | E_STATISTICS | Call by reference | Type reference (TYPE) | BAL_S_SCNT | Anwendungs-Log: Statistik: Zähler für Meldungstypen | 20010625 | ||
3 | Exporting | 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 | Importing | I_ALDAY_DEL | Value transfer | Type reference (TYPE) | S2L_PROTDAYS_DEL | Protokoll verfällt nach ___ Tagen | 20010620 | ||
2 | Importing | I_DEL_BEFORE | Value transfer | Type reference (TYPE) | DEL_BEFORE | Anwendungs-Log: Protokoll ist bis zum Verfalldatum zu halten | 20010620 | ||
3 | Importing | 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 | Importing | 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 | NO_AUTHORITY | Keine Berechtigung | 20010627 |
Method EXIST_MESSAGE_NOT_READ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | 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 | Exporting | 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 | Exporting | E_STATE | Call by reference | Type reference (TYPE) | S2L_PLNG_SEG_PROTOCOL_STATE | Status Details | 20010625 | ||
2 | Importing | 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 | Importing | 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 | Importing | I_IN_UPDATE_TASK | Value transfer | Type reference (TYPE) | RM_FLAG | Sicherung in Update task | 20010620 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FAILED | Fehler beim Sichern | 20010620 |
Method SET_CONTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_SEGMENT | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010621 | ||
2 | Importing | 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 | Importing | 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 | Importing | 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 | Importing | 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 | Importing | I_ONLY_NEW_MESSAGES | Call by reference | Type reference (TYPE) | RM_FLAG | Nur neue Meldungen | 20010620 | ||
2 | Importing | 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 |