SAP ABAP Class CL_MI_PACKAGE_GENERATION (Client Package Admin and monitoring)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MOB (Application Component) SAP NetWeaver Mobile - Use subcomponents
     S_ME_MGMT (Package) Mobile: Device Management
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MGMT_CONSTANTS Contants for Device Management 20050214
Properties
Class CL_MI_PACKAGE_GENERATION  
Short Description Client Package Admin and monitoring    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_ME_MGMT   Mobile: Device Management 
Created 20050208   SAP 
Last change 20060912   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_MGMT_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_MGMT_CONSTANTS Contants for Device Management 20050214
Friends
Class CL_MI_PACKAGE_GENERATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 IF_MSG_CLASS Instance attribute Public Attribute reference (LIKE) 20050215
2 IF_MSG_ERROR Instance attribute Public Attribute reference (LIKE) 20050215
3 IF_MSG_INFO Instance attribute Public Attribute reference (LIKE) 20050620
4 IF_MSG_INSERT Instance attribute Public Attribute reference (LIKE) 20050406
5 IF_MSG_SUCCESS Instance attribute Public Attribute reference (LIKE) 20050215
6 IF_MSG_UPDATE Instance attribute Public Attribute reference (LIKE) 20050406
7 IF_MSG_WARNING Instance attribute Public Attribute reference (LIKE) 20050215
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_PACKAGE Instance method Public Method add a new package to list 20050208
2 DELETE_HEAD_FROM_DB Instance method Private Method removes a package from db 20050214
3 DELETE_ITEMS_FROM_DB Instance method Private Method reoves package items from db# 20050214
4 DELETE_LOG_FROM_DB Instance method Private Method removes all log messages from db 20050214
5 DELETE_PACKAGE Instance method Public Method removes all package information from list 20050208
6 DELETE_TEMPLATES_DB Instance method Private Method remove corresponding templates 20050519
7 GET_DETAIL_FROM_DB Instance method Private Method 20050214
8 GET_DETAIL_OF_PACKAGES Instance method Public Method read all detail information for the given packages 20050208
9 GET_LIST_OF_PACKAGES Instance method Public Method read all header information for search criterias 20050208
10 GET_LOG_ENTRIES_FROM_DB Instance method Public Method reads all log informations concerning to the package 20050208
11 GET_PACKAGE_FROM_DB Instance method Private Method 20050208
12 GET_PACKAGE_SINGLE Instance method Public Method 20050510
13 GET_PACKAGE_TYPE_FROM_DB Instance method Private Method 20050208
14 GET_TEMPLATES_DB Instance method Private Method get the backup of templetes from db 20050519
15 SET_BAPIRETURN Static method Public Method fills the structure bapireturn 20050214
16 SET_DEVICE_ID Static method Public Method Checks if Device-Id is available 20050331
17 SET_LOG_ENTRIES_TO_DB Instance method Public Method create or add a new Log entry 20050208
18 SET_PACKAGE_HEAD_DB Instance method Private Method creates a new package header in db 20050209
19 SET_PACKAGE_ITEM_DB Instance method Private Method 20050209
20 SET_PACKAGE_STATUS Instance method Public Method updates the header informaition and writes a status entry 20050216
21 SET_PACKAGE_STAT_DB Instance method Private Method creates a new status entry within the history 20050216
22 SET_STATUS_OF_PACKAGE Instance method Public Method set the current status of package generation 20050208
23 SET_TEMPLATES_DB Instance method Private Method backup of templetes to db 20050519
24 UPDATE_PACKAGE Instance method Public Method 20050208
25 UPDATE_PACKAGE_HEAD_DB Instance method Private Method updates existing package informations 20050209
26 UPDATE_PACKAGE_ITEM_DB Instance method Private Method updates the given item in database 20050209
27 UPDATE_TEMPLATES_DB Instance method Private Method update template list 20050519
Events
Class CL_MI_PACKAGE_GENERATION has no event.
Types
Class CL_MI_PACKAGE_GENERATION has no local type.
Method Signatures

Method CREATE_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return-Parameter 20050209
2 Importing I_PACKAGE_HEAD Call by reference Type reference (TYPE) MEMGMT_PACKAGE_HEAD 20050209
3 Importing I_PACKAGE_ITEMS Call by reference Type reference (TYPE) MIPACKAGE_ITEM_TAB Objekte des Installationspakets 20050209
4 Importing I_PACKAGE_TEMPL Call by reference Type reference (TYPE) MIPACK_TEMPL_TAB Sicherung der Vorlagen zum Erstellungszeitpunkt 20050519
# Exception Resumable Description Created on
1 DB_ERROR 20050209
2 INVALID_PARAMETER Die Werte einiger Parameter werden überprüft 20050208
3 PACKAGE_ALREADY_EXISTS Paketname ist eindeutig und wird überprüft 20050208

