SAP ABAP Class CL_MPD_COUNTERDATA_DB (MPD: Database layer for the Counter Data)
Hierarchy
☛
ECC-DIMP (Software Component) DIMP
⤷
IS-AD-MPD (Application Component) Maintenance Program Definition
⤷
AD_MPD (Package) Maintenance Program Definition

⤷

⤷

Properties
Class | CL_MPD_COUNTERDATA_DB | |
Short Description | MPD: Database layer for the Counter Data | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | AD_MPD | Maintenance Program Definition |
Created | 20040224 | SAP |
Last change | 20050301 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_MPD_COUNTERDATA_DB has no forward declaration.
Interfaces
Class CL_MPD_COUNTERDATA_DB has no interface implemented.
Friends
Class CL_MPD_COUNTERDATA_DB has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Type reference (TYPE) | LTT_MPDCD | 20040224 | |||
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | LTT_MPDCD_LOCK | 20040224 | |||
3 | ![]() |
Static Attribute | Private | Type reference (TYPE) | LTT_MPDCD | 20040224 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Creates new counter data | 20040227 |
2 | ![]() |
Static method | Public | Method | Deletes an entry from the database | 20040227 |
3 | ![]() |
Static method | Private | Method | Compares buffers | 20040227 |
4 | ![]() |
Static method | Public | Method | Initializes the internal buffers | 20040224 |
5 | ![]() |
Static method | Public | Method | Updates the counter data | 20040514 |
6 | ![]() |
Static method | Public | Method | Reads the entries from the database according to the p&s id | 20040302 |
7 | ![]() |
Static method | Public | Method | Reads the entries from the database according to the equi | 20040224 |
8 | ![]() |
Static method | Public | Method | Reads the entries from the database according to the floc | 20040224 |
9 | ![]() |
Static method | Public | Method | Saves the counter data | 20040302 |
10 | ![]() |
Static method | Public | Method | Unlocking mechanism | 20040227 |
11 | ![]() |
Static method | Private | Method | Updates buffers after reading from database | 20040225 |
Events
Class CL_MPD_COUNTERDATA_DB has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | LST_MPDCD_LOCK | Private | See coding | 20040224 | BEGIN OF lst_mpdcd_lock,
mandt TYPE mandt,
psguid TYPE mpd_docid,
equnr type equnr,
tplnr type tplnr,
lock TYPE xfeld,
END OF lst_mpdcd_lock
|
||
2 | LTT_MPDCD | Private | See coding | 20040224 | ltt_mpdcd TYPE TABLE OF mpdcd
|
||
3 | LTT_MPDCD_LOCK | Private | See coding | 20040224 | ltt_mpdcd_lock TYPE SORTED TABLE OF lst_mpdcd_lock
WITH UNIQUE KEY mandt psguid equnr tplnr
|
Method Signatures
Method CREATE_COUNTER_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_COUNTERDATA | Call by reference | Type reference (TYPE) | MPDCD_TAB | 20040227 |
Method CREATE_COUNTER_DATA on class CL_MPD_COUNTERDATA_DB has no exception.
Method DELETE_COUNTERDATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_COUNTERDATA | Call by reference | Type reference (TYPE) | MPDCD | MPD: Zählerdaten zu Positionen auf Instandhaltungsdokument | 20040227 |
Method DELETE_COUNTERDATA on class CL_MPD_COUNTERDATA_DB has no exception.
Method DELTA_MNG Signature
Method DELTA_MNG on class CL_MPD_COUNTERDATA_DB has no parameter.
Method DELTA_MNG on class CL_MPD_COUNTERDATA_DB has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_MPD_COUNTERDATA_DB has no parameter.
Method INITIALIZE on class CL_MPD_COUNTERDATA_DB has no exception.
Method MODIFY_COUNTERDATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_COUNTERDATA | Call by reference | Type reference (TYPE) | MPDCD | MPD: Zählerdaten zu Positionen auf Instandhaltungsdokument | 20040514 | ||
2 | ![]() |
IV_MODIFY_ALL | Call by reference | Type reference (TYPE) | XFELD | Checkbox: if all counter data has to be modified for P&S id | 20040715 |
Method MODIFY_COUNTERDATA on class CL_MPD_COUNTERDATA_DB has no exception.
Method READ_COUNTERDATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_COUNTERDATA | Call by reference | Type reference (TYPE) | MPDCD_TAB | 20040302 | |||
2 | ![]() |
IV_LOCK | Call by reference | Type reference (TYPE) | XFELD | 20040302 | |||
3 | ![]() |
IV_PSDATA_GUID | Call by reference | Type reference (TYPE) | MPD_DOCID | 20040302 | |||
4 | ![]() |
IV_PSDATA_WSET | Call by reference | Type reference (TYPE) | WSET | Cycle set for multiple counter plan | 20040616 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20040302 | ||
2 | ![]() |
20040302 | ||
3 | ![]() |
20040302 |
Method READ_COUNTERDATA_EQUNR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_COUNTERDATA | Call by reference | Type reference (TYPE) | MPDCD_TAB | 20040224 | |||
2 | ![]() |
IV_EQUNR | Call by reference | Type reference (TYPE) | EQUNR | Equipment-Nummer | 20040224 | ||
3 | ![]() |
IV_LOCK | Call by reference | Type reference (TYPE) | XFELD | ' ' | Ankreuzfeld | 20040224 | |
4 | ![]() |
IV_PSDATA_GUID | Call by reference | Type reference (TYPE) | MPD_DOCID | 20040224 | |||
5 | ![]() |
IV_PSDATA_WSET | Call by reference | Type reference (TYPE) | WSET | Cycle set for multiple counter plan | 20040616 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20040224 | ||
2 | ![]() |
20040224 | ||
3 | ![]() |
20040224 |
Method READ_COUNTERDATA_TPLNR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_COUNTERDATA | Call by reference | Type reference (TYPE) | MPDCD_TAB | 20040224 | |||
2 | ![]() |
IV_LOCK | Call by reference | Type reference (TYPE) | XFELD | ' ' | Ankreuzfeld | 20040224 | |
3 | ![]() |
IV_PSDATA_GUID | Call by reference | Type reference (TYPE) | MPD_DOCID | 20040224 | |||
4 | ![]() |
IV_PSDATA_WSET | Call by reference | Type reference (TYPE) | WSET | Cycle set for multiple counter plan | 20040616 | ||
5 | ![]() |
IV_TPLNR | Call by reference | Type reference (TYPE) | TPLNR | Technischer Platz | 20040224 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20040224 | ||
2 | ![]() |
20040224 | ||
3 | ![]() |
20040224 |
Method SAVE_COUNTERDATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EXECUTE_COMMIT | Call by reference | Type reference (TYPE) | XFELD | Ankreuzfeld | 20040302 |
Method SAVE_COUNTERDATA on class CL_MPD_COUNTERDATA_DB has no exception.
Method UNLOCK_COUNTERDATA Signature
Method UNLOCK_COUNTERDATA on class CL_MPD_COUNTERDATA_DB has no parameter.
Method UNLOCK_COUNTERDATA on class CL_MPD_COUNTERDATA_DB has no exception.
Method UPDATE_BUFFERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_MPDCD | Call by reference | Type reference (TYPE) | MPDCD_TAB | 20040225 | |||
2 | ![]() |
IV_MULTI_UPDATE | Call by reference | Type reference (TYPE) | XFELD | Ankreuzfeld | 20040225 |
Method UPDATE_BUFFERS on class CL_MPD_COUNTERDATA_DB has no exception.
History
Last changed by/on | SAP | 20050301 |
SAP Release Created in | 500 |