SAP ABAP Class CL_IAC_OBJECT_UPLOAD (Upload of One or More Templates)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-FES-ITS (Application Component) SAP Internet Transaction Server
⤷
SITS_ABAP (Package) ITS ABAP Components
⤷
⤷
Properties
| Class | CL_IAC_OBJECT_UPLOAD | |
| Short Description | Upload of One or More Templates | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SITS_ABAP | ITS ABAP Components |
| Created | 20030808 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_IAC_OBJECT_UPLOAD has no interface implemented.
Friends
Class CL_IAC_OBJECT_UPLOAD has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | X3 | 'EFBBBF' | 20090513 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | Version Number Components | 20080917 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | CHAR1 | Single-Character Indicator | 20080917 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Check File Name for Template | 20030814 | |
| 2 | Static method | Private | Method | Checks content of object | 20080213 | |
| 3 | Static method | Public | Constructor | 20080917 | ||
| 4 | Static method | Private | Method | Join Directory und Subdirectory | 20030813 | |
| 5 | Static method | Private | Method | Replace '//' by '/', Except at the Beginning | 20030814 | |
| 6 | Static method | Private | Method | 20090513 | ||
| 7 | Static method | Private | Method | Directories that may Contain Files for Upload | 20030813 | |
| 8 | Static method | Private | Method | Directories that may Contain Files for Upload | 20030813 | |
| 9 | Static method | Private | Method | Provide File List for Upload | 20030813 | |
| 10 | Static method | Private | Method | Get Long Name of Object and Screen from File Name | 20030815 | |
| 11 | Static method | Private | Method | Determine Subdirectories for a Given Directory | 20030813 | |
| 12 | Static method | Private | Method | Recursive List of Subdirectories (Directory Itself!) | 20030813 | |
| 13 | Static method | Private | Method | Call GUI (e.g. SAP Win GUI) | 20030811 | |
| 14 | Static method | Public | Method | Load Objects of One Type and Theme | 20030813 | |
| 15 | Static method | Public | Method | Upload a Template and Write it to the Database | 20030808 |
Events
Class CL_IAC_OBJECT_UPLOAD has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | X3 | Private | See coding | 20090513 | X3(3) type x
|
Method Signatures
Method CHECK_FILENAME_FOR_TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PI_FILENAME | Call by reference | Type reference (TYPE) | STRING | 20030814 | ||||
| 2 | PI_LANGU | Call by reference | Type reference (TYPE) | SPRAS | 20030814 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein zulässiger Name | 20030814 |
Method CHECK_OBJECT_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_IAC_OBJECT | zu prüfendes Objekt | 20080213 | |||
| 2 | IV_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | Inhalt des Objektes als UTF8-kodierter xstring | 20080213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Prüfung auf 7-Bit-ASCII | 20080213 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_IAC_OBJECT_UPLOAD has no parameter.
Method CLASS_CONSTRUCTOR on class CL_IAC_OBJECT_UPLOAD has no exception.
Method CONCATENATE_DIRECTORIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PE_DIRECTORY | Value transfer | Type reference (TYPE) | STRING | 20030813 | ||||
| 2 | PI_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20030813 | ||||
| 3 | PI_SUBDIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20030813 |
Method CONCATENATE_DIRECTORIES on class CL_IAC_OBJECT_UPLOAD has no exception.
Method CONDENSE_SLASHES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PC_PATH | Call by reference | Type reference (TYPE) | STRING | 20030814 |
Method CONDENSE_SLASHES on class CL_IAC_OBJECT_UPLOAD has no exception.
Method DELETE_BOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20090513 | ||||
| 2 | IR_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_IAC_OBJECT | Gemeinsame Funktionen für IAC-Objekte | 20090513 |
Method DELETE_BOM on class CL_IAC_OBJECT_UPLOAD has no exception.
Method DIRECTORIES_FOR_UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PE_DIRECTORIES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20030813 | ||||
| 2 | PE_ROOT_DIR | Call by reference | Type reference (TYPE) | STRING | 20030814 | ||||
| 3 | PI_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20030813 | ||||
| 4 | PI_LANGU | Call by reference | Type reference (TYPE) | SPRAS | 20030813 | ||||
| 5 | PI_THEME | Call by reference | Type reference (TYPE) | IACTHEME | 20030813 | ||||
| 6 | PI_TYPE | Call by reference | Type reference (TYPE) | IACTYPE | 20030813 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen des gegebenen Verzeichnisses | 20030813 | ||
| 2 | Fehler beim Lesen der Verzeichnisstruktur | 20030813 | ||
| 3 | Unbekannter Fehler | 20030813 |
Method DIRECTORIES_FOR_UPLOAD_M_LANG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PE_DIRECTORIES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20030813 | ||||
| 2 | PE_ROOT_DIR | Call by reference | Type reference (TYPE) | STRING | 20030814 | ||||
| 3 | PI_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20030813 | ||||
| 4 | PI_LANGU | Call by reference | Type reference (TYPE) | SPRAS | 20030813 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen des gegebenen Verzeichnisses | 20030813 | ||
| 2 | Fehler beim Lesen der Verzeichnisstruktur | 20030813 |
Method FILE_LIST_FOR_UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PE_FILES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20030814 | ||||
| 2 | PE_ROOT_DIR | Call by reference | Type reference (TYPE) | STRING | 20030814 | ||||
| 3 | PI_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20030813 | ||||
| 4 | PI_LANGU | Call by reference | Type reference (TYPE) | SPRAS | 20030813 | ||||
| 5 | PI_THEME | Call by reference | Type reference (TYPE) | IACTHEME | 20030813 | ||||
| 6 | PI_TYPE | Call by reference | Type reference (TYPE) | IACTYPE | 20030813 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen des gegebenen Verzeichnisses | 20030813 | ||
| 2 | Fehler beim Lesen der Verzeichnisstruktur | 20030813 | ||
| 3 | Unbekannter Fehler | 20030813 |
Method SPLIT_FILENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PC_OBJECT | Call by reference | Type reference (TYPE) | IACOBJ | 20030815 | ||||
| 2 | PE_LONGNAME | Call by reference | Type reference (TYPE) | IACKEYLONG | 20030815 | ||||
| 3 | PI_FILENAME | Call by reference | Type reference (TYPE) | STRING | 20030815 | ||||
| 4 | PI_LENGTH_DIRECTORY | Call by reference | Type reference (TYPE) | I | 20030815 | ||||
| 5 | PI_NO_SCREEN_CHECK | Call by reference | Type reference (TYPE) | FLAG | ' ' | 'X': ignore possible screen number | 20090430 | ||
| 6 | PI_USE_NAMESPACE | Call by reference | Type reference (TYPE) | FLAG | ' ' | 'X': Namensräume beachten | 20071012 |
Method SPLIT_FILENAME on class CL_IAC_OBJECT_UPLOAD has no exception.
Method SUBDIRECTORIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PE_DIRECTORIES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20030813 | ||||
| 2 | PI_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20030813 | ||||
| 3 | PI_EXCLUDE_LANGUAGES | Call by reference | Type reference (TYPE) | FLAG | 20030814 | ||||
| 4 | PI_EXCLUDE_THEMES | Call by reference | Type reference (TYPE) | FLAG | 20030814 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen des Verzeichnisses. | 20030813 |
Method SUBDIRECTORIES_RECURSIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PC_DIRECTORIES | Call by reference | Type reference (TYPE) | STRING_TABLE | 20030813 | ||||
| 2 | PI_DIRECTORY | Call by reference | Type reference (TYPE) | STRING | 20030813 | ||||
| 3 | PI_EXCLUDE_LANGUAGES | Call by reference | Type reference (TYPE) | FLAG | 20030814 | ||||
| 4 | PI_EXCLUDE_THEMES | Call by reference | Type reference (TYPE) | FLAG | 20030814 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen der Verzeichnisstruktur | 20030813 |
Method UPLOAD_CALL_FRONTEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PE_DATA | Call by reference | Type reference (TYPE) | W3MIMETABTYPE | Datentabelle | 20030811 | |||
| 2 | PE_FILE_LENGTH | Call by reference | Type reference (TYPE) | I | Länge der Datei | 20030811 | |||
| 3 | PI_FILENAME | Call by reference | Type reference (TYPE) | STRING | zu ladende Datei (Name) | 20030811 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein UTF8-Format | 20030813 | ||
| 2 | Fehler beim Upload | 20030811 |
Method UPLOAD_OBJECTS_OF_THEME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PI_ALLOW_REPLACE | Call by reference | Type reference (TYPE) | FLAG | 'X' = Überschreiben existierender Objekte erlaubt | 20030814 | |||
| 2 | PI_DIRECTORY | Value transfer | Type reference (TYPE) | STRING | 20030813 | ||||
| 3 | PI_IGNORE_MISSING_SCREEN | Call by reference | Type reference (TYPE) | FLAG | ' ' | 'X' = Template-Teil zum Namen dazu | 20090430 | ||
| 4 | PI_LANGU | Call by reference | Type reference (TYPE) | SPRAS | 20030813 | ||||
| 5 | PI_SERVICE | Call by reference | Type reference (TYPE) | IACSERVIC_ | 20030814 | ||||
| 6 | PI_THEME | Call by reference | Type reference (TYPE) | IACTHEME | 20030813 | ||||
| 7 | PI_TYPE | Call by reference | Type reference (TYPE) | IACTYPE | 20030813 | ||||
| 8 | PI_USE_NAMESPACE | Call by reference | Type reference (TYPE) | FLAG | ' ' | 'X' = Namensraum bei Templates beachten | 20071012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Setzen einer Enqueue-Sperre | 20030814 | ||
| 2 | Fehler beim Lesen des gegebenen Verzeichnisses | 20030813 | ||
| 3 | Fehler beim Lesen der Verzeichnisstruktur | 20030813 | ||
| 4 | 20080213 | |||
| 5 | Fehlende Berechtigungen | 20030814 | ||
| 6 | Fehler beim Schreiben der Transporteinträge | 20030814 | ||
| 7 | Unbekannter Fehler | 20030813 |
Method UPLOAD_SINGLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PC_OBJECT | Call by reference | Type reference (TYPE) | IACOBJ | Interner Name | 20030808 | |||
| 2 | PI_ALLOW_REPLACE | Call by reference | Type reference (TYPE) | FLAG | Überschreiben zulassen | 20030811 | |||
| 3 | PI_LONGNAME | Call by reference | Type reference (TYPE) | IACKEYLONG | externer Name (Template oder Mime) | 20030808 | |||
| 4 | PI_PATH | Call by reference | Type reference (TYPE) | STRING | zu ladende Datei oder relativer Pfad | 20030808 | |||
| 5 | PI_PATH_RELATIVE | Call by reference | Type reference (TYPE) | FLAG | wenn gesetzt, dann Pfadangabe nur relativ | 20030808 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Berechtigungsprüfung und Sperre | 20030811 | ||
| 2 | ZU importierendes Objekt existiert bereits | 20030811 | ||
| 3 | 20080213 | |||
| 4 | Fehler beim konvertieren des externen Namens in den internen | 20030811 | ||
| 5 | Voraussetzungen fehlen oder Objektname falsch | 20030811 | ||
| 6 | Fehler beim Schreiben des Transporteintrags | 20030811 | ||
| 7 | unbekannter Fehler | 20030811 | ||
| 8 | Fehler beim Hochladen vom Frontend | 20030811 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 640 |