SAP ABAP Class CL_RSAN_UT_APPSERV_FILE_READER (Class Encapulating Block Reading from App. Server File)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-EI-APD (Application Component) Analysis Process Designer
⤷
RSAN_UT_GENERAL (Package) APD - Utility Services - general
⤷
⤷
Properties
| Class | CL_RSAN_UT_APPSERV_FILE_READER | |
| Short Description | Class Encapulating Block Reading from App. Server File | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | RSAN_UT | |
| Program status | ||
| Category | 0 | |
| Package | RSAN_UT_GENERAL | APD - Utility Services - general |
| Created | 20030613 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSAN_UT_APPSERV_FILE_READER has no interface implemented.
Friends
Class CL_RSAN_UT_APPSERV_FILE_READER 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) | STRING | 20030613 | ||||
| 2 | Constant | Private | See coding | 20030613 | |||||
| 3 | Instance attribute | Private | Type reference (TYPE) | I | 20030613 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Read Specified File from Application Server | 20030613 | |
| 2 | Instance method | Public | Method | Close File | 20030613 | |
| 3 | Instance method | Public | Constructor | 20030613 | ||
| 4 | Instance method | Public | Method | Free Resources | 20030613 | |
| 5 | Instance method | Public | Method | Open File | 20030613 | |
| 6 | Instance method | Public | Method | Read Block of Lines | 20030613 |
Events
Class CL_RSAN_UT_APPSERV_FILE_READER has no event.
Types
Class CL_RSAN_UT_APPSERV_FILE_READER has no local type.
Method Signatures
Method APPSERVER_FILE_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_DATA_TAB | Call by reference | Type reference (TYPE) | RSANM_FILE_TABLE | Übergabetabelle für Datei-Inhalt | 20030613 | |||
| 2 | I_FILENAME | Value transfer | Type reference (TYPE) | STRING | Name der Datei | 20030613 | |||
| 3 | I_LINES | Value transfer | Type reference (TYPE) | I | -1 | <= 0 - read whole file; N - read N first | 20030613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while closing file | 20030613 | ||
| 2 | Error while opening file | 20030613 | ||
| 3 | Error while reading from file | 20030613 |
Method CLOSE Signature
Method CLOSE on class CL_RSAN_UT_APPSERV_FILE_READER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030613 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FILENAME | Call by reference | Type reference (TYPE) | STRING | 20030613 |
Method CONSTRUCTOR on class CL_RSAN_UT_APPSERV_FILE_READER has no exception.
Method FREE Signature
Method FREE on class CL_RSAN_UT_APPSERV_FILE_READER has no parameter.
Method FREE on class CL_RSAN_UT_APPSERV_FILE_READER has no exception.
Method OPEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CHECK_AUTHORITY | Value transfer | Type reference (TYPE) | AS4FLAG | 'X' | Before opening do authority check ??? | 20030815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030613 |
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_DATA_TAB | Call by reference | Type reference (TYPE) | RSANM_FILE_TABLE | Data table | 20030613 | |||
| 2 | E_END_OF_FILE | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X oder Blank) | 20030613 | |||
| 3 | E_LINES_READ | Value transfer | Type reference (TYPE) | I | Number of lines read | 20030613 | |||
| 4 | I_CLEAR_DATA_TAB | Value transfer | Type reference (TYPE) | AS4FLAG | 'X' | Clear c_data_tab before reading data into it? | 20030613 | ||
| 5 | I_LINES | Value transfer | Type reference (TYPE) | I | 1 | Number of lines to read | 20030613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030613 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 400 |