Method DELETE_HEAD_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050214
2 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE 20050214
# Exception Resumable Description Created on
1 DB_ERROR 20050214
2 NOT_FOUND 20050214

Method DELETE_ITEMS_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME 20050214
2 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE 20050214
# Exception Resumable Description Created on
1 DB_ERROR 20050215
2 NOT_FOUND 20050215

Method DELETE_LOG_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME 20050214
2 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE 20050214
# Exception Resumable Description Created on
1 DB_ERROR 20050215
2 NOT_FOUND 20050215

Method DELETE_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return-Parameter 20050214
2 Importing I_PACKAGE_HEAD Call by reference Type reference (TYPE) MEMGMT_PACKAGE_HEAD Header-Informationen für Pakete 20050214

Method DELETE_PACKAGE on class CL_MI_PACKAGE_GENERATION has no exception.

Method DELETE_TEMPLATES_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050519
2 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE Typ der Template-Eigenschaft 20050519
# Exception Resumable Description Created on
1 DB_ERROR 20050519
2 NOT_FOUND 20050519

Method GET_DETAIL_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050214
2 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE Typ der Template-Eigenschaft 20050214
3 Exporting OT_PACKAGE_DETAIL Call by reference Type reference (TYPE) MIPACKAGE_ITEM_TAB Objekte des Installationspakets 20050214
# Exception Resumable Description Created on
1 DB_ERROR 20050214
2 NOT_FOUND 20050214

Method GET_DETAIL_OF_PACKAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PACKAGE_HEAD Call by reference Type reference (TYPE) MIPACKAGE_HEAD_TAB Paket-Header-Informationen 20050214
2 Exporting OT_MIPACKAGE_TMPL Call by reference Type reference (TYPE) MIPACK_TEMPL_TAB Sicherung der Vorlagen zum Erstellungszeitpunkt 20050603
3 Exporting OT_PACKAGE_DETAIL Call by reference Type reference (TYPE) MIPACKAGE_ITEM_TAB Objekte des Installationspakets 20050214
4 Exporting OT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return-Parameter 20050214
# Exception Resumable Description Created on
1 DB_ERROR 20050214
2 NOT_FOUND 20050214

Method GET_LIST_OF_PACKAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CREATED_BY Call by reference Type reference (TYPE) UNAME Benutzername 20050214
2 Importing I_DEVICEID Call by reference Type reference (TYPE) MECONTGUID Unique-ID Synchronisationscontainer 20050214
3 Importing I_MIGROUP Call by reference Type reference (TYPE) MI_GROUP Mobile Gruppe 20050214
4 Importing I_MIUSER Call by reference Type reference (TYPE) UNAME Benutzername 20050214
5 Importing I_MI_STARTDATE Call by reference Type reference (TYPE) MI_START_DATE Startzeit einer Aufgabe 20050214
6 Importing I_MI_STARTTIME Call by reference Type reference (TYPE) MI_START_TIME Startzeit einer Aufgabe 20050214
7 Importing I_MULTI_DEVINST Call by reference Type reference (TYPE) MI_MULTIDEVINST Installation mehrerer Geräte bestätigen 20050214
8 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050214
9 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE Typ der Template-Eigenschaft 20050214
10 Importing I_STATUS Call by reference Type reference (TYPE) MI_PACKAGE_STATUS Aktueller Status der Paketgenerierung 20050214
11 Exporting O_PACKAGE_HEAD Call by reference Type reference (TYPE) MIPACKAGE_HEAD_TAB Paket-Header-Informationen 20050214
12 Exporting O_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return-Parameter 20050216

Method GET_LIST_OF_PACKAGES on class CL_MI_PACKAGE_GENERATION has no exception.

Method GET_LOG_ENTRIES_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting IT_LOG_ENTRIES Call by reference Type reference (TYPE) MIPACKAGE_LOG_TABLE Gruppe von Protokolleinträgen 20050317
2 Importing I_LOG_ENTRY Call by reference Type reference (TYPE) MIPACKAGE_LOG Protokollnachrichten der Paketgenerierung 20050317
# Exception Resumable Description Created on
1 NOT_FOUND 20050317

