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 | Instance attribute | Private | Type reference (TYPE) | O2THEMATTR | Attributes | 20000906 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | O2THEMATTR | Saved Attributes | 20000906 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Indicator: Object Can Be Changed | 20000906 | |||
| 4 | Constant | Private | Type reference (TYPE) | CHAR1 | 'D' | Status: Deleted | 20000906 | ||
| 5 | Constant | Private | Type reference (TYPE) | CHAR1 | 'I' | Status: Initial | 20000906 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR1 | 'N' | Status: New | 20000906 | ||
| 7 | Constant | Private | Type reference (TYPE) | CHAR1 | 'R' | Status: Deleted and Saved | 20000906 | ||
| 8 | Constant | Private | Type reference (TYPE) | CHAR1 | 'S' | Status: Saved | 20000906 | ||
| 9 | Constant | Private | Type reference (TYPE) | CHAR1 | 'U' | Status: Unsaved | 20000906 | ||
| 10 | Instance attribute | Private | Type reference (TYPE) | O2THEME | Name of Theme | 20000906 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | O2THEMRELA_TABLE | Contained Overwritten Objects | 20001229 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | O2THEMRELA_TABLE | Contained Overwritten Objects (Saved Version) | 20001229 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | C_STATE_INITIAL | Indicator: Object Changed | 20000906 |
Methods
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 | P_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Paket | 20000906 | |||
| 2 | P_MODE | Call by reference | Type reference (TYPE) | CHAR10 | Modus | 20000906 | |||
| 3 | P_MODIFLANG | Call by reference | Type reference (TYPE) | SPRAS | Modifikationssprache | 20001006 | |||
| 4 | P_OBJECT | Call by reference | Type reference (TYPE) | O2THEME | Objektname | 20000906 | |||
| 5 | P_ORIGLANG | Call by reference | Type reference (TYPE) | SPRAS | Originalsprache | 20001006 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abbruch durch den Benutzer | 20000906 | ||
| 2 | Gesperrt durch anderen Benutzer | 20000906 | ||
| 3 | Allgemeiner Fehler | 20000906 | ||
| 4 | Vom Autor gesperrt | 20000906 | ||
| 5 | Berechtigungsfehler | 20000906 |
Method CALL_CORR_INSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CORRNUM | Call by reference | Type reference (TYPE) | TRKORR | Auftrag/Aufgabe | 20000906 | |||
| 2 | P_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Paket | 20000906 | |||
| 3 | P_LANGUAGE | Call by reference | Type reference (TYPE) | SPRAS | Mastersprache | 20000906 | |||
| 4 | P_MODE | Call by reference | Type reference (TYPE) | CHAR6 | SPACE | Operation | 20000906 | ||
| 5 | P_OBJECT | Call by reference | Type reference (TYPE) | O2THEME | Name des Objektes | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abbruch durch den Benutzer | 20000906 | ||
| 2 | Interner Fehler | 20000906 | ||
| 3 | Fehlende Berechtigung | 20000906 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTRIBUTES | Call by reference | Type reference (TYPE) | O2THEMATTR | Attribute des Themas | 20000906 | |||
| 2 | P_CREATE | Call by reference | Type reference (TYPE) | CHAR1 | SPACE | Neu angelegt: 'X' | 20000906 | ||
| 3 | P_OBJECTS | Call by reference | Type reference (TYPE) | O2THEMRELA_TABLE | Enthaltene Objekte | 20001229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unerwartete Ausnahme | 20000906 |
Method COPY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TARGET | Call by reference | Object reference (TYPE REF TO) | CL_O2_API_THEME | Erzeugtes Ziel-Thema | 20000906 | |||
| 2 | P_TARGET_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Ziel-Paket | 20000906 | |||
| 3 | P_TARGET_NAME | Call by reference | Type reference (TYPE) | SEU_OBJKEY | Name des Ziel-Themas | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abbruch durch den Benutzer | 20000906 | ||
| 2 | Allgemeiner Fehler | 20000906 | ||
| 3 | Thema existiert bereits | 20000906 | ||
| 4 | Thema ist nicht gesichert | 20000906 | ||
| 5 | Thema ist ungültig | 20000906 | ||
| 6 | Fehlende Berechtigung | 20000906 |
Method CREATE_NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_OBJECTS | Call by reference | Type reference (TYPE) | O2THEMRELA_TABLE | Enthaltene Objekte | 20001229 | |||
| 2 | P_THEME | Call by reference | Object reference (TYPE REF TO) | CL_O2_API_THEME | Erzeugte Instanz | 20000906 | |||
| 3 | P_THEME_DATA | Call by reference | Type reference (TYPE) | O2THEMATTR | Attributes des Themas | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abbruch durch den Benutzer | 20000906 | ||
| 2 | Verantworlicher für Thema existiert nicht als Benutzer | 20000906 | ||
| 3 | Interner Fehler | 20000906 | ||
| 4 | Fehlende Berechtigung | 20000906 | ||
| 5 | Thema existiert bereits | 20000906 | ||
| 6 | 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 | Interner Fehler | 20000906 | ||
| 2 | Thema ungültig | 20000906 | ||
| 3 | Thema darf nicht geändert werden | 20000906 | ||
| 4 | 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 | P_ATTRIBUTES | Call by reference | Type reference (TYPE) | O2THEMATTR | Attribute | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20000906 | ||
| 2 | Thema ungültig | 20000906 |
Method GET_CHANGEABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CHANGEABLE | Call by reference | Type reference (TYPE) | CHAR1 | X: Thema ist änderbar | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Thema ist ungültig | 20000906 |
Method GET_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CHANGED | Call by reference | Type reference (TYPE) | CHAR1 | X: Ungesicherte Änderungen vorhanden | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | P_ATTRIBUTES | Call by reference | Type reference (TYPE) | O2THEMATTR | Attribute | 20000906 | |||
| 2 | P_FOR_EDIT | Call by reference | Type reference (TYPE) | CHAR1 | X: Änderungsmodus | 20000906 | |||
| 3 | P_MODIFLANG | Call by reference | Type reference (TYPE) | SPRAS | Modifikationssprache | 20001006 | |||
| 4 | P_NAME | Call by reference | Type reference (TYPE) | O2THEME | Name | 20000906 | |||
| 5 | P_OBJECTS | Call by reference | Type reference (TYPE) | O2THEMRELA_TABLE | Enthaltene Objekte | 20001229 | |||
| 6 | P_ORIGLANG | Call by reference | Type reference (TYPE) | SPRAS | Originalsprache | 20001006 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Thema existiert nicht | 20000906 |
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_NAME | Call by reference | Type reference (TYPE) | O2THEME | Name des Themas | 20000906 | |||
| 2 | P_OBJ_NAME | Call by reference | Type reference (TYPE) | SEU_OBJKEY | Name im Managerformat | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Objekt ungültig | 20000906 |
Method GET_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_OBJECTS | Call by reference | Type reference (TYPE) | O2THEMRELA_TABLE | Enthaltene Objekte | 20001229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20001229 | ||
| 2 | Thema ungültig | 20001229 |
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_THEME | Call by reference | Object reference (TYPE REF TO) | CL_O2_API_THEME | Erzeugte Instanz für Thema | 20000906 | |||
| 2 | P_THEME_NAME | Call by reference | Type reference (TYPE) | O2THEME | Name des zu ladenden Themas | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Interner Fehler | 20000906 | ||
| 2 | Service nicht auf Datenbank vorhanden | 20000906 | ||
| 3 | Fehlende Berechtigung | 20000906 |
Method REFRESH_DEVCLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Neu gelesenes Paket | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Allgemeiner Fehler | 20000906 |
Method RESET Signature
Method RESET on class CL_O2_API_THEME has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Allgemeiner Fehler | 20000906 | ||
| 2 | Üngültiges Thema | 20000906 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_TRANSPORT_REQUEST | Call by reference | Type reference (TYPE) | TRKORR | Auftragsnummer | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Sichern abgebrochen durch Benutzer | 20000906 | ||
| 2 | Anderer Fehler | 20000906 | ||
| 3 | Thema wurde nicht geändert | 20000906 | ||
| 4 | Thema ist ungültig | 20000906 | ||
| 5 | Thema ist nicht änderbar | 20000906 | ||
| 6 | Unzureichende Berechtigung | 20000906 |
Method SET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_ATTRIBUTES | Call by reference | Type reference (TYPE) | O2THEMATTR | Attribute | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unzureichende Berechigung | 20000906 | ||
| 2 | Verantworlicher für Thema existiert nicht als Benutzer | 20000906 | ||
| 3 | Interner Fehler | 20000906 | ||
| 4 | Thema ungültig | 20000906 | ||
| 5 | Thema nicht änderbar | 20000906 |
Method SET_CHANGEABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CHANGEABLE | Call by reference | Type reference (TYPE) | CHAR1 | X: Thema änderbar setzen | 20000906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Abbruch durch den Benutzer | 20000906 | ||
| 2 | Anderer Fehler | 20000906 | ||
| 3 | Thema ist bereits änderbar | 20000906 | ||
| 4 | Thema ist bereits entsperrt | 20000906 | ||
| 5 | Thema ist logisch gelöscht und kann nicht entsperrt werden | 20000906 | ||
| 6 | Ungütliges Thema (bereits auf DB gelöscht!) | 20000906 | ||
| 7 | Thema wurde noch nie auf DB gesichert | 20000906 | ||
| 8 | Thema von anderem Benutzer gesperrt | 20000906 | ||
| 9 | Thema wurde geändert und kann nicht entsperrt werden | 20000906 | ||
| 10 | Thema konnte nicht mehr auf DB gefunden werden | 20000906 | ||
| 11 | 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 | P_OBJECTS | Call by reference | Type reference (TYPE) | O2THEMRELA_TABLE | Enthaltene Objekte | 20001229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unzureichende Berechigung | 20001229 | ||
| 2 | Verantworlicher für Thema existiert nicht als Benutzer | 20001229 | ||
| 3 | Interner Fehler | 20001229 | ||
| 4 | Objekttabelle enthält ungültigen Eintrag | 20001229 | ||
| 5 | Thema ungültig | 20001229 | ||
| 6 | Thema nicht änderbar | 20001229 |
Method S_CHECK_EXIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_EXISTS | Call by reference | Type reference (TYPE) | CHAR1 | 'X': Thema Existiert, ' ' existiert nicht | 20000906 | |||
| 2 | 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 | Anderer Fehler | 20000906 | ||
| 2 | Ungültiges Thema | 20000906 | ||
| 3 | Thema war noch nicht auf Datenbank gesichert | 20000906 | ||
| 4 | Thema ist nicht änderbar | 20000906 |
History
| Last changed by/on | SAP | 20050214 |
| SAP Release Created in | 50A |