SAP ABAP Class CL_HCP_MESSAGE_HANDLER (Message Handling in Personnel Cost Planning)
Hierarchy
☛
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
⤷ PA-CP (Application Component) Personnel Cost Planning and Simulation
⤷ PAOC_HCP_DATACOLLECTION (Package) HCP Data Collection
⤷ PA-CP (Application Component) Personnel Cost Planning and Simulation
⤷ PAOC_HCP_DATACOLLECTION (Package) HCP Data Collection
Properties
Class | CL_HCP_MESSAGE_HANDLER | |
Short Description | Message Handling in Personnel Cost Planning | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | HRHCP00_COLLECTION | |
Program status | ||
Category | 0 | |
Package | PAOC_HCP_DATACOLLECTION | HCP Data Collection |
Created | 20010620 | SAP |
Last change | 20010620 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | SLIS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | T | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HCP_MESSAGE_HANDLER has no interface implemented.
Friends
Class CL_HCP_MESSAGE_HANDLER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | C_LOG_MAIN_OBJECT | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'HCP' | Application log: Object name (Application code) | 20011127 | |
2 | C_LOG_SUBOBJ_COLLECTION | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'DC' | Application Log: Subobject | 20011127 | |
3 | C_LOG_SUBOBJ_DETAIL | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'PD' | Application Log: Subobject | 20011127 | |
4 | C_LOG_SUBOBJ_POSTING | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'PO' | Application Log: Subobject | 20020131 | |
5 | C_LOG_SUBOBJ_RUN | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'PL' | Application Log: Subobject | 20011127 | |
6 | C_OBJECT_COL_MULTIP_OBJECT | Constant | Private | Type reference (TYPE) | CHAR1 | '2' | Single-Character Indicator | 20010620 | |
7 | C_OBJECT_COL_NOT_USED | Constant | Private | Type reference (TYPE) | CHAR1 | SPACE | Single-Character Indicator | 20010620 | |
8 | C_OBJECT_COL_SINGLE_OBJECT | Constant | Private | Type reference (TYPE) | CHAR1 | '1' | Single-Character Indicator | 20010620 | |
9 | G_HANDLE_ATTR | Instance attribute | Private | Type reference (TYPE) | T_HANDLE_ATTRIBUTES | Handle Attributes | 20010621 | ||
10 | G_LOGHANDLE | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20010620 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_OBJECT_TEXTS | Instance method | Public | Method | Check and Complete (If Required) Object Texts | 20030205 |
2 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20010620 |
3 | GET_LOG_ENTRIES | Instance method | Public | Method | Get Stored Log Messages | 20010723 |
4 | MESSAGE_ADD | Instance method | Public | Method | Add Message to Log | 20010620 |
5 | MESSAGE_ADD_CODOC | Instance method | Public | Method | Add Message to Log | 20020114 |
6 | PRIV_BAL_INIT_DISPLAY_OPTIONS | Static method | Private | Method | Initialization Display Options | 20010620 |
7 | SHOW_LOG | Instance method | Public | Method | Display log | 20010620 |
8 | SHOW_LOG_DB | Static method | Public | Method | Display Log (From Database) | 20020311 |
9 | WRITE_LOG_TO_DB | Instance method | Public | Method | Save Log to Database | 20010730 |
Events
Class CL_HCP_MESSAGE_HANDLER has no event.
Types
Class CL_HCP_MESSAGE_HANDLER has no local type.
Method Signatures
Method CHECK_OBJECT_TEXTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | PLVAR | Call by reference | Type reference (TYPE) | PLVAR | Planvariante | 20030205 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | LOG_NOT_FOUND | Fehlerprotokoll nicht gefunden | 20030205 | |
2 | MSG_NOT_FOUND | Nachricht nicht gefunden | 20030205 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_LOG_ID | Value transfer | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 20011018 | ||
2 | Importing | IM_MSG_DAYS | Value transfer | Type reference (TYPE) | NUM03 | '30' | Zaehler | 20010620 | |
3 | Importing | IM_MSG_OBJECT | Value transfer | Type reference (TYPE) | BALOBJ_D | Anwendungs-Log: Objektname (Applikationskürzel) | 20010620 | ||
4 | Importing | IM_MSG_SUBOBJECT | Value transfer | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20010620 | ||
5 | Importing | IM_PLAN | Value transfer | Type reference (TYPE) | HRHCP_S_PLAN | Personalkostenplan | 20020326 | ||
6 | Importing | IM_REPID | Value transfer | Type reference (TYPE) | REPID | Abap-Reportname | 20020326 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CANNOT_CREATE_LOG | Loghandle kann nicht erzeugt werden | 20010620 |
Method GET_LOG_ENTRIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_LOGTAB | Call by reference | Type reference (TYPE) | HRHCP00_ERROR_TAB | Fehlertabelle | 20010723 | ||
2 | Importing | IM_CHECK_MSG_IN_LOG | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Nur Prüfen, ob Meldungen im Log | 20020306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | LOG_NOT_FOUND | Protokoll nicht gefunden | 20010723 | |
2 | MSG_NOT_FOUND | Protokolleintrag nicht gefunden | 20010723 |
Method MESSAGE_ADD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_MESSAGE | Value transfer | Type reference (TYPE) | HRCM_ERROR | Errorhandling | 20010620 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CANNOT_ADD_FREETEXT | Freitextmeldung kann nicht hinzugefügt werden | 20010620 | |
2 | CANNOT_ADD_MESSAGE | Meldung kann nicht hinzugefügt werden | 20010620 |
Method MESSAGE_ADD_CODOC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DOCLIN | Value transfer | Type reference (TYPE) | HRHCP_S_BAL_OBJECT_CODOC | Meldungsobjekt (BAL-Tool) Originalbeleg CO | 20020114 | ||
2 | Importing | IM_MESSAGE | Value transfer | Type reference (TYPE) | HRCM_ERROR | Errorhandling | 20020114 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CANNOT_ADD_FREETEXT | Freitextmeldung kann nicht hinzugefügt werden | 20020114 | |
2 | CANNOT_ADD_MESSAGE | Meldung kann nicht hinzugefügt werden | 20020114 |
Method PRIV_BAL_INIT_DISPLAY_OPTIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_DISPLAY_PROFILE | Value transfer | Type reference (TYPE) | BAL_S_PROF | Anwendungs-Log: Aufbereitungs-Profil für Protokollausgabe | 20010620 | ||
2 | Importing | IM_CALLBACK_PF_STATUS_SET | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | |||
3 | Importing | IM_CALLBACK_PROGRAM | Value transfer | Type reference (TYPE) | SY-REPID | 20010620 | |||
4 | Importing | IM_CALLBACK_USER_COMMAND | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | |||
5 | Importing | IM_FROM_DB | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | abgespeicherte Anwendungslogs anzeigen | 20020311 | |
6 | Importing | IM_HANDLE_ATTR | Value transfer | Type reference (TYPE) | T_HANDLE_ATTRIBUTES | Log Handle Attribute | 20020311 | ||
7 | Importing | IM_MARK_FLAG | Value transfer | Type reference (TYPE) | CHAR1 | 'X' | Einstelliges Kennzeichen | 20010620 | |
8 | Importing | IM_POPUP | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Kennzeichen: als Popup anzeigen | 20010620 | |
9 | Importing | IM_TITLE | Value transfer | Type reference (TYPE) | BALTITLE | SPACE | Anwendungs-Log: Titel des Dynpros | 20010620 |
Method PRIV_BAL_INIT_DISPLAY_OPTIONS on class CL_HCP_MESSAGE_HANDLER has no exception.
Method SHOW_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_CALLBACK_PF_STATUS_SET | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | |||
2 | Importing | IM_CALLBACK_PROGRAM | Value transfer | Type reference (TYPE) | SY-REPID | 20010620 | |||
3 | Importing | IM_CALLBACK_USER_COMMAND | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | |||
4 | Importing | IM_MARK_FLAG | Value transfer | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20010620 | ||
5 | Importing | IM_POPUP | Value transfer | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20010620 | ||
6 | Importing | IM_TITLE | Value transfer | Type reference (TYPE) | BALTITLE | Anwendungs-Log: Titel des Dynpros | 20010620 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SHOW_NOT_POSSIBLE | Anzeige des Protokolls nicht möglich | 20010620 |
Method SHOW_LOG_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Value transfer | Type reference (TYPE) | BALDATE | SY-DATUM | Anwendungs-Log: Datum | 20020726 | |
2 | Importing | IM_LOGID | Value transfer | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 20020704 | ||
3 | Importing | IM_MARK_FLAG | Value transfer | Type reference (TYPE) | CHAR1 | 'X' | Einstelliges Kennzeichen | 20020311 | |
4 | Importing | IM_REPID | Value transfer | Type reference (TYPE) | SY-REPID | aufrufender Report | 20020311 | ||
5 | Importing | IM_SKIP_SELSCREEN | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Selektionsbild überspringen | 20020704 | |
6 | Importing | IM_SUBOBJECT | Value transfer | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20020704 | ||
7 | Importing | IM_TIME | Value transfer | Type reference (TYPE) | BALTIME | SY-UZEIT | Anwendungs-Log: Uhrzeit | 20020726 | |
8 | Importing | IM_TITLE | Value transfer | Type reference (TYPE) | BALTITLE | Anwendungs-Log: Titel des Dynpros | 20020311 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_AUTHORITY | fehlende Berechtigung | 20020311 |
Method WRITE_LOG_TO_DB Signature
Method WRITE_LOG_TO_DB on class CL_HCP_MESSAGE_HANDLER has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SAVE_NOT_POSSIBLE | Speichern des Protokolls nicht möglich | 20010730 |
History
Last changed by/on | SAP | 20010620 |
SAP Release Created in | 110 |