SAP ABAP Class CL_O2_API_THEME (O2: API for Themes)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-WAB (Application Component) Web Application Builder
     SO2_THEME (Package) mySAP.com Application Server: Theme
Properties
Class CL_O2_API_THEME  
Short Description O2: API for Themes    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SO2_THEME   mySAP.com Application Server: Theme 
Created 20000906   SAP 
Last change 20050214   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_O2_API_THEME has no forward declaration.
Interfaces
Class CL_O2_API_THEME has no interface implemented.
Friends
Class CL_O2_API_THEME has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ATTRIBUTES Instance attribute Private Type reference (TYPE) O2THEMATTR Attributes 20000906
2 ATTRIBUTES_SAVED Instance attribute Private Type reference (TYPE) O2THEMATTR Saved Attributes 20000906
3 CHANGEABLE Instance attribute Private Type reference (TYPE) CHAR1 Indicator: Object Can Be Changed 20000906
4 C_STATE_DELETED Constant Private Type reference (TYPE) CHAR1 'D' Status: Deleted 20000906
5 C_STATE_INITIAL Constant Private Type reference (TYPE) CHAR1 'I' Status: Initial 20000906
6 C_STATE_NEW Constant Private Type reference (TYPE) CHAR1 'N' Status: New 20000906
7 C_STATE_REMOVED Constant Private Type reference (TYPE) CHAR1 'R' Status: Deleted and Saved 20000906
8 C_STATE_SAVED Constant Private Type reference (TYPE) CHAR1 'S' Status: Saved 20000906
9 C_STATE_UNSAVED Constant Private Type reference (TYPE) CHAR1 'U' Status: Unsaved 20000906
10 NAME Instance attribute Private Type reference (TYPE) O2THEME Name of Theme 20000906
11 OBJECTS Instance attribute Private Type reference (TYPE) O2THEMRELA_TABLE Contained Overwritten Objects 20001229
12 OBJECTS_SAVED Instance attribute Private Type reference (TYPE) O2THEMRELA_TABLE Contained Overwritten Objects (Saved Version) 20001229
13 STATE Instance attribute Private Type reference (TYPE) CHAR1 C_STATE_INITIAL Indicator: Object Changed 20000906
Methods
# Method Level Visibility Method type Description Created on
1 CALL_ACCESS_PERMISSION Static method Private Method Call RS_ACCESS_PERMISSION 20000906
2 CALL_CORR_INSERT Static method Public Method Call RS_CORR_INSERT 20000906
3 CONSTRUCTOR Instance method Public Constructor Constructor 20000906
4 COPY Instance method Public Method Copy Theme 20000906
5 CREATE_NEW Static method Public Method Create New Theme 20000906
6 DELETE Instance method Public Method Delete Theme 20000906
7 GET_ATTRIBUTES Instance method Public Method Get attributes 20000906
8 GET_CHANGEABLE Instance method Public Method Query: Can Theme Be Changed? 20000906
9 GET_CHANGED Instance method Public Method Unsaved Changes 20000906
10 GET_DATA_FROM_DB Static method Private Method Load Data from the Database 20000906
11 GET_NAME Instance method Public Method Return Complete Name 20000906
12 GET_OBJECTS Instance method Public Method Get Contained Objects 20001229
13 LOAD Static method Public Method Load Theme 20000906
14 REFRESH_DEVCLASS Instance method Public Method Read Package Again 20000906
15 RESET Instance method Private Method Rest Object 20000906
16 SAVE Instance method Public Method Save Theme 20000906
17 SET_ATTRIBUTES Instance method Public Method Set Attributes 20000906
18 SET_CHANGEABLE Instance method Public Method Set Mode to Display or Change 20000906
19 SET_OBJECTS Instance method Public Method Set Contained Objects 20001229
20 S_CHECK_EXIST Static method Public Method Check If Theme Exists 20000906
21 UNDO_CHANGES Instance method Public Method Undo changes 20000906
Events
Class CL_O2_API_THEME has no event.
Types
Class CL_O2_API_THEME has no local type.
Method Signatures

