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 CURRENT_BUFFER Static Attribute Private Type reference (TYPE) LTT_MPDPSD 20040121
2 LOCK_BUFFER Static Attribute Private Type reference (TYPE) LTT_MPDPSD_LOCK 20040121
3 ORIGINAL_BUFFER Static Attribute Private Type reference (TYPE) LTT_MPDPSD 20040121
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_PSDATA_SINGLE Static method Public Method Creates an single entry in the database 20040121
2 DELETE_PSDATA_SINGLE Static method Public Method Deletes an entry from the database 20040121
3 DELTA_MNG Static method Private Method Compares buffers 20040121
4 INITIALIZE Static method Public Method Initializes the internal buffers 20040121
5 MODIFY_PSDATA_SINGLE Static method Public Method Modifies an entry in the database 20040121
6 READ_PSDATA_ARRAY Static method Public Method Reads the entries from the database 20040318
7 READ_PSDATA_CV04N Static method Public Method Reads the entries for the document selection 20040511
8 READ_PSDATA_SINGLE Static method Public Method Reads the single entry from the database 20040121
9 SAVE_PSDATA Static method Public Method Saves the planning and scheduling data 20040121
10 UNLOCK_PSDATA Static method Public Method Unlocking mechanism 20040122
11 UPDATE_BUFFERS 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 Exporting ES_PSDATA Call by reference Type reference (TYPE) MPDPSD MPD: Planungs- und Terminierungsdaten 20040121
2 Importing 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 Importing 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 Importing 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 Exporting ET_PSDATA Call by reference Type reference (TYPE) MPDPSD_TAB Tabellentyp für Planungs- und Terminierungsdaten 20040318
2 Importing IS_DOC_KEY Call by reference Type reference (TYPE) MPD_DOCUMENT_KEY MPD: Struktur für Dokumentschlüssel 20040318
3 Importing IV_LOCK Call by reference Type reference (TYPE) XFELD ' ' Ankreuzfeld 20040318
# Exception Resumable Description Created on
1 DATA_LOCKED 20040318

Method READ_PSDATA_CV04N Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PSDATA Call by reference Type reference (TYPE) MPDPSD_TAB Tabellentyp für Planungs- und Terminierungsdaten 20040511
2 Importing 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 Exporting ES_PSDATA Call by reference Type reference (TYPE) MPDPSD MPD: Planungs- und Terminierungsdaten 20040121
2 Importing IS_DOC_KEY Call by reference Type reference (TYPE) MPD_DOCUMENT_KEY MPD: Struktur für Dokumentschlüssel 20040121
3 Importing IV_LOCK Call by reference Type reference (TYPE) XFELD ' ' Ankreuzfeld 20040121
4 Importing IV_PSDATA_GUID Call by reference Type reference (TYPE) MPD_DOCID MPD: Planning and Scheduling Data Identificator 20040121
# Exception Resumable Description Created on
1 DATA_MARKED_FOR_DELETION Planning and Scheduling data marked for deletion 20040203
2 NOT_FOUND Planning and Scheduling data does not exist 20040203
3 UNABLE_READ_WITH_LOCK 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 Importing 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 Importing IT_MPDPSD Call by reference Type reference (TYPE) MPDPSD_TAB Tabellentyp für Planungs- und Terminierungsdaten 20040407
2 Importing 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