Method GET_PACKAGE_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PACKAGE_HEAD Call by reference Type reference (TYPE) MIPACKAGE_HEAD_TAB Header-Informationen für Pakete 20050208
2 Importing I_DEVICEID Call by reference Type reference (TYPE) MECONTGUID Unique-ID Synchronisationscontainer 20050208
3 Importing I_MIGROUP Call by reference Type reference (TYPE) MI_GROUP Mobile Gruppe 20050216
4 Importing I_MIUSER Call by reference Type reference (TYPE) XUBNAME Benutzername im Benutzerstamm 20050216
5 Importing I_MULTI_DEVINST Call by reference Type reference (TYPE) MI_MULTIDEVINST Installation mehrerer Geräte bestätigen 20050216
6 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050208
7 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE Typ der Template-Eigenschaft 20050208
8 Importing I_START_DATE Call by reference Type reference (TYPE) MI_START_DATE Startzeit einer Aufgabe 20050216
9 Importing I_START_TIME Call by reference Type reference (TYPE) MI_START_TIME Startzeit einer Aufgabe 20050216
10 Importing I_STATUS Call by reference Type reference (TYPE) MI_PACKAGE_STATUS Aktueller Status der Paketgenerierung 20050216
# Exception Resumable Description Created on
1 NOT_FOUND 20050208

Method GET_PACKAGE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_PACKAGE_HEAD Call by reference Type reference (TYPE) MIPACKAGE_HEAD Kopfbereich: Paketgenerierung 20050510
2 Importing I_DEVICEID Call by reference Type reference (TYPE) MECONTGUID Unique-ID Synchronisationscontainer 20050510
3 Importing I_MIGROUP Call by reference Type reference (TYPE) MI_GROUP Mobile Gruppe 20050510
4 Importing I_MIUSER Call by reference Type reference (TYPE) XUBNAME Benutzername im Benutzerstamm 20050510
5 Importing I_MULTI_DEVINST Call by reference Type reference (TYPE) MI_MULTIDEVINST Installation mehrerer Geräte bestätigen 20050510
6 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050510
7 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE Typ der Template-Eigenschaft 20050510
8 Importing I_START_DATE Call by reference Type reference (TYPE) MI_START_DATE Startzeit einer Aufgabe 20050510
9 Importing I_START_TIME Call by reference Type reference (TYPE) MI_START_TIME Startzeit einer Aufgabe 20050510
10 Importing I_STATUS Call by reference Type reference (TYPE) MI_PACKAGE_STATUS Aktueller Status der Paketgenerierung 20050510
# Exception Resumable Description Created on
1 NOT_FOUND 20050510
2 NOT_UNIQUE 20050510

Method GET_PACKAGE_TYPE_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IE_PACKAGETYPE Call by reference Type reference (TYPE) MIPACKAGE_TYPE Anzulegende Pakettypen 20050209
2 Exporting I_DESCRIPTION Call by reference Type reference (TYPE) CHAR70 Beschreibung des Pakettyps 20050209
# Exception Resumable Description Created on
1 NOT_FOUND 20050208

Method GET_TEMPLATES_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050519
2 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE Typ der Template-Eigenschaft 20050519
3 Exporting OT_TEMPLATES Call by reference Type reference (TYPE) MIPACK_TEMPL_TAB Sicherung der Vorlagen zum Erstellungszeitpunkt 20050519
# Exception Resumable Description Created on
1 NOT_FOUND 20050519

Method SET_BAPIRETURN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ID Call by reference Type reference (TYPE) SYMSGID Nachrichten, Nachrichtenklasse 20050214
2 Importing I_MESSAGE_V1 Call by reference Type reference (TYPE) STRING Nachrichten-Variable 20050214
3 Importing I_MESSAGE_V2 Call by reference Type reference (TYPE) STRING Nachrichten-Variable 20050214
4 Importing I_MESSAGE_V3 Call by reference Type reference (TYPE) STRING Nachrichten-Variable 20050214
5 Importing I_MESSAGE_V4 Call by reference Type reference (TYPE) STRING Nachrichten-Variable 20050214
6 Importing I_NUMBER Call by reference Type reference (TYPE) SYMSGNO Nachrichten, Nachrichtennummer 20050214
7 Importing I_TYPE Call by reference Type reference (TYPE) SYMSGTY Meldungstyp: S Success, E Error, W Warning, I Info, A Abort 20050214
8 Exporting O_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return-Parameter 20050214

Method SET_BAPIRETURN on class CL_MI_PACKAGE_GENERATION has no exception.