Method CALL_ACCESS_PERMISSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Paket 20000906
2 Importing P_MODE Call by reference Type reference (TYPE) CHAR10 Modus 20000906
3 Exporting P_MODIFLANG Call by reference Type reference (TYPE) SPRAS Modifikationssprache 20001006
4 Importing P_OBJECT Call by reference Type reference (TYPE) O2THEME Objektname 20000906
5 Exporting P_ORIGLANG Call by reference Type reference (TYPE) SPRAS Originalsprache 20001006
# Exception Resumable Description Created on
1 ACTION_CANCELED Abbruch durch den Benutzer 20000906
2 ENQUEUED_BY_USER Gesperrt durch anderen Benutzer 20000906
3 ERROR_OCCURED Allgemeiner Fehler 20000906
4 LOCKED_BY_AUTHOR Vom Autor gesperrt 20000906
5 PERMISSION_FAILURE Berechtigungsfehler 20000906

Method CALL_CORR_INSERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_CORRNUM Call by reference Type reference (TYPE) TRKORR Auftrag/Aufgabe 20000906
2 Changing P_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Paket 20000906
3 Importing P_LANGUAGE Call by reference Type reference (TYPE) SPRAS Mastersprache 20000906
4 Importing P_MODE Call by reference Type reference (TYPE) CHAR6 SPACE Operation 20000906
5 Importing P_OBJECT Call by reference Type reference (TYPE) O2THEME Name des Objektes 20000906
# Exception Resumable Description Created on
1 ACTION_CANCELLED Abbruch durch den Benutzer 20000906
2 ERROR_OCCURED Interner Fehler 20000906
3 PERMISSION_FAILURE Fehlende Berechtigung 20000906

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ATTRIBUTES Call by reference Type reference (TYPE) O2THEMATTR Attribute des Themas 20000906
2 Importing P_CREATE Call by reference Type reference (TYPE) CHAR1 SPACE Neu angelegt: 'X' 20000906
3 Importing P_OBJECTS Call by reference Type reference (TYPE) O2THEMRELA_TABLE Enthaltene Objekte 20001229
# Exception Resumable Description Created on
1 ERROR_OCCURED Unerwartete Ausnahme 20000906

Method COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_TARGET Call by reference Object reference (TYPE REF TO) CL_O2_API_THEME Erzeugtes Ziel-Thema 20000906
2 Changing P_TARGET_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Ziel-Paket 20000906
3 Importing P_TARGET_NAME Call by reference Type reference (TYPE) SEU_OBJKEY Name des Ziel-Themas 20000906
# Exception Resumable Description Created on
1 ACTION_CANCELLED Abbruch durch den Benutzer 20000906
2 ERROR_OCCURED Allgemeiner Fehler 20000906
3 OBJECT_ALREADY_EXISTS Thema existiert bereits 20000906
4 OBJECT_CHANGED Thema ist nicht gesichert 20000906
5 OBJECT_INVALID Thema ist ungültig 20000906
6 PERMISSION_FAILURE Fehlende Berechtigung 20000906

Method CREATE_NEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_OBJECTS Call by reference Type reference (TYPE) O2THEMRELA_TABLE Enthaltene Objekte 20001229
2 Exporting P_THEME Call by reference Object reference (TYPE REF TO) CL_O2_API_THEME Erzeugte Instanz 20000906
3 Importing P_THEME_DATA Call by reference Type reference (TYPE) O2THEMATTR Attributes des Themas 20000906
# Exception Resumable Description Created on
1 ACTION_CANCELLED Abbruch durch den Benutzer 20000906
2 AUTHOR_NOT_EXISTING Verantworlicher für Thema existiert nicht als Benutzer 20000906
3 ERROR_OCCURED Interner Fehler 20000906
4 NOT_AUTHORIZED Fehlende Berechtigung 20000906
5 OBJECT_ALREADY_EXISTING Thema existiert bereits 20000906
6 UNDEFINED_NAME Name des Themas fehlt oder konnte nicht interpretiert werden 20000906

