SAP ABAP Class CL_CTS_LANGUAGE_FILE_IO (File Access Class of Language Transport)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CTS-LAN (Application Component) Language Transport
⤷
STRALAN (Package) Language Transport with tp/R3trans
⤷
⤷
Properties
| Class | CL_CTS_LANGUAGE_FILE_IO | |
| Short Description | File Access Class of Language Transport | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STRALAN | Language Transport with tp/R3trans |
| Created | 20000613 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CTS_LANGUAGE_FILE_IO has no interface implemented.
Friends
Class CL_CTS_LANGUAGE_FILE_IO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CONV_IN_CE | Code Page Converter (Read) | 20000614 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CONV_OUT_CE | Code Page Converter (Write) | 20000614 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Block Data (Raw) | 20000613 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Block Header (Rraw) | 20000613 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TY_SPAM_BLOCK_DATA | Support Package Block Data | 20000614 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TY_SPAM_BLOCK_HEADER | Support Package Block Header | 20000614 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | I | Number of bytes written | 20000824 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | EPSDIRNAM | EPS Directory | 20000616 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | Block Header Length | 20000616 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | AS4FLAG | Overwrite mode | 20000620 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | EPSPATH | Current Support Package File | 20000614 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TRFILE | SPACE | Alternative TPPARAM | 20000619 | ||
| 13 | Static Attribute | Private | Type reference (TYPE) | TRFILE | Transport Directory | 20000616 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | I | 1 | Internal counter | 20030123 | ||
| 15 | Constant | Public | Type reference (TYPE) | TV_IMAGE | '@IH@' | Icon Directory | 20000620 | ||
| 16 | Constant | Public | Type reference (TYPE) | TV_IMAGE | '@IF@' | Icon File | 20000620 | ||
| 17 | Constant | Public | Type reference (TYPE) | TV_IMAGE | '@FU@' | Icon Package | 20000620 | ||
| 18 | Constant | Public | Type reference (TYPE) | EPSPCLEXT | 'PAT' | Support Package File Extension | 20000619 | ||
| 19 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'A' | Support Package Block Type A - Attributes | 20000619 | ||
| 20 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'P' | Support Package Block Type P - Preconditions | 20000619 | ||
| 21 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'D' | Support Package Block Type D - ADO Data File | 20000619 | ||
| 22 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'N' | Support Package Block Type N - Notes | 20000619 | ||
| 23 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'M' | Patch Block Type M - Notes | 20110512 | ||
| 24 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'R' | Support Package Block Type R - R3trans Data File | 20000619 | ||
| 25 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'L' | Support Package Block Type L - Separation Block | 20000619 | ||
| 26 | Constant | Public | Type reference (TYPE) | PAT_RECTYP | 'X' | Support Package Block Type X - Extended Attributes | 20000619 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Read Support Package Attributes | 20000620 | |
| 2 | Static method | Public | Method | Create Support Package File | 20000620 | |
| 3 | Instance method | Public | Method | Computes Paths to Transport Request Files | 20000614 | |
| 4 | Instance method | Public | Constructor | Constructor | 20000613 | |
| 5 | Static method | Public | Method | Copies Files to Application Server | 20000616 | |
| 6 | Instance method | Private | Method | Create Transport Request Cofiles | 20000619 | |
| 7 | Instance method | Private | Method | Create Support Package File | 20000616 | |
| 8 | Instance method | Private | Method | Cleanup | 20000613 | |
| 9 | Static method | Public | Method | Unpack Support Package File | 20000620 | |
| 10 | Instance method | Private | Method | Evaluate Block | 20000614 | |
| 11 | Static method | Public | Method | Read Directory Contents | 20000620 | |
| 12 | Static method | Public | Method | Get All Support Packages in Specified Directory | 20000620 | |
| 13 | Static method | Public | Method | Read Support Package Attributes | 20000620 | |
| 14 | Instance method | Private | Method | Read Block from Support Package File | 20000614 | |
| 15 | Static method | Private | Method | Update PATxx administration tables | 20001222 | |
| 16 | Instance method | Private | Method | Write Block to Support Package File | 20000616 |
Events
Class CL_CTS_LANGUAGE_FILE_IO has no event.
Types
Class CL_CTS_LANGUAGE_FILE_IO has no local type.
Method Signatures
Method ANALYZE_PATCH_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PAT03 | Call by reference | Type reference (TYPE) | PAT03 | PAT03 | 20000620 | |||
| 2 | EX_PAT07 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT07 | 20000620 | |||
| 3 | EX_PAT08 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT08 | 20000620 | |||
| 4 | EX_PAT11 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT11 | 20000620 | |||
| 5 | IM_ALL_ATTRIBUTES | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | alle Attribute lesen | 20000620 | ||
| 6 | IM_ATTRIBUTES_ONLY | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | nur Attribute laden | 20000620 | ||
| 7 | IM_FILENAME | Call by reference | Type reference (TYPE) | EPSPATH | Dateiname | 20000620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Erzeugen der Cofiles | 20000620 | ||
| 2 | Datenfile konnte nicht erzeugt werden | 20000620 | ||
| 3 | Fehler beim Schreiben in das Datenfile | 20000620 | ||
| 4 | Patchfile konnte nicht geöffnet werden | 20000620 | ||
| 5 | Fehler beim Lesen des Patchfiles | 20000620 | ||
| 6 | Dieser Patchformattyp wird nicht unterstützt | 20000620 |
Method ASSEMBLE_PATCHFILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_BYTES_WRITTEN | Call by reference | Type reference (TYPE) | I | Anzahl geschriebener Bytes | 20000824 | |||
| 2 | EX_DIRECTORY | Call by reference | Type reference (TYPE) | EPSDIRNAM | directory name | 20001206 | |||
| 3 | IM_ATTRIBUTES | Call by reference | Type reference (TYPE) | PAT03 | Attribute | 20000620 | |||
| 4 | IM_PATCHNAME | Call by reference | Type reference (TYPE) | EPSFILNAM | 'TEST' | Name des Patchfiles | 20000620 | ||
| 5 | IM_PAT_FORMAT | Call by reference | Type reference (TYPE) | PAT_FORMAT | Paketformat | 20000818 | |||
| 6 | IM_SUBDIRECTORY | Call by reference | Type reference (TYPE) | EPSDIRNAM | SPACE | Unterverzeichnis von ./EPS/out | 20010613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen des R3transdatenfiles | 20000627 | ||
| 2 | Format wird nicht unterstützt | 20000818 | ||
| 3 | interner Fehler | 20001027 | ||
| 4 | Fehler beim Schreiben des Patchfiles | 20000627 | ||
| 5 | Fehler beim Lesen des SDO Files | 20000627 |
Method COMPUTE_TRANSPORT_FILES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_COFILE | Value transfer | Type reference (TYPE) | EPSPATH | Cofile | 20000614 | |||
| 2 | EX_COFILE_EXISTS | Value transfer | Type reference (TYPE) | AS4FLAG | Cofile existiert | 20000818 | |||
| 3 | EX_DATAFILE | Value transfer | Type reference (TYPE) | EPSPATH | Datenfile | 20000614 | |||
| 4 | EX_DATAFILE_EXISTS | Value transfer | Type reference (TYPE) | AS4FLAG | Datenfile existiert | 20000818 | |||
| 5 | EX_SDOFILE | Value transfer | Type reference (TYPE) | EPSPATH | SDO-File | 20000614 | |||
| 6 | EX_SDOFILE_EXISTS | Value transfer | Type reference (TYPE) | AS4FLAG | SDO-File existiert | 20000818 | |||
| 7 | IM_CHECK_EXISTENCE | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | auf Existenz prüfen | 20000818 | ||
| 8 | IM_REFRESH_FILES | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | Dateien löschen | 20000623 | ||
| 9 | IM_TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Transportauftrag | 20000614 |
Method COMPUTE_TRANSPORT_FILES on class CL_CTS_LANGUAGE_FILE_IO has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | '1100' | Encoding | 20000613 | ||
| 2 | IM_OVERWRITE | Call by reference | Type reference (TYPE) | AS4FLAG | 'X' | Überschreibmodus | 20000613 | ||
| 3 | IM_TPPARAM | Call by reference | Type reference (TYPE) | EPSFILNAM | SPACE | alternative TPPARAM | 20000619 | ||
| 4 | IM_TRANSDIR | Call by reference | Type reference (TYPE) | EPSDIRNAM | 'T' | Transportdirectory | 20000616 |
Method CONSTRUCTOR on class CL_CTS_LANGUAGE_FILE_IO has no exception.
Method COPY_FILES_LOCAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_FILE_SIZE | Call by reference | Type reference (TYPE) | EPSFILSIZ | file size | 20000616 | |||
| 2 | IM_OVERWRITE_MODE | Call by reference | Type reference (TYPE) | EPSOVRWRI | SPACE | Überschreibmodus | 20000616 | ||
| 3 | IM_SOURCE_DIRECTORY | Call by reference | Type reference (TYPE) | EPSDIRNAM | Quelle: Directory | 20000616 | |||
| 4 | IM_SOURCE_FILE | Call by reference | Type reference (TYPE) | EPSFILNAM | Quelle: Dateiname | 20000616 | |||
| 5 | IM_TARGET_DIRECTORY | Call by reference | Type reference (TYPE) | EPSDIRNAM | Ziel: Directory | 20000616 | |||
| 6 | IM_TARGET_FILE | Call by reference | Type reference (TYPE) | EPSFILNAM | Ziel: Dateiname | 20000616 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Schließen der Zieldatei | 20000616 | ||
| 2 | Öffnen der Quelldatei gescheitert | 20000616 | ||
| 3 | Anlegen der Zieldatei gescheitert | 20000616 | ||
| 4 | Fehler beim Lesen der Quelldatei | 20000616 | ||
| 5 | Fehler beim Schreiben in die Zieldatei | 20000616 |
Method CREATE_COFILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TRKORR | Call by reference | Type reference (TYPE) | TRKORR | Transportauftrag | 20000619 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in der Durchführung | 20000619 | ||
| 2 | Fehler beim tp Aufruf | 20000619 | ||
| 3 | Fehler beim Anlesen des Cofiles | 20000619 | ||
| 4 | Fehler im tp Interface | 20000619 |
Method CREATE_PATCH_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PAT03 | Call by reference | Type reference (TYPE) | PAT03 | PAT03 | 20000818 | |||
| 2 | IM_PAT07 | Call by reference | Type reference (TYPE) | TT_PAT07 | PAT07 | 20000818 | |||
| 3 | IM_PAT08 | Call by reference | Type reference (TYPE) | TT_PAT08 | PAT08 | 20000818 | |||
| 4 | IM_PAT11 | Call by reference | Type reference (TYPE) | TT_PAT11 | PAT11 | 20000818 | |||
| 5 | IM_PATCHFILE | Call by reference | Type reference (TYPE) | TRFILE | Pfad + Name des Patchfiles | 20000821 | |||
| 6 | IM_PAT_FORMAT | Call by reference | Type reference (TYPE) | PAT_FORMAT | '04' | Paketformat | 20000818 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen des R3transdatenfiles | 20000619 | ||
| 2 | Format wird nicht unterstützt | 20000818 | ||
| 3 | Fehler beim Schreiben ins Patchfile | 20000619 | ||
| 4 | Fehler beim Lesen des SDO Files | 20000619 |
Method DESTRUCT Signature
Method DESTRUCT on class CL_CTS_LANGUAGE_FILE_IO has no parameter.
Method DESTRUCT on class CL_CTS_LANGUAGE_FILE_IO has no exception.
Method DISASSEMBLE_PATCHFILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DIRECTORY | Call by reference | Type reference (TYPE) | EPSDIRNAM | Verzeichnis | 20000623 | |||
| 2 | IM_FILENAME | Call by reference | Type reference (TYPE) | EPSFILNAM | Dateiname | 20000620 | |||
| 3 | IM_FILEPATH | Call by reference | Type reference (TYPE) | EPSPATH | zu entpackendes Patchfile | 20000623 | |||
| 4 | IM_OVERWRITE_FILES | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | Datenfiles überschreiben | 20000818 | ||
| 5 | IM_UPDATE_PAT_TABLES | Call by reference | Type reference (TYPE) | AS4FLAG | 'X' | Update auf PAT-Tabellen | 20000818 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Erzeugen der Cofiles | 20000620 | ||
| 2 | Datenfile konnte nicht erzeugt werden | 20000620 | ||
| 3 | Fehler beim Schreiben in das Datenfile | 20000620 | ||
| 4 | Interner Fehler | 20000818 | ||
| 5 | Patchfile konnte nicht geöffnet werden | 20000620 | ||
| 6 | Fehler beim Lesen des Patchfiles | 20000620 | ||
| 7 | Dieser Patchformattyp wird nicht unterstützt | 20000620 |
Method EVALUATE_PATCH_BLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_LINE | Call by reference | Type reference (TYPE) | ANY | Zeile | 20000614 | |||
| 2 | CH_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | Tabelle | 20000614 |
Method EVALUATE_PATCH_BLOCK on class CL_CTS_LANGUAGE_FILE_IO has no exception.
Method GET_DIRECTORY_LISTING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DIRECTORY_CONTENT | Call by reference | Type reference (TYPE) | SLANDIRT | Inhalt des Verzeichnisses | 20000620 | |||
| 2 | IM_DIRECTORY | Call by reference | Type reference (TYPE) | EPSDIRNAM | '\wdfrootsapmnt ransdist5' | directory name | 20000620 | ||
| 3 | IM_FILE_MASK | Call by reference | Type reference (TYPE) | EPSFILNAM | SPACE | Filter | 20000620 | ||
| 4 | IM_TIMEOUT | Call by reference | Type reference (TYPE) | I | '10' | max. Zeit für das Lesen des Directories | 20000620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Lesen des Verzeichnisses | 20000620 | ||
| 2 | Leeres Verzeichnis | 20000620 | ||
| 3 | Zu viele Lesefehler | 20000620 |
Method GET_PATCHES_IN_DIRECTORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PAT03 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT03 | 20000620 | |||
| 2 | EX_PAT07 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT07 | 20000620 | |||
| 3 | EX_PAT08 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT08 | 20000620 | |||
| 4 | EX_PAT11 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT11 | 20000620 | |||
| 5 | EX_PAT_UPLOAD | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT_UPLOAD | 20000623 | |||
| 6 | IM_DIRECTORY | Call by reference | Type reference (TYPE) | EPSDIRNAM | '\wdfrootsapmnt ransdist5EPSin' | directory name | 20000620 | ||
| 7 | IM_UPDATE_PAT_TABLES | Call by reference | Type reference (TYPE) | AS4FLAG | SPACE | mit update auf PATxx Tabellen | 20000620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | leeres Verzeichnis | 20000620 | ||
| 2 | Fehler beim Lesen des Verzeichnisses | 20000620 | ||
| 3 | ungültiges Verzeichnis | 20000620 | ||
| 4 | keine Patches im Directory | 20000620 | ||
| 5 | unbekannter Fehler | 20001027 |
Method GET_PATCH_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_PAT03 | Call by reference | Type reference (TYPE) | PAT03 | PAT03 | 20000620 | |||
| 2 | EX_PAT07 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT07 | 20000620 | |||
| 3 | EX_PAT08 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT08 | 20000620 | |||
| 4 | EX_PAT11 | Call by reference | Type reference (TYPE) | STANDARD TABLE | PAT11 | 20000620 | |||
| 5 | IM_FILENAME | Call by reference | Type reference (TYPE) | EPSPATH | Patchfile | 20000620 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PAT Datei konnte nicht geöffnet werden | 20000818 | ||
| 2 | Fehler beim Lesen der PAT Datei | 20000818 | ||
| 3 | PAT Datei hat unbekanntes Format | 20000818 | ||
| 4 | unbekannter Fehler | 20000818 |
Method READ_PATCH_BLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_EOF | Value transfer | Type reference (TYPE) | AS4FLAG | EOF | 20000614 |
Method READ_PATCH_BLOCK on class CL_CTS_LANGUAGE_FILE_IO has no exception.
Method UPDATE_PAT_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_PAT03 | Call by reference | Type reference (TYPE) | TT_PAT03 | PAT03 Einträge | 20001222 | |||
| 2 | IM_PAT07 | Call by reference | Type reference (TYPE) | TT_PAT07 | PAT07 Einträge | 20001222 | |||
| 3 | IM_PAT08 | Call by reference | Type reference (TYPE) | TT_PAT08 | PAT08 Einträge | 20001222 | |||
| 4 | IM_PAT11 | Call by reference | Type reference (TYPE) | TT_PAT11 | PAT11 Einträge | 20001222 |
Method UPDATE_PAT_TABLES on class CL_CTS_LANGUAGE_FILE_IO has no exception.
Method WRITE_PATCH_BLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CH_LINE | Call by reference | Type reference (TYPE) | ANY | Line | 20000616 | |||
| 2 | CH_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | Tabelle | 20000616 | |||
| 3 | EX_BLOCK_INCOMPLETE | Call by reference | Type reference (TYPE) | C | Block unvollständig geschrieben | 20030123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Schreiben in die Datei | 20000619 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 50A |