Method SET_DEVICE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RETURNCODE Call by reference Type reference (TYPE) I Wenn gefunden gleich 0 20050331
2 Importing I_DEVICE_ID Call by reference Type reference (TYPE) MECONTGUID Unique-ID Synchronisationscontainer 20050331
3 Importing I_PACKAGENAME Call by reference Type reference (TYPE) MI_PACKAGE_NAME Name eines Pakets 20050331
4 Importing I_PACKAGETYPE Call by reference Type reference (TYPE) MI_PACKAGE_TYPE Typ der Template-Eigenschaft 20050331

Method SET_DEVICE_ID on class CL_MI_PACKAGE_GENERATION has no exception.

Method SET_LOG_ENTRIES_TO_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOG_ENTRY Call by reference Type reference (TYPE) MIPACKAGE_LOG_TABLE Protokollnachrichten der Paketgenerierung 20050214
# Exception Resumable Description Created on
1 DB_ERROR Datenbankaktualisierung fehlgeschlagen 20050208

Method SET_PACKAGE_HEAD_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE_HEAD Call by reference Type reference (TYPE) MEMGMT_PACKAGE_HEAD Header-Informationen für Pakete 20050209
2 Importing I_TASK Call by reference Type reference (TYPE) CHAR1 Einstelliges Kennzeichen 20050216
# Exception Resumable Description Created on
1 DB_ERROR Eingabe fehlgeschlagen 20050209
2 NOT_FOUND 20050216
3 WRONG_TASK 20050216

Method SET_PACKAGE_ITEM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE_ITEM Call by reference Type reference (TYPE) MIPACKAGE_ITEM_TAB Items der Paketgenerierung 20050209
# Exception Resumable Description Created on
1 DB_ERROR 20050209

Method SET_PACKAGE_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return-Parameter 20050216
2 Importing I_PACKAGE_STAT Call by reference Type reference (TYPE) MIPACKAGE_STAT Historischer Paketgenerierungsstatus 20050216

Method SET_PACKAGE_STATUS on class CL_MI_PACKAGE_GENERATION has no exception.

Method SET_PACKAGE_STAT_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE_STAT Call by reference Type reference (TYPE) MIPACKAGE_STAT Historischer Paketgenerierungsstatus 20050216
# Exception Resumable Description Created on
1 DB_ERROR 20050216

Method SET_STATUS_OF_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE_STAT Call by reference Type reference (TYPE) MIPACKAGE_STAT Historischer Paketgenerierungsstatus 20050406
2 Exporting O_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Return-Parameter 20050406
# Exception Resumable Description Created on
1 DB_ERROR 20050406
2 NOT_FOUND 20050406

Method SET_TEMPLATES_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TEPLATES Call by reference Type reference (TYPE) MIPACK_TEMPL_TAB Sicherung der Vorlagen zum Erstellungszeitpunkt 20050519
# Exception Resumable Description Created on
1 DB_ERROR 20050519

Method UPDATE_PACKAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RETURN Call by reference Type reference (TYPE) BAPIRET2 Return-Parameter 20050209
2 Importing I_PACKAGE_HEAD Call by reference Type reference (TYPE) MEMGMT_PACKAGE_HEAD Header-Informationen für Pakete 20050209
3 Importing I_PACKAGE_ITEM Call by reference Type reference (TYPE) MIPACKAGE_ITEM_TAB Objekte des Installationspakets 20050209
4 Importing I_PACKAGE_TEMPL Call by reference Type reference (TYPE) MIPACK_TEMPL_TAB Sicherung der Vorlagen zum Erstellungszeitpunkt 20050519

Method UPDATE_PACKAGE on class CL_MI_PACKAGE_GENERATION has no exception.

Method UPDATE_PACKAGE_HEAD_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE_HEAD Call by reference Type reference (TYPE) MEMGMT_PACKAGE_HEAD Header-Informationen für Pakete 20050209
# Exception Resumable Description Created on
1 NOT_FOUND 20050209

Method UPDATE_PACKAGE_ITEM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PACKAGE_ITEM Call by reference Type reference (TYPE) MIPACKAGE_ITEM_TAB Objekte des Installationspakets 20050209
# Exception Resumable Description Created on
1 DB_ERROR 20050209

Method UPDATE_TEMPLATES_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TEMPLATES Call by reference Type reference (TYPE) MIPACK_TEMPL_TAB Sicherung der Vorlagen zum Erstellungszeitpunkt 20050519
# Exception Resumable Description Created on
1 DB_ERROR 20050519
History
Last changed by/on SAP  20060912 
SAP Release Created in 700