SAP ABAP Class CL_HCS_FILE_ACCESS (File Access Functions)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-HLP-ABA (Application Component) Help Infrastructure for ABAP
⤷
SHCS_FILE_BASE (Package) Help Center Search: General File Access Functions
⤷
⤷
Properties
| Class | CL_HCS_FILE_ACCESS | |
| Short Description | File Access Functions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SHCS_FILE_BASE | Help Center Search: General File Access Functions |
| Created | 20090518 | SAP |
| Last change | 20110908 | 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_HCS_FILE_ACCESS has no interface implemented.
Friends
Class CL_HCS_FILE_ACCESS has no friend class.
Attributes
Class CL_HCS_FILE_ACCESS has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Does file exist? | 20090528 | |
| 2 | Static method | Public | Method | Determine File Size | 20090713 | |
| 3 | Static method | Public | Method | Read File | 20090528 |
Events
Class CL_HCS_FILE_ACCESS has no event.
Types
Class CL_HCS_FILE_ACCESS has no local type.
Method Signatures
Method FILE_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20090528 | |||
| 2 | R_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | Existiert Datei? | 20090528 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception bei Dateizugriffen | 20090528 |
Method GET_FILE_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20090713 | |||
| 2 | R_SIZE | Value transfer | Type reference (TYPE) | I | Dateigröße | 20090713 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception bei Dateizugriffen | 20090713 |
Method READ_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | Dateiinhalt | 20090727 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20090528 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception bei Dateizugriffen | 20090528 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in |