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 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_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 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_WRITE Static method Public Method Write Data to Specified File on 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 WRITE 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 Exporting E_LINES_WRITTEN Value transfer Type reference (TYPE) I Number of lines sucessfully written 20030613
2 Importing I_DATA_TAB Call by reference Type reference (TYPE) RSANM_FILE_TABLE Übergabetabelle für Datei-Inhalt 20030613
3 Importing I_FILENAME Value transfer Type reference (TYPE) STRING Name der Datei 20030613
4 Importing I_LINES_FROM Value transfer Type reference (TYPE) I 1 Starting index of input data table 20030613
5 Importing I_LINES_TO Value transfer Type reference (TYPE) I -1 Ending index of input data table (-1 menas til end of table) 20030613
6 Importing I_OVERWRITE Value transfer Type reference (TYPE) AS4FLAG SPACE Overwrite/append mode 20030613
# Exception Resumable Description Created on
1 CLOSE_FAILED Error while closing file 20030613
2 OPEN_FAILED Error while opening file 20030613
3 WRITE_FAILED 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 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_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 Importing I_CHECK_AUTHORITY Value transfer Type reference (TYPE) AS4FLAG 'X' Do authority check ? 20030815
2 Importing I_OVERWRITE Value transfer Type reference (TYPE) AS4FLAG SPACE Overwrite/append mode 20030613
# Exception Resumable Description Created on
1 OPEN_FAILED 20030613

Method WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LINES_WRITTEN Value transfer Type reference (TYPE) I Number of lines written 20030613
2 Importing I_DATA_TAB Call by reference Type reference (TYPE) RSANM_FILE_TABLE Data table 20030613
3 Importing I_LINES_FROM Value transfer Type reference (TYPE) I 1 Starting table line 20030613
4 Importing I_LINES_TO Value transfer Type reference (TYPE) I -1 Ending table line (-1 - whole table) 20030613
# Exception Resumable Description Created on
1 WRITE_FAILED 20030613
History
Last changed by/on SAP  20130531 
SAP Release Created in 400