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 RSANM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SABC 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 FILENAME Instance attribute Private Type reference (TYPE) STRING 20030613
2 _C_STATE Constant Private See coding 20030613
3 _STATE Instance attribute Private Type reference (TYPE) I 20030613
Methods
# Method Level Visibility Method type Description Created on
1 APPSERVER_FILE_READ Static method Public Method Read Specified File from Application Server 20030613
2 CLOSE Instance method Public Method Close File 20030613
3 CONSTRUCTOR Instance method Public Constructor 20030613
4 FREE Instance method Public Method Free Resources 20030613
5 OPEN Instance method Public Method Open File 20030613
6 READ 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 Changing C_DATA_TAB Call by reference Type reference (TYPE) RSANM_FILE_TABLE Übergabetabelle für Datei-Inhalt 20030613
2 Importing I_FILENAME Value transfer Type reference (TYPE) STRING Name der Datei 20030613
3 Importing I_LINES Value transfer Type reference (TYPE) I -1 <= 0 - read whole file; N - read N first 20030613
# Exception Resumable Description Created on
1 CLOSE_FAILED Error while closing file 20030613
2 OPEN_FAILED Error while opening file 20030613
3 READ_FAILED 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 CLOSE_FAILED 20030613

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing I_CHECK_AUTHORITY Value transfer Type reference (TYPE) AS4FLAG 'X' Before opening do authority check ??? 20030815
# Exception Resumable Description Created on
1 OPEN_FAILED 20030613

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_DATA_TAB Call by reference Type reference (TYPE) RSANM_FILE_TABLE Data table 20030613
2 Exporting E_END_OF_FILE Value transfer Type reference (TYPE) AS4FLAG Flag (X oder Blank) 20030613
3 Exporting E_LINES_READ Value transfer Type reference (TYPE) I Number of lines read 20030613
4 Importing I_CLEAR_DATA_TAB Value transfer Type reference (TYPE) AS4FLAG 'X' Clear c_data_tab before reading data into it? 20030613
5 Importing I_LINES Value transfer Type reference (TYPE) I 1 Number of lines to read 20030613
# Exception Resumable Description Created on
1 READ_FAILED 20030613
History
Last changed by/on SAP  20130531 
SAP Release Created in 400