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 | 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 | Instance attribute | Private | Type reference (TYPE) | STRING | 20100307 | ||||
| 2 | Constant | Private | See coding | 20100307 | |||||
| 3 | Instance attribute | Private | Type reference (TYPE) | I | 20100307 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Write Data to Specified File on Application Server | 20100307 | |
| 2 | Instance method | Public | Method | Close File | 20100307 | |
| 3 | Instance method | Public | Constructor | 20100307 | ||
| 4 | Instance method | Public | Method | Free Resources | 20100307 | |
| 5 | Instance method | Public | Method | Open File | 20100307 | |
| 6 | 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 | E_LINES_WRITTEN | Value transfer | Type reference (TYPE) | I | Number of Lines Successfully Written | 20100307 | |||
| 2 | I_DATA_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | Transfer Table for File Contents | 20100307 | |||
| 3 | I_FILENAME | Value transfer | Type reference (TYPE) | STRING | Name of File | 20100307 | |||
| 4 | I_LINES_FROM | Value transfer | Type reference (TYPE) | I | 1 | Starting Index of Input Data Table | 20100307 | ||
| 5 | I_LINES_TO | Value transfer | Type reference (TYPE) | I | -1 | Ending Index of Input Data Table (-1 Means til End of Table) | 20100307 | ||
| 6 | I_OVERWRITE | Value transfer | Type reference (TYPE) | AS4FLAG | SPACE | Overwrite/append Mode | 20100307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while Closing File | 20100307 | ||
| 2 | Error while Opening File | 20100307 | ||
| 3 | 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 | 20100307 |
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 | 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 | I_CHECK_AUTHORITY | Value transfer | Type reference (TYPE) | AS4FLAG | 'X' | Do Authorization Check ? | 20100307 | ||
| 2 | I_OVERWRITE | Value transfer | Type reference (TYPE) | AS4FLAG | SPACE | Overwrite/Append Mode | 20100307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100307 |
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 | 20100307 | |||
| 2 | I_DATA_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | Data Table | 20100307 | |||
| 3 | I_LINES_FROM | Value transfer | Type reference (TYPE) | I | 1 | Starting Table Line | 20100307 | ||
| 4 | I_LINES_TO | Value transfer | Type reference (TYPE) | I | -1 | Ending Table Line (-1 - Whole Table) | 20100307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100307 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |