SAP ABAP Class MPLAN_TOOLS (General Help Functions)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PM-PRM-MP (Application Component) Maintenance Plans
     MPLAN_API (Package) Maintenance Plan API
Properties
Class MPLAN_TOOLS  
Short Description General Help Functions    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MPLAN_API   Maintenance Plan API 
Created 20060505   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class MPLAN_TOOLS has no forward declaration.
Interfaces
Class MPLAN_TOOLS has no interface implemented.
Friends
Class MPLAN_TOOLS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DFIES_BUFFER Instance attribute Private Type reference (TYPE) TLT_BUFFER Buffering of dfies Table 20060519
2 GR_REFERENCE Static Attribute Private Object reference (TYPE REF TO) MPLAN_TOOLS 20060505
3 GR_REFERENCE_SCHEDULING Static Attribute Private Object reference (TYPE REF TO) MPLAN_TOOLS General Help Functions 20081111
4 GV_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Log Handle 20060505
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_DATA_TYPE Instance method Private Method Check and Convert Data Types 20060519
2 CHECK_LIST_INTEGRITY Instance method Private Method Check List Parameter Structures 20060519
3 CHECK_PARAMETERS Instance method Private Method Check Transfer Parameters 20060519
4 CHECK_RETURN_TABLE Instance method Public Method Check Notifications in Notification Table 20060803
5 CHECK_SELOPTS Instance method Private Method Check Selection Options 20060519
6 COMPRESS_MESSAGES Instance method Private Method Remove Unnecessary Messages 20060828
7 COPY_FIELDS_UPDATE_FLAGS Instance method Public Method Copy Fields According to Update Flag 20060802
8 DO_SELECTION Instance method Public Method Execute Selection 20060519
9 FILL_UPDATE_FLAGS Instance method Public Method Fill Update Fields 20060711
10 GET_DFIES_BUFFERED Instance method Private Method Read Dictionary Meta Data from Buffer 20060519
11 GET_MESSAGES Instance method Public Method Export Application Log 20060505
12 GET_REFERENCE Static method Public Method Reference to Self 20060505
13 GET_TEMPLATE Instance method Public Method Read Selection Screen Template 20060530
14 INIT_LOGGING Instance method Public Method Initialize Log 20060511
15 INSERT_WARPL_MESSAGE Instance method Public Method Save Message 20060811
16 REMOVE_LAST Instance method Private Method Delete Previous Notification 20060830
17 STORE_MESSAGE Instance method Public Method Save Message 20060505
Events
Class MPLAN_TOOLS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TLS_BUFFER Private See coding 20060519 BEGIN OF tls_buffer, tabname TYPE ddobjname, t_dfies TYPE tlt_dfies, END OF tls_buffer
2 TLT_BUFFER Private See coding 20060519 tlt_buffer TYPE STANDARD TABLE OF tls_buffer
3 TLT_DFIES Private See coding 20060519 tlt_dfies TYPE STANDARD TABLE OF dfies WITH DEFAULT KEY
Method Signatures

Method CHECK_DATA_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Feldname 20060519
2 Importing ROLLNAME Call by reference Type reference (TYPE) ROLLNAME Datenelement (semantische Domäne) 20060519
3 Importing VALUE Call by reference Type reference (TYPE) TVARV_VAL ABAP: Selektionswert (LOW-od. HIGH-Wert, externes Format) 20060519
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060519

Method CHECK_LIST_INTEGRITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PAR_INT Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20060519
2 Importing REPORT Call by reference Type reference (TYPE) RALDB_REPO Reportname 20060519
3 Importing SEL_INT Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20060519
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060519

Method CHECK_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PAR_INT Call by reference Type reference (TYPE) DDOBJNAME Name der Parameterstrukutr 20060519
2 Importing RANGES Call by reference Type reference (TYPE) MPLAN_LIST_RANGES_T Selektionsparameter 20060519
3 Exporting RANGES_INT Call by reference Type reference (TYPE) RSPARAMS_TT ABAP: Allg. Struktur für Parameters und Select-Options 20060519
4 Importing SEL_INT Call by reference Type reference (TYPE) DDOBJNAME Name der Selektionsoptionenstrukur 20060519
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060519

