SAP ABAP Class CL_ABAP_ZIP (Zip Utility)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
ABAP_EXPIMP (Package) Package for EXPORT IMPORT

⤷

⤷

Properties
Class | CL_ABAP_ZIP | |
Short Description | Zip Utility | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | ABAP_EXPIMP | Package for EXPORT IMPORT |
Created | 20050608 | SAP |
Last change | 20131127 | 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) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ABAP_ZIP has no interface implemented.
Friends
Class CL_ABAP_ZIP has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Type reference (TYPE) | XSTRING | 20050609 | |||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_EXTS | 20050609 | |||
3 | ![]() |
Instance attribute | Public | Type reference (TYPE) | T_FILES | 20050609 | |||
4 | ![]() |
Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Feature initially disabled due to compatibility | 20090917 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Adds a File to a Zip Folder | 20050609 |
2 | ![]() |
Static method | Public | Method | Calculate a CRC32 Value | 20050609 |
3 | ![]() |
Instance method | Public | Method | Deletes a File in the Zip Folder | 20050609 |
4 | ![]() |
Instance method | Public | Method | Reads a File from the Zip Folder | 20050609 |
5 | ![]() |
Instance method | Public | Method | Loads a Zip File | 20050609 |
6 | ![]() |
Instance method | Public | Method | Creates a Zip File | 20050609 |
7 | ![]() |
Static method | Public | Method | Loads and Splits a Zip File | 20060306 |
Events
Class CL_ABAP_ZIP has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | T_EXT | Private | See coding | 20050609 | BEGIN OF T_EXT,
min_extract_version TYPE i,
gen_flags TYPE i,
compressed TYPE i,
compsize TYPE i,
crc32(4) TYPE x,
filename_len TYPE i,
filename TYPE xstring,
extra_len TYPE i,
extra TYPE xstring,
content TYPE xstring,
END OF T_EXT
|
||
2 | T_EXTS | Private | See coding | 20050609 | T_EXTS TYPE STANDARD TABLE OF T_EXT
|
||
3 | T_FILE | Public | See coding | 20050609 | BEGIN OF T_FILE,
name TYPE string,
date TYPE d,
time TYPE t,
size TYPE i,
END OF T_FILE
|
||
4 | T_FILES | Public | See coding | 20050609 | T_FILES TYPE STANDARD TABLE OF T_FILE
|
||
5 | T_SPLICE_ENTRIES | Public | See coding | 20060306 | T_SPLICE_ENTRIES TYPE STANDARD TABLE OF T_SPLICE_ENTRY WITH DEFAULT KEY
|
||
6 | T_SPLICE_ENTRY | Public | See coding | 20060306 | BEGIN OF T_SPLICE_ENTRY,
name TYPE string,
offset TYPE i,
length TYPE i,
compressed TYPE i,
END OF T_SPLICE_ENTRY
|
Method Signatures
Method ADD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Call by reference | Type reference (TYPE) | XSEQUENCE | 20050609 | |||
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name (von Groß-/Kleinschreibung abhängig) | 20050609 |
Method ADD on class CL_ABAP_ZIP has no exception.
Method CRC32 Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20050609 | |||
2 | ![]() |
CRC32 | Value transfer | Type reference (TYPE) | I | 20050609 |
Method CRC32 on class CL_ABAP_ZIP has no exception.
Method DELETE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
INDEX | Value transfer | Type reference (TYPE) | I | 0 | Entweder Name oder Index | 20050609 | |
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name (von Groß-/Kleinschreibung abhängig) | 20050609 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050609 |
Method GET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CONTENT | Call by reference | Type reference (TYPE) | XSTRING | Inhalt | 20050609 | ||
2 | ![]() |
INDEX | Value transfer | Type reference (TYPE) | I | 0 | Entweder Name oder Index | 20050609 | |
3 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name (von Groß-/Kleinschreibung abhängig) | 20050609 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050609 | ||
2 | ![]() |
20050609 |
Method LOAD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ZIP | Call by reference | Type reference (TYPE) | XSTRING | 20050609 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050609 |
Method SAVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ZIP | Value transfer | Type reference (TYPE) | XSTRING | 20050609 |
Method SAVE on class CL_ABAP_ZIP has no exception.
Method SPLICE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ENTRIES | Value transfer | Type reference (TYPE) | T_SPLICE_ENTRIES | 20060306 | |||
2 | ![]() |
SUPPORT_UNICODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130422 | ||
3 | ![]() |
ZIP | Call by reference | Type reference (TYPE) | XSTRING | 20060306 |
Method SPLICE on class CL_ABAP_ZIP has no exception.
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in | 732 |