SAP ABAP Class CL_RSAN_UT_APPSERV_FILE_WRITER (Class Encapulating Block Writing to 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_WRITER | |
| Short Description | Class Encapulating Block Writing to 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_WRITER has no interface implemented.
Friends
Class CL_RSAN_UT_APPSERV_FILE_WRITER 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 | Write Data to Specified File on 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 | Write Block of Lines | 20030613 |
Events
Class CL_RSAN_UT_APPSERV_FILE_WRITER has no event.
Types
Class CL_RSAN_UT_APPSERV_FILE_WRITER has no local type.
Method Signatures
Method APPSERVER_FILE_WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LINES_WRITTEN | Value transfer | Type reference (TYPE) | I | Number of lines sucessfully written | 20030613 | |||
| 2 | I_DATA_TAB | Call by reference | Type reference (TYPE) | RSANM_FILE_TABLE | Übergabetabelle für Datei-Inhalt | 20030613 | |||
| 3 | I_FILENAME | Value transfer | Type reference (TYPE) | STRING | Name der Datei | 20030613 | |||
| 4 | I_LINES_FROM | Value transfer | Type reference (TYPE) | I | 1 | Starting index of input data table | 20030613 | ||
| 5 | I_LINES_TO | Value transfer | Type reference (TYPE) | I | -1 | Ending index of input data table (-1 menas til end of table) | 20030613 | ||
| 6 | I_OVERWRITE | Value transfer | Type reference (TYPE) | AS4FLAG | SPACE | Overwrite/append mode | 20030613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while closing file | 20030613 | ||
| 2 | Error while opening file | 20030613 | ||
| 3 | Error while writing to file | 20030613 |
Method CLOSE Signature
Method CLOSE on class CL_RSAN_UT_APPSERV_FILE_WRITER 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_WRITER has no exception.
Method FREE Signature
Method FREE on class CL_RSAN_UT_APPSERV_FILE_WRITER has no parameter.
Method FREE on class CL_RSAN_UT_APPSERV_FILE_WRITER 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' | Do authority check ? | 20030815 | ||
| 2 | I_OVERWRITE | Value transfer | Type reference (TYPE) | AS4FLAG | SPACE | Overwrite/append mode | 20030613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030613 |
Method WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LINES_WRITTEN | Value transfer | Type reference (TYPE) | I | Number of lines written | 20030613 | |||
| 2 | I_DATA_TAB | Call by reference | Type reference (TYPE) | RSANM_FILE_TABLE | Data table | 20030613 | |||
| 3 | I_LINES_FROM | Value transfer | Type reference (TYPE) | I | 1 | Starting table line | 20030613 | ||
| 4 | I_LINES_TO | Value transfer | Type reference (TYPE) | I | -1 | Ending table line (-1 - whole table) | 20030613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030613 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 400 |