Method CHECK_RETURN_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting NUMBER_OF_ERRORS Call by reference Type reference (TYPE) INT4 Anzahl Fehlermeldungen 20060803
2 Exporting NUMBER_OF_INFO_SUCCESS Call by reference Type reference (TYPE) INT4 Anzahl Info-/Erfolgsmeldungen 20060803
3 Exporting NUMBER_OF_MESSAGES Call by reference Type reference (TYPE) INT4 Anzahl der Meldungen 20060803
4 Exporting NUMBER_OF_WARNINGS Call by reference Type reference (TYPE) INT4 Anzahl Warnungen 20060803
5 Importing RETURN Call by reference Type reference (TYPE) BAPIRETTAB Zu analysiserende Meldungstabelle 20060803

Method CHECK_RETURN_TABLE on class MPLAN_TOOLS has no exception.

Method CHECK_SELOPTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RANGES Call by reference Type reference (TYPE) MPLAN_LIST_RANGES Selektionsoption 20060519
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060519

Method COMPRESS_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NUMBERSWITCH Call by reference Type reference (TYPE) MPLAN_NUMBERSWITCH_T Geänderte Nummer bei Anlegen eines Wartungsplans 20061012
2 Changing RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20060828

Method COMPRESS_MESSAGES on class MPLAN_TOOLS has no exception.

Method COPY_FIELDS_UPDATE_FLAGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing STRUCTNAME Call by reference Type reference (TYPE) DDOBJNAME Name der Struktur 20060802
2 Changing STRUCTURE_NEW Call by reference Type reference (TYPE) ANY 20060802
3 Importing STRUCTURE_OLD Call by reference Type reference (TYPE) ANY 20060802
4 Importing UPDATE Call by reference Type reference (TYPE) ANY 20060802
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060802

Method DO_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PAR_INT Call by reference Type reference (TYPE) DDOBJNAME Name der Parameterstrukutr 20060519
2 Importing RANGES Call by reference Type reference (TYPE) MPLAN_LIST_RANGES_T Selektionsparameter 20060519
3 Importing REPORT Call by reference Type reference (TYPE) RALDB_REPO Reportname 20060519
4 Importing SEL_INT Call by reference Type reference (TYPE) DDOBJNAME Name der Selektionsoptionstruktur 20060519
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060519

Method FILL_UPDATE_FLAGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing STRUCTNAME Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20060711
2 Importing STRUCTURE_NEW Call by reference Type reference (TYPE) ANY 20060711
3 Importing STRUCTURE_OLD Call by reference Type reference (TYPE) ANY 20060711
4 Changing UPDATE Call by reference Type reference (TYPE) ANY 20060711
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060711

Method GET_DFIES_BUFFERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DFIES Call by reference Type reference (TYPE) DFIES_TABLE DD-Schnittstelle: Tabellenfelder für DDIF_FIELDINFO_GET 20060519
2 Importing TABLENAME Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20060519
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060519

Method GET_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NUMBERSWITCH Call by reference Type reference (TYPE) MPLAN_NUMBERSWITCH_T Geänderte Nummer bei Anlegen eines Wartungsplans 20061012
2 Exporting RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20060505

Method GET_MESSAGES on class MPLAN_TOOLS has no exception.

Method GET_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPLICATION Call by reference Type reference (TYPE) BOOLEAN ' '=Stammdaten 'S'=Terminierung 20081111
2 Returning REFERENCE Value transfer Object reference (TYPE REF TO) MPLAN_TOOLS Allgemeine Hilfsfunktionen 20060505

Method GET_REFERENCE on class MPLAN_TOOLS has no exception.

Method GET_TEMPLATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PARAMETERS Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20060530
2 Importing SELECT_OPTIONS Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20060530
3 Exporting TEMPLATE Call by reference Type reference (TYPE) MPLAN_LIST_RANGES_T Felder auf dem Selektionsbild 20060530
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060530

Method INIT_LOGGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20060511
# Exception Resumable Description Created on
1 CX_MPLAN_EXCEPTION_ROOT Allgemeine Ausnahme Wartungsplan API 20060511

Method INSERT_WARPL_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20060811
2 Importing WARPL Call by reference Type reference (TYPE) WARPL Wartungsplan 20060811

Method INSERT_WARPL_MESSAGE on class MPLAN_TOOLS has no exception.

Method REMOVE_LAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20060830
2 Importing TABIX Call by reference Type reference (TYPE) SYTABIX Index+1 20060830

Method REMOVE_LAST on class MPLAN_TOOLS has no exception.

Method STORE_MESSAGE Signature

Method STORE_MESSAGE on class MPLAN_TOOLS has no parameter.
Method STORE_MESSAGE on class MPLAN_TOOLS has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700