SAP ABAP Class CL_SRM_RG_REF_COUNTER (RMG: Context Counter)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-RM (Application Component) SAP Records Management
⤷
SRM_RECORD_FACILITIES (Package) Tools and Add-Ons for Records Management
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SRM_RG_AUT_RULE_ELEMENT | RNG: WinUI for rule element | 20020717 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SRM_RG_PLACEHOLD_SUPPORT | Release Reference Counter Methods for Placeholder | 20030508 |
Properties
| Class | CL_SRM_RG_REF_COUNTER | |
| Short Description | RMG: Context Counter | |
| Super Class | CL_SRM_RG_AUT_RULE_ELEMENT | RNG: WinUI for rule element |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SRM_RECORD_FACILITIES | Tools and Add-Ons for Records Management |
| Created | 20020717 | SAP |
| Last change | 00000000 | 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SRM_RG_PLACEHOLD_SUPPORT | Release Reference Counter Methods for Placeholder | 20030508 |
Friends
Class CL_SRM_RG_REF_COUNTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'FILL' | Name for Infovalue: Fill up Number with Initial Zeros | 20020717 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'START_COUNT' | Name for Info Value: Counter Start (Lower Limit) | 20020718 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'USE_PLACE_HOLDER' | Name for Infovalue: Use Placeholder? | 20030507 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 1 | Default for Counter Start | 20020718 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Delete Unnecessary OUT Values of Selection Elements | 20020717 | |
| 2 | Instance method | Protected | Method | Get Current String | 20020719 | |
| 3 | Instance method | Public | Method | Get Data for Element from Database | 20020722 | |
| 4 | Instance method | Protected | Method | Get Unique Database Key for Counter Element | 20020719 | |
| 5 | Instance method | Public | Method | Get Current Highest Number | 20020719 | |
| 6 | Instance method | Protected | Method | Get Name of Corresponding Selection Elements | 20020718 | |
| 7 | Instance method | Public | Method | Gets a New Number | 20020719 | |
| 8 | Instance method | Protected | Method | Gets Result of Placeholder from Given Environment | 20030508 | |
| 9 | Instance method | Protected | Method | Get DB Key for Counter Record with Specific Context String | 20020719 | |
| 10 | Instance method | Protected | Method | Get String that Simulates Number (No Call) | 20020718 | |
| 11 | Instance method | Public | Method | Get All Data for Counter Element of Database | 20020722 | |
| 12 | Instance method | Public | Method | Get All Data for Counter Element of Database | 20020723 | |
| 13 | Instance method | Protected | Method | Sets Result of Placeholder in Given Environment | 20030508 |
Events
Class CL_SRM_RG_REF_COUNTER has no event.
Types
Class CL_SRM_RG_REF_COUNTER has no local type.
Method Signatures
Method ENV_REMOVE_UNNECESSARY_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20020719 |
Method ENV_REMOVE_UNNECESSARY_RESULTS on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_CONTEXT_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTEXT_STRING | Value transfer | Type reference (TYPE) | STRING | Der aktuelle Kontextstring | 20020719 | |||
| 2 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20020719 |
Method GET_CONTEXT_STRING on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_COUNTER_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER_DATA | Value transfer | Type reference (TYPE) | SRMRG_REF_COUNTER_DATA_TAB | Überblick über Datensätze des Zählers | 20020722 |
Method GET_COUNTER_DATA on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_COUNTER_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER_ID | Value transfer | Type reference (TYPE) | STRING | DB-Schlüssel des Zählerelements (leer, wenn nicht vorhand.) | 20020719 | |||
| 2 | CREATE | Value transfer | Type reference (TYPE) | SRMRF_BOOLEAN | SRMRF_FALSE | DB-Eintrag für Zählerelement anlegen, falls nicht vorhanden? | 20020719 | ||
| 3 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20020719 |
Method GET_COUNTER_ID on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_CURRENT_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTEXT_STRING | Value transfer | Type reference (TYPE) | STRING | String, für den hochgezählt werden soll | 20020719 | |||
| 2 | CURRENT_NUMBER | Value transfer | Type reference (TYPE) | SRMRGCOUNT | Derzeit höchste Nummer | 20020719 | |||
| 3 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20020719 |
Method GET_CURRENT_NUMBER on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_MARK_ELEM_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BEG_MARK_NAME | Value transfer | Type reference (TYPE) | STRING | Elementname der zugehörigen Startmarkierung | 20020718 | |||
| 2 | END_MARK_NAME | Value transfer | Type reference (TYPE) | STRING | Elementname der zugehörigen Endemarkierung | 20020718 | |||
| 3 | PLACE_HOLDER_NAME | Value transfer | Type reference (TYPE) | STRING | Elementname des zugehörigen Platzhalters | 20030507 |
Method GET_MARK_ELEM_NAMES on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_NEXT_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTEXT_STRING | Value transfer | Type reference (TYPE) | STRING | String, für den hochgezählt werden soll | 20020719 | |||
| 2 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20020719 | |||
| 3 | GENERATED_NUMBER | Value transfer | Type reference (TYPE) | SRMRGCOUNT | Generierte Nummer | 20020719 |
Method GET_NEXT_NUMBER on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_PLACEHOLDER_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20030508 | |||
| 2 | IM_RAISE_EXCEPTION | Value transfer | Type reference (TYPE) | SRMRF_BOOLEAN | SRMRF_FALSE | Exception, wenn Wert nicht vorhanden? | 20030508 | ||
| 3 | IM_VALUE_TYPE | Value transfer | Type reference (TYPE) | STRING | SRMRG_ENV_VALUE_TYPE_OUT | VAL | OUT | DBI (Konstanten SRMRG_ENV_VALUE_TYPE_*) | 20030508 | ||
| 4 | RE_PLACEHOLDER_RESULT | Value transfer | Type reference (TYPE) | STRING | Ergebnis des Platzhalters (aus dem gegeben Environment) | 20030508 |
Method GET_PLACEHOLDER_RESULT on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_RECORD_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTEXT_STRING | Value transfer | Type reference (TYPE) | STRING | Kontextstring, für den der Zählersatz zu suchen ist | 20020719 | |||
| 2 | COUNTER_ID | Value transfer | Type reference (TYPE) | STRING | DB-Schlüssel des Zählerelements (leer, wenn nicht vorhand.) | 20020719 | |||
| 3 | CREATE | Value transfer | Type reference (TYPE) | SRMRF_BOOLEAN | SRMRF_FALSE | DB-Eintrag für Kontextstring anlegen, falls nicht vorhanden? | 20020719 | ||
| 4 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20020719 | |||
| 5 | RECORD_ID | Value transfer | Type reference (TYPE) | STRING | DB-Schlüssel Zählersatz für geg. Kontextstring oder leer | 20020719 |
Method GET_RECORD_ID on class CL_SRM_RG_REF_COUNTER has no exception.
Method GET_SIMULATION_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DIGIT | Value transfer | Type reference (TYPE) | CHAR1 | '9' | Ziffer, die ausgegeben werden soll | 20030516 | ||
| 2 | RETURN | Value transfer | Type reference (TYPE) | STRING | Der Vorschaustring | 20020718 |
Method GET_SIMULATION_STRING on class CL_SRM_RG_REF_COUNTER has no exception.
Method REMOVE_COUNTER_DATA Signature
Method REMOVE_COUNTER_DATA on class CL_SRM_RG_REF_COUNTER has no parameter.
Method REMOVE_COUNTER_DATA on class CL_SRM_RG_REF_COUNTER has no exception.
Method RENAME_COUNTER_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CURR_ELEMENT_NAME | Value transfer | Type reference (TYPE) | STRING | Aktueller Elementname | 20020723 | |||
| 2 | NEW_ELEMENT_NAME | Value transfer | Type reference (TYPE) | STRING | Neuer Elementname | 20020723 |
Method RENAME_COUNTER_DATA on class CL_SRM_RG_REF_COUNTER has no exception.
Method SET_PLACEHOLDER_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENVIRONMENT | Value transfer | Object reference (TYPE REF TO) | CL_SRM_RF_VALUE_SET | Umgebung | 20030508 | |||
| 2 | IM_PLACEHOLDER_RESULT | Value transfer | Type reference (TYPE) | STRING | Ergebnis des Platzhalters | 20030508 | |||
| 3 | IM_VALUE_TYPE | Value transfer | Type reference (TYPE) | STRING | SRMRG_ENV_VALUE_TYPE_OUT | VAL | OUT | DBI (Konstanten SRMRG_ENV_VALUE_TYPE_*) | 20030508 |
Method SET_PLACEHOLDER_RESULT on class CL_SRM_RG_REF_COUNTER has no exception.
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 620 |