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
⤷
⤷
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 | 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_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 | Constant | Public | Type reference (TYPE) | BALOBJ_D | 'HCP' | Application log: Object name (Application code) | 20011127 | ||
| 2 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'DC' | Application Log: Subobject | 20011127 | ||
| 3 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'PD' | Application Log: Subobject | 20011127 | ||
| 4 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'PO' | Application Log: Subobject | 20020131 | ||
| 5 | Constant | Public | Type reference (TYPE) | BALSUBOBJ | 'PL' | Application Log: Subobject | 20011127 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR1 | '2' | Single-Character Indicator | 20010620 | ||
| 7 | Constant | Private | Type reference (TYPE) | CHAR1 | SPACE | Single-Character Indicator | 20010620 | ||
| 8 | Constant | Private | Type reference (TYPE) | CHAR1 | '1' | Single-Character Indicator | 20010620 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | T_HANDLE_ATTRIBUTES | Handle Attributes | 20010621 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20010620 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check and Complete (If Required) Object Texts | 20030205 | |
| 2 | Instance method | Public | Constructor | Constructor | 20010620 | |
| 3 | Instance method | Public | Method | Get Stored Log Messages | 20010723 | |
| 4 | Instance method | Public | Method | Add Message to Log | 20010620 | |
| 5 | Instance method | Public | Method | Add Message to Log | 20020114 | |
| 6 | Static method | Private | Method | Initialization Display Options | 20010620 | |
| 7 | Instance method | Public | Method | Display log | 20010620 | |
| 8 | Static method | Public | Method | Display Log (From Database) | 20020311 | |
| 9 | 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 | PLVAR | Call by reference | Type reference (TYPE) | PLVAR | Planvariante | 20030205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehlerprotokoll nicht gefunden | 20030205 | ||
| 2 | Nachricht nicht gefunden | 20030205 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_LOG_ID | Value transfer | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 20011018 | |||
| 2 | IM_MSG_DAYS | Value transfer | Type reference (TYPE) | NUM03 | '30' | Zaehler | 20010620 | ||
| 3 | IM_MSG_OBJECT | Value transfer | Type reference (TYPE) | BALOBJ_D | Anwendungs-Log: Objektname (Applikationskürzel) | 20010620 | |||
| 4 | IM_MSG_SUBOBJECT | Value transfer | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20010620 | |||
| 5 | IM_PLAN | Value transfer | Type reference (TYPE) | HRHCP_S_PLAN | Personalkostenplan | 20020326 | |||
| 6 | IM_REPID | Value transfer | Type reference (TYPE) | REPID | Abap-Reportname | 20020326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EX_LOGTAB | Call by reference | Type reference (TYPE) | HRHCP00_ERROR_TAB | Fehlertabelle | 20010723 | |||
| 2 | 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 | Protokoll nicht gefunden | 20010723 | ||
| 2 | Protokolleintrag nicht gefunden | 20010723 |
Method MESSAGE_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MESSAGE | Value transfer | Type reference (TYPE) | HRCM_ERROR | Errorhandling | 20010620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Freitextmeldung kann nicht hinzugefügt werden | 20010620 | ||
| 2 | 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 | IM_DOCLIN | Value transfer | Type reference (TYPE) | HRHCP_S_BAL_OBJECT_CODOC | Meldungsobjekt (BAL-Tool) Originalbeleg CO | 20020114 | |||
| 2 | IM_MESSAGE | Value transfer | Type reference (TYPE) | HRCM_ERROR | Errorhandling | 20020114 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Freitextmeldung kann nicht hinzugefügt werden | 20020114 | ||
| 2 | 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 | EX_DISPLAY_PROFILE | Value transfer | Type reference (TYPE) | BAL_S_PROF | Anwendungs-Log: Aufbereitungs-Profil für Protokollausgabe | 20010620 | |||
| 2 | IM_CALLBACK_PF_STATUS_SET | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | ||||
| 3 | IM_CALLBACK_PROGRAM | Value transfer | Type reference (TYPE) | SY-REPID | 20010620 | ||||
| 4 | IM_CALLBACK_USER_COMMAND | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | ||||
| 5 | IM_FROM_DB | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | abgespeicherte Anwendungslogs anzeigen | 20020311 | ||
| 6 | IM_HANDLE_ATTR | Value transfer | Type reference (TYPE) | T_HANDLE_ATTRIBUTES | Log Handle Attribute | 20020311 | |||
| 7 | IM_MARK_FLAG | Value transfer | Type reference (TYPE) | CHAR1 | 'X' | Einstelliges Kennzeichen | 20010620 | ||
| 8 | IM_POPUP | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Kennzeichen: als Popup anzeigen | 20010620 | ||
| 9 | 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 | IM_CALLBACK_PF_STATUS_SET | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | ||||
| 2 | IM_CALLBACK_PROGRAM | Value transfer | Type reference (TYPE) | SY-REPID | 20010620 | ||||
| 3 | IM_CALLBACK_USER_COMMAND | Value transfer | Type reference (TYPE) | SLIS_FORMNAME | 20010620 | ||||
| 4 | IM_MARK_FLAG | Value transfer | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20010620 | |||
| 5 | IM_POPUP | Value transfer | Type reference (TYPE) | CHAR1 | Einstelliges Kennzeichen | 20010620 | |||
| 6 | IM_TITLE | Value transfer | Type reference (TYPE) | BALTITLE | Anwendungs-Log: Titel des Dynpros | 20010620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IM_DATE | Value transfer | Type reference (TYPE) | BALDATE | SY-DATUM | Anwendungs-Log: Datum | 20020726 | ||
| 2 | IM_LOGID | Value transfer | Type reference (TYPE) | BALNREXT | Anwendungs-Log: Externe Identifikation | 20020704 | |||
| 3 | IM_MARK_FLAG | Value transfer | Type reference (TYPE) | CHAR1 | 'X' | Einstelliges Kennzeichen | 20020311 | ||
| 4 | IM_REPID | Value transfer | Type reference (TYPE) | SY-REPID | aufrufender Report | 20020311 | |||
| 5 | IM_SKIP_SELSCREEN | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Selektionsbild überspringen | 20020704 | ||
| 6 | IM_SUBOBJECT | Value transfer | Type reference (TYPE) | BALSUBOBJ | Anwendungs-Log: Unterobjekt | 20020704 | |||
| 7 | IM_TIME | Value transfer | Type reference (TYPE) | BALTIME | SY-UZEIT | Anwendungs-Log: Uhrzeit | 20020726 | ||
| 8 | IM_TITLE | Value transfer | Type reference (TYPE) | BALTITLE | Anwendungs-Log: Titel des Dynpros | 20020311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | Speichern des Protokolls nicht möglich | 20010730 |
History
| Last changed by/on | SAP | 20010620 |
| SAP Release Created in | 110 |