SAP ABAP Class CL_MPD_PSDATA_DB (MPD: Database layer for the Planning & Scheduling 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_PSDATA_DB | |
| Short Description | MPD: Database layer for the Planning & Scheduling 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 | 20040121 | SAP |
| Last change | 20050301 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_MPD_PSDATA_DB has no forward declaration.
Interfaces
Class CL_MPD_PSDATA_DB has no interface implemented.
Friends
Class CL_MPD_PSDATA_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_MPDPSD | 20040121 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | LTT_MPDPSD_LOCK | 20040121 | ||||
| 3 | Static Attribute | Private | Type reference (TYPE) | LTT_MPDPSD | 20040121 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Creates an single entry in the database | 20040121 | |
| 2 | Static method | Public | Method | Deletes an entry from the database | 20040121 | |
| 3 | Static method | Private | Method | Compares buffers | 20040121 | |
| 4 | Static method | Public | Method | Initializes the internal buffers | 20040121 | |
| 5 | Static method | Public | Method | Modifies an entry in the database | 20040121 | |
| 6 | Static method | Public | Method | Reads the entries from the database | 20040318 | |
| 7 | Static method | Public | Method | Reads the entries for the document selection | 20040511 | |
| 8 | Static method | Public | Method | Reads the single entry from the database | 20040121 | |
| 9 | Static method | Public | Method | Saves the planning and scheduling data | 20040121 | |
| 10 | Static method | Public | Method | Unlocking mechanism | 20040122 | |
| 11 | Static method | Private | Method | Updates buffers after reading from database | 20040407 |
Events
Class CL_MPD_PSDATA_DB has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LST_MPDPSD_LOCK | Private | See coding | 20040121 | BEGIN OF lst_mpdpsd_lock,
mandt TYPE mandt,
psguid TYPE mpd_docid,
lock TYPE xfeld,
END OF lst_mpdpsd_lock
|
||
| 2 | LTT_MPDPSD | Private | See coding | 20040121 | ltt_mpdpsd TYPE TABLE OF mpdpsd
|
||
| 3 | LTT_MPDPSD_LOCK | Private | See coding | 20040121 | ltt_mpdpsd_lock TYPE SORTED TABLE OF lst_mpdpsd_lock
WITH UNIQUE KEY mandt psguid
|
Method Signatures
Method CREATE_PSDATA_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD | MPD: Planungs- und Terminierungsdaten | 20040121 | |||
| 2 | IS_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD | MPD: Planungs- und Terminierungsdaten | 20040121 |
Method CREATE_PSDATA_SINGLE on class CL_MPD_PSDATA_DB has no exception.
Method DELETE_PSDATA_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD | MPD: Planungs- und Terminierungsdaten | 20040121 |
Method DELETE_PSDATA_SINGLE on class CL_MPD_PSDATA_DB has no exception.
Method DELTA_MNG Signature
Method DELTA_MNG on class CL_MPD_PSDATA_DB has no parameter.
Method DELTA_MNG on class CL_MPD_PSDATA_DB has no exception.
Method INITIALIZE Signature
Method INITIALIZE on class CL_MPD_PSDATA_DB has no parameter.
Method INITIALIZE on class CL_MPD_PSDATA_DB has no exception.
Method MODIFY_PSDATA_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD | MPD: Planungs- und Terminierungsdaten | 20040121 |
Method MODIFY_PSDATA_SINGLE on class CL_MPD_PSDATA_DB has no exception.
Method READ_PSDATA_ARRAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD_TAB | Tabellentyp für Planungs- und Terminierungsdaten | 20040318 | |||
| 2 | IS_DOC_KEY | Call by reference | Type reference (TYPE) | MPD_DOCUMENT_KEY | MPD: Struktur für Dokumentschlüssel | 20040318 | |||
| 3 | IV_LOCK | Call by reference | Type reference (TYPE) | XFELD | ' ' | Ankreuzfeld | 20040318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20040318 |
Method READ_PSDATA_CV04N Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD_TAB | Tabellentyp für Planungs- und Terminierungsdaten | 20040511 | |||
| 2 | IS_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD | MPD: Planungs- und Terminierungsdaten | 20040511 |
Method READ_PSDATA_CV04N on class CL_MPD_PSDATA_DB has no exception.
Method READ_PSDATA_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PSDATA | Call by reference | Type reference (TYPE) | MPDPSD | MPD: Planungs- und Terminierungsdaten | 20040121 | |||
| 2 | IS_DOC_KEY | Call by reference | Type reference (TYPE) | MPD_DOCUMENT_KEY | MPD: Struktur für Dokumentschlüssel | 20040121 | |||
| 3 | IV_LOCK | Call by reference | Type reference (TYPE) | XFELD | ' ' | Ankreuzfeld | 20040121 | ||
| 4 | IV_PSDATA_GUID | Call by reference | Type reference (TYPE) | MPD_DOCID | MPD: Planning and Scheduling Data Identificator | 20040121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Planning and Scheduling data marked for deletion | 20040203 | ||
| 2 | Planning and Scheduling data does not exist | 20040203 | ||
| 3 | Unable to read the data with lock | 20040203 |
Method SAVE_PSDATA 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 | 20040121 |
Method SAVE_PSDATA on class CL_MPD_PSDATA_DB has no exception.
Method UNLOCK_PSDATA Signature
Method UNLOCK_PSDATA on class CL_MPD_PSDATA_DB has no parameter.
Method UNLOCK_PSDATA on class CL_MPD_PSDATA_DB has no exception.
Method UPDATE_BUFFERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MPDPSD | Call by reference | Type reference (TYPE) | MPDPSD_TAB | Tabellentyp für Planungs- und Terminierungsdaten | 20040407 | |||
| 2 | IV_MULTI_UPDATE | Call by reference | Type reference (TYPE) | XFELD | Ankreuzfeld | 20040407 |
Method UPDATE_BUFFERS on class CL_MPD_PSDATA_DB has no exception.
History
| Last changed by/on | SAP | 20050301 |
| SAP Release Created in | 500 |