SAP ABAP Class CL_HRPAYJP_ABSTRACT_FILEWRITER (Abstraction layer of file interface tools)
Hierarchy
☛
SAP_HRCJP (Software Component) Sub component SAP_HRCJP of SAP_HR
⤷ PY-JP (Application Component) Japan
⤷ PC22 (Package) HR accounting: Japan
⤷ PY-JP (Application Component) Japan
⤷ PC22 (Package) HR accounting: Japan
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_HRPAYJP_APSERVER_FILEWRITER | Application server file writer | 20040819 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_HRPAYJP_FRONTEND_FILEWRITER | Front end file writer | 20040906 |
3 | Inheritance (c INHERITING FROM c_ref) | CL_HRPAYJP_TEMSE_FILEWRITER | TemSe file writer | 20040819 |
Properties
Class | CL_HRPAYJP_ABSTRACT_FILEWRITER | |
Short Description | Abstraction layer of file interface tools | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PC22 | HR accounting: Japan |
Created | 20040818 | SAP |
Last change | 20060912 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HRPAYJP_ABSTRACT_FILEWRITER has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_HRPAYJP_FILEWRITER_FACTORY | 20041108 | Factory class of file writer |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | LC_FIXED_LENGTH_RECORD | Constant | Public | Type reference (TYPE) | CHAR1 | 'F' | Type of a record: Fixed length | 20040818 | |
2 | LC_VARIABLE_LENGTH_RECORD | Constant | Public | Type reference (TYPE) | CHAR1 | 'V' | Type of a record: Variable length | 20040818 | |
3 | LREF_RECORD_BUFFER | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_HRPAYJP_ABSTRACT_FILEREC | Buffer for a file record | 20040818 | ||
4 | LT_FILE_BUFFER | Instance attribute | Protected | Type reference (TYPE) | HRPAYJP_FILE_BUFFER | Buffer for file records | 20040818 | ||
5 | LV_ADD_CRLF | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Add CR+LF at the end of each record | 20040818 | |
6 | LV_FILE_NAME | Instance attribute | Public | Type reference (TYPE) | STRING | File name | 20040818 | ||
7 | LV_OUT_ENCODING | Instance attribute | Protected | Type reference (TYPE) | CPCODEPAGE | Codepage of local file | 20040818 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | FINISH_FILE | Instance method | Public | Method | Finish writing a file | 20040818 |
2 | FINISH_RECORD | Instance method | Public | Method | Finish writing a record | 20040818 |
3 | INIT | Instance method | Protected | Method | Initialize file writer | 20041108 |
4 | SET_FIELD | Instance method | Public | Method | Add a filed into a record | 20040818 |
5 | START_FILE | Instance method | Public | Method | Start writing a file | 20040818 |
6 | START_RECORD | Instance method | Public | Method | Start writing a record | 20040818 |
Events
Class CL_HRPAYJP_ABSTRACT_FILEWRITER has no event.
Types
Class CL_HRPAYJP_ABSTRACT_FILEWRITER has no local type.
Method Signatures
Method FINISH_FILE Signature
Method FINISH_FILE on class CL_HRPAYJP_ABSTRACT_FILEWRITER has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYJP_FILEWRITER_ERROR | Exception class for file interface tools | 20040818 |
Method FINISH_RECORD Signature
Method FINISH_RECORD on class CL_HRPAYJP_ABSTRACT_FILEWRITER has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYJP_FILEWRITER_ERROR | Exception class for file interface tools | 20040818 |
Method INIT Signature
Method INIT on class CL_HRPAYJP_ABSTRACT_FILEWRITER has no parameter.
Method INIT on class CL_HRPAYJP_ABSTRACT_FILEWRITER has no exception.
Method SET_FIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CONTENTS | Call by reference | Type reference (TYPE) | CLIKE | Contents of a field | 20040818 | ||
2 | Importing | IV_FIELD_LENGTH | Call by reference | Type reference (TYPE) | I | Length of a field | 20040818 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYJP_FILEWRITER_ERROR | Exception class for file interface tools | 20040818 |
Method START_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_ADD_CRLF | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Add CR+LF at the end of each record | 20040818 | |
2 | Importing | IV_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | File name | 20040818 | ||
3 | Importing | IV_OUT_ENCODING | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP Character Set Identification | 20040818 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYJP_FILEWRITER_ERROR | Exception class for file interface tools | 20040818 |
Method START_RECORD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_RECORD_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Type of a record:LC_FIXED_LENGTH_RECORD/LC_VARIABLE_LENGTH_R | 20040818 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_HRPAYJP_FILEWRITER_ERROR | Exception class for file interface tools | 20040818 |
History
Last changed by/on | SAP | 20060912 |
SAP Release Created in | 600 |