Method DELETE Signature

Method DELETE on class CL_O2_API_THEME has no parameter.
# Exception Resumable Description Created on
1 ERROR_OCCURED Interner Fehler 20000906
2 OBJECT_INVALID Thema ungültig 20000906
3 OBJECT_NOT_CHANGEABLE Thema darf nicht geändert werden 20000906
4 OBJECT_NOT_EMPTY Thema enthält noch Elemente 20000906

Method GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_ATTRIBUTES Call by reference Type reference (TYPE) O2THEMATTR Attribute 20000906
# Exception Resumable Description Created on
1 ERROR_OCCURED Interner Fehler 20000906
2 OBJECT_INVALID Thema ungültig 20000906

Method GET_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_CHANGEABLE Call by reference Type reference (TYPE) CHAR1 X: Thema ist änderbar 20000906
# Exception Resumable Description Created on
1 OBJECT_INVALID Thema ist ungültig 20000906

Method GET_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_CHANGED Call by reference Type reference (TYPE) CHAR1 X: Ungesicherte Änderungen vorhanden 20000906
# Exception Resumable Description Created on
1 OBJECT_INVALID Objekt ungültig 20000906

Method GET_DATA_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_ATTRIBUTES Call by reference Type reference (TYPE) O2THEMATTR Attribute 20000906
2 Importing P_FOR_EDIT Call by reference Type reference (TYPE) CHAR1 X: Änderungsmodus 20000906
3 Importing P_MODIFLANG Call by reference Type reference (TYPE) SPRAS Modifikationssprache 20001006
4 Importing P_NAME Call by reference Type reference (TYPE) O2THEME Name 20000906
5 Exporting P_OBJECTS Call by reference Type reference (TYPE) O2THEMRELA_TABLE Enthaltene Objekte 20001229
6 Importing P_ORIGLANG Call by reference Type reference (TYPE) SPRAS Originalsprache 20001006
# Exception Resumable Description Created on
1 OBJECT_NOT_EXISTING Thema existiert nicht 20000906

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_NAME Call by reference Type reference (TYPE) O2THEME Name des Themas 20000906
2 Exporting P_OBJ_NAME Call by reference Type reference (TYPE) SEU_OBJKEY Name im Managerformat 20000906
# Exception Resumable Description Created on
1 OBJECT_INVALID Objekt ungültig 20000906

Method GET_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_OBJECTS Call by reference Type reference (TYPE) O2THEMRELA_TABLE Enthaltene Objekte 20001229
# Exception Resumable Description Created on
1 ERROR_OCCURED Interner Fehler 20001229
2 OBJECT_INVALID Thema ungültig 20001229

Method LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_THEME Call by reference Object reference (TYPE REF TO) CL_O2_API_THEME Erzeugte Instanz für Thema 20000906
2 Importing P_THEME_NAME Call by reference Type reference (TYPE) O2THEME Name des zu ladenden Themas 20000906
# Exception Resumable Description Created on
1 ERROR_OCCURED Interner Fehler 20000906
2 OBJECT_NOT_EXISTING Service nicht auf Datenbank vorhanden 20000906
3 PERMISSION_FAILURE Fehlende Berechtigung 20000906

Method REFRESH_DEVCLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Neu gelesenes Paket 20000906
# Exception Resumable Description Created on
1 ERROR_OCCURED Allgemeiner Fehler 20000906

Method RESET Signature

