SAP ABAP Class CL_GRFN_APPSERV_FILE_WRITER (Class Encapulating Block Writing to App. Server File)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_MSMP_WORKFLOW (Package) GRC Shared MSMP Engine
Properties
Class CL_GRFN_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    
Program status     
Category 0   
Package GRFN_MSMP_WORKFLOW   GRC Shared MSMP Engine 
Created 20100307   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SABC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GRFN_APPSERV_FILE_WRITER has no interface implemented.
Friends
Class CL_GRFN_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 20100307
2 _C_STATE Constant Private See coding 20100307
3 _STATE Instance attribute Private Type reference (TYPE) I 20100307
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 20100307
2 CLOSE Instance method Public Method Close File 20100307
3 CONSTRUCTOR Instance method Public Constructor 20100307
4 FREE Instance method Public Method Free Resources 20100307
5 OPEN Instance method Public Method Open File 20100307
6 WRITE Instance method Public Method Write Block of Lines 20100307
Events
Class CL_GRFN_APPSERV_FILE_WRITER has no event.
Types
Class CL_GRFN_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 Successfully Written 20100307
2 Importing I_DATA_TAB Call by reference Type reference (TYPE) STANDARD TABLE Transfer Table for File Contents 20100307
3 Importing I_FILENAME Value transfer Type reference (TYPE) STRING Name of File 20100307
4 Importing I_LINES_FROM Value transfer Type reference (TYPE) I 1 Starting Index of Input Data Table 20100307
5 Importing I_LINES_TO Value transfer Type reference (TYPE) I -1 Ending Index of Input Data Table (-1 Means til End of Table) 20100307
6 Importing I_OVERWRITE Value transfer Type reference (TYPE) AS4FLAG SPACE Overwrite/append Mode 20100307
# Exception Resumable Description Created on
1 CLOSE_FAILED Error while Closing File 20100307
2 OPEN_FAILED Error while Opening File 20100307
3 WRITE_FAILED Error while Writing to File 20100307

Method CLOSE Signature

Method CLOSE on class CL_GRFN_APPSERV_FILE_WRITER has no parameter.
# Exception Resumable Description Created on
1 CLOSE_FAILED 20100307

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 20100307

Method CONSTRUCTOR on class CL_GRFN_APPSERV_FILE_WRITER has no exception.

Method FREE Signature

Method FREE on class CL_GRFN_APPSERV_FILE_WRITER has no parameter.
Method FREE on class CL_GRFN_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 Authorization Check ? 20100307
2 Importing I_OVERWRITE Value transfer Type reference (TYPE) AS4FLAG SPACE Overwrite/Append Mode 20100307
# Exception Resumable Description Created on
1 OPEN_FAILED 20100307

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 20100307
2 Importing I_DATA_TAB Call by reference Type reference (TYPE) STANDARD TABLE Data Table 20100307
3 Importing I_LINES_FROM Value transfer Type reference (TYPE) I 1 Starting Table Line 20100307
4 Importing I_LINES_TO Value transfer Type reference (TYPE) I -1 Ending Table Line (-1 - Whole Table) 20100307
# Exception Resumable Description Created on
1 WRITE_FAILED 20100307
History
Last changed by/on SAP  20141106 
SAP Release Created in 600