Method RESET on class CL_O2_API_THEME has no parameter.
# Exception Resumable Description Created on
1 ERROR_OCCURED Allgemeiner Fehler 20000906
2 OBJECT_INVALID Üngültiges Thema 20000906

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_TRANSPORT_REQUEST Call by reference Type reference (TYPE) TRKORR Auftragsnummer 20000906
# Exception Resumable Description Created on
1 ACTION_CANCELLED Sichern abgebrochen durch Benutzer 20000906
2 ERROR_OCCURED Anderer Fehler 20000906
3 NOT_CHANGED Thema wurde nicht geändert 20000906
4 OBJECT_INVALID Thema ist ungültig 20000906
5 OBJECT_NOT_CHANGEABLE Thema ist nicht änderbar 20000906
6 PERMISSION_FAILURE Unzureichende Berechtigung 20000906

Method SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ATTRIBUTES Call by reference Type reference (TYPE) O2THEMATTR Attribute 20000906
# Exception Resumable Description Created on
1 AUTHORIZE_FAILURE Unzureichende Berechigung 20000906
2 AUTHOR_NOT_EXISTING Verantworlicher für Thema existiert nicht als Benutzer 20000906
3 ERROR_OCCURED Interner Fehler 20000906
4 OBJECT_INVALID Thema ungültig 20000906
5 OBJECT_NOT_CHANGEABLE Thema nicht änderbar 20000906

Method SET_CHANGEABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CHANGEABLE Call by reference Type reference (TYPE) CHAR1 X: Thema änderbar setzen 20000906
# Exception Resumable Description Created on
1 ACTION_CANCELLED Abbruch durch den Benutzer 20000906
2 ERROR_OCCURED Anderer Fehler 20000906
3 OBJECT_ALREADY_CHANGEABLE Thema ist bereits änderbar 20000906
4 OBJECT_ALREADY_UNLOCKED Thema ist bereits entsperrt 20000906
5 OBJECT_DELETED Thema ist logisch gelöscht und kann nicht entsperrt werden 20000906
6 OBJECT_INVALID Ungütliges Thema (bereits auf DB gelöscht!) 20000906
7 OBJECT_JUST_CREATED Thema wurde noch nie auf DB gesichert 20000906
8 OBJECT_LOCKED_BY_OTHER_USER Thema von anderem Benutzer gesperrt 20000906
9 OBJECT_MODIFIED Thema wurde geändert und kann nicht entsperrt werden 20000906
10 OBJECT_NOT_EXISTING Thema konnte nicht mehr auf DB gefunden werden 20000906
11 PERMISSION_FAILURE Fehlende Berechtigung zur Modifikation des Themas 20000906

Method SET_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_OBJECTS Call by reference Type reference (TYPE) O2THEMRELA_TABLE Enthaltene Objekte 20001229
# Exception Resumable Description Created on
1 AUTHORIZE_FAILURE Unzureichende Berechigung 20001229
2 AUTHOR_NOT_EXISTING Verantworlicher für Thema existiert nicht als Benutzer 20001229
3 ERROR_OCCURED Interner Fehler 20001229
4 INVALID_ENTRY Objekttabelle enthält ungültigen Eintrag 20001229
5 OBJECT_INVALID Thema ungültig 20001229
6 OBJECT_NOT_CHANGEABLE Thema nicht änderbar 20001229

Method S_CHECK_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_EXISTS Call by reference Type reference (TYPE) CHAR1 'X': Thema Existiert, ' ' existiert nicht 20000906
2 Importing P_THEME_NAME Call by reference Type reference (TYPE) O2THEME Name des Themas 20000906

Method S_CHECK_EXIST on class CL_O2_API_THEME has no exception.

Method UNDO_CHANGES Signature

Method UNDO_CHANGES on class CL_O2_API_THEME has no parameter.
# Exception Resumable Description Created on
1 ERROR_OCCURED Anderer Fehler 20000906
2 OBJECT_INVALID Ungültiges Thema 20000906
3 OBJECT_IS_NEW Thema war noch nicht auf Datenbank gesichert 20000906
4 OBJECT_NOT_CHANGEABLE Thema ist nicht änderbar 20000906
History
Last changed by/on SAP  20050214 
SAP Release Created in 50A