SAP ABAP Class CL_HRPAYDE_FILE_UTILITIES (Read / Write (PC, Application Server, and TemSe))
Hierarchy
☛
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
⤷ PY-DE (Application Component) Germany
⤷ PC01 (Package) HR Payroll: Germany
⤷ PY-DE (Application Component) Germany
⤷ PC01 (Package) HR Payroll: Germany
Properties
Class | CL_HRPAYDE_FILE_UTILITIES | |
Short Description | Read / Write (PC, Application Server, and TemSe) | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | HRPAYDEAL | |
Program status | ||
Category | 0 | |
Package | PC01 | HR Payroll: Germany |
Created | 20050414 | 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) |
2 | CL_GUI_FRONTEND_SERVICES | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_HRPAYDE_FILE_UTILITIES has no interface implemented.
Friends
Class CL_HRPAYDE_FILE_UTILITIES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | AT_FILE_DELETED | Static Attribute | Private | Type reference (TYPE) | HRPAYDE_FILEEXTERN | FILEEXTERN TTYP | 20051201 | ||
2 | A_DELIMITER_CHAR | Static Attribute | Private | Type reference (TYPE) | CHAR2 | Separator as CHAR | 20050923 | ||
3 | A_EXCEPTION_STRING | Static Attribute | Public | Type reference (TYPE) | STRING | Long Text for an Exception | 20050415 | ||
4 | A_LEN | Static Attribute | Private | Type reference (TYPE) | I | 20050923 | |||
5 | A_REF_TO_CX_ROOT | Static Attribute | Public | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20050415 | ||
6 | C_DEFAULT_CODEPAGE | Constant | Public | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | 20050923 | ||
7 | C_FILETYPE_BIN | Constant | Public | Type reference (TYPE) | CHAR10 | 'BIN' | Character Field of Length 10 | 20050923 | |
8 | C_X_CR | Constant | Public | Type reference (TYPE) | SYHEX01 | '0A' | hex CR | 20050929 | |
9 | C_X_CR_LF | Constant | Public | Type reference (TYPE) | SYHEX02 | '0D0A' | hex CR LF | 20050929 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | GET_DELIMITER_AS_CHAR | Static method | Public | Method | Return Separator as CHAR | 20050923 |
2 | GET_OS_FILE | Static method | Public | Method | Read File from Application Server | 20050414 |
3 | GET_PC_FILE | Static method | Public | Method | Read File from Front End | 20050414 |
4 | GET_SW_TEMSE_FILE_EXITS | Static method | Public | Method | Delivers 'X' if a TemSe Object Exists | 20050509 |
5 | GET_TEMSE_FILE | Static method | Public | Method | Read File from TemSe | 20050414 |
6 | GET_XTAB_FROM_CHARTAB | Static method | Public | Method | Convert CHAR Table into X Table | 20050929 |
7 | WRITE_TABLE_TO_OS | Static method | Public | Method | Write Internal Table to Application Server | 20050415 |
8 | WRITE_TABLE_TO_OS_EXT | Static method | Public | Method | Write Internal Table to Application Server (Enhanced) | 20050923 |
9 | WRITE_TABLE_TO_PC | Static method | Public | Method | Write Internal Table to PC | 20050414 |
10 | WRITE_TABLE_TO_PC_EXT | Static method | Public | Method | Write Internal Table to PC (Enhanced) | 20050923 |
11 | WRITE_TABLE_TO_TEMSE | Static method | Public | Method | Write Internal Table to TemSe | 20050414 |
Events
Class CL_HRPAYDE_FILE_UTILITIES has no event.
Types
Class CL_HRPAYDE_FILE_UTILITIES has no local type.
Method Signatures
Method GET_DELIMITER_AS_CHAR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_DELIMITER_CHAR | Call by reference | Type reference (TYPE) | C | hex Zeilentrenner, z.B. ## | 20050923 | ||
2 | Exporting | E_LEN | Call by reference | Type reference (TYPE) | I | Länge des Zeilentrenners | 20050923 | ||
3 | Importing | I_DELIMITER_X | Call by reference | Type reference (TYPE) | X | hex Zeilentrenner, z.B. CR LF | 20050923 | ||
4 | Importing | I_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | 20050923 |
Method GET_DELIMITER_AS_CHAR on class CL_HRPAYDE_FILE_UTILITIES has no exception.
Method GET_OS_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_FULLPATH_PHYS_USED | Call by reference | Type reference (TYPE) | FILENAME-FILEEXTERN | benutzter Physischer Dateiname | 20050426 | ||
2 | Exporting | ET_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table | 20050414 | ||
3 | Importing | I_CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20100610 | ||
4 | Importing | I_FULLPATH_PHYS | Call by reference | Type reference (TYPE) | FILENAME-FILEEXTERN | Physischer Dateiname | 20050415 | ||
5 | Importing | I_LOGICAL_ALLOWED_PATH | Call by reference | Type reference (TYPE) | FILENAME-FILEINTERN | Logischer Dateiname (für CL_HRPAY99_FILE_CHECK=>CHECK_NAME) | 20101004 | ||
6 | Importing | I_LOGICAL_FILENAME | Call by reference | Type reference (TYPE) | FILENAME-FILEINTERN | Logischer Dateiname (siehe FuBa FILE_GET_NAME) | 20050415 | ||
7 | Importing | I_PARAMETER_1 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050415 | ||
8 | Importing | I_PARAMETER_2 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050415 | ||
9 | Importing | I_PARAMETER_3 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050415 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FILE_NOT_FOUND | siehe SY-MSGV* | 20050415 | |
2 | NO_READ_AUTHORITY | siehe SY-MSGV* | 20050415 | |
3 | READ_ERROR | siehe SY-MSGV* | 20050415 |
Method GET_PC_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CH_FULLPATH_USED | Call by reference | Type reference (TYPE) | STRING | benutzer Pfad | 20050426 | ||
2 | Exporting | ET_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table | 20050414 | ||
3 | Importing | I_DEFAULT_FILENAME | Call by reference | Type reference (TYPE) | STRING | Vorschlag für Dateinamen | 20050415 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | BATCH_NOT_POSSIBLE | siehe SY_MSG* | 20050414 | |
2 | FILE_OPEN_DIALOG_ERROR | siehe SY_MSG* | 20050414 | |
3 | GUI_UPLOAD_ERROR | siehe SY_MSG* | 20050414 |
Method GET_SW_TEMSE_FILE_EXITS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_EXISTS | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20050509 | ||
2 | Importing | I_EMPFG | Call by reference | Type reference (TYPE) | RPTSTYPE-EMPFG | HR TemSe Empfänger | 20050509 | ||
3 | Importing | I_OBJKN | Call by reference | Type reference (TYPE) | RPTSTYPE-OBJKN | HR Temse Objektkennung | 20050509 | ||
4 | Importing | I_OBJNR | Call by reference | Type reference (TYPE) | RPTSTYPE-OBJNR | HR Temse Objektnummer | 20050509 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | RP_TS_OPEN_ERROR | siehe SY-MSG* | 20050509 |
Method GET_TEMSE_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table | 20050414 | ||
2 | Importing | I_EMPFG | Call by reference | Type reference (TYPE) | RPTSTYPE-EMPFG | HR TemSe Empfänger | 20050414 | ||
3 | Importing | I_TSOBJ | Call by reference | Type reference (TYPE) | RPTSTYPE-TSOBJ | HR Temse Objekt | 20050414 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CLOSE_ERROR | siehe SY-MSG* | 20050414 | |
2 | OPEN_ERROR | siehe SY-MSG* | 20050414 | |
3 | READ_ERROR | siehe SY-MSG* | 20050414 |
Method GET_XTAB_FROM_CHARTAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_RAW | Call by reference | Type reference (TYPE) | HRB2A_T_RAW | HR-B2A: Tabellentype für Binärdaten (255) | 20050929 | ||
2 | Exporting | E_BIN_FILESIZE | Call by reference | Type reference (TYPE) | I | binäre Länge, die zu übertragen ist | 20050929 | ||
3 | Exporting | E_BIN_FILESIZE_REST | Call by reference | Type reference (TYPE) | I | Restlänge der letzten Zeile | 20050929 | ||
4 | Exporting | E_INDEX_LAST_LINE | Call by reference | Type reference (TYPE) | SYTABIX | Index der letzten Zeile von ET_RAW | 20050929 | ||
5 | Importing | I_CODEPAGE | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 20050929 | |||
6 | Importing | I_DELIMITER_X | Call by reference | Type reference (TYPE) | X | 20050929 | |||
7 | Importing | I_LENGTH | Call by reference | Type reference (TYPE) | I | Zeichen pro Zeile (falls < als Tabellenbreite) | 20051014 | ||
8 | Importing | I_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20050929 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | TABLE_EMPTY | 20050929 |
Method WRITE_TABLE_TO_OS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | E_FULLPATH_PHYS_USED | Call by reference | Type reference (TYPE) | FILENAME-FILEEXTERN | benutzter Physischer Dateiname | 20050415 | ||
2 | Importing | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table | 20050415 | ||
3 | Importing | I_FULLPATH_PHYS | Call by reference | Type reference (TYPE) | FILENAME-FILEEXTERN | Physischer Dateiname | 20050415 | ||
4 | Importing | I_LOGICAL_ALLOWED_PATH | Call by reference | Type reference (TYPE) | FILENAME-FILEINTERN | Logischer Dateiname (für CL_HRPAY99_FILE_CHECK=>CHECK_NAME) | 20101004 | ||
5 | Importing | I_LOGICAL_FILENAME | Call by reference | Type reference (TYPE) | FILENAME-FILEINTERN | Logischer Dateiname (siehe FuBa FILE_GET_NAME) | 20050415 | ||
6 | Importing | I_OVERWRITE_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' überschreiben erlaubt | 20050415 | ||
7 | Importing | I_PARAMETER_1 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050415 | ||
8 | Importing | I_PARAMETER_2 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050415 | ||
9 | Importing | I_PARAMETER_3 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050415 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FILE_EXISTS | siehe SY-MSGV* | 20050415 | |
2 | FILE_GET_NAME_ERROR | siehe SY-MSGV* | 20050415 | |
3 | FILE_NOT_FOUND | siehe SY-MSGV* | 20050415 | |
4 | FULLPATH_PHYS_INITIAL | siehe SY-MSGV* | 20050415 | |
5 | NO_WRITE_AUTHORITY | siehe SY-MSGV* | 20050415 | |
6 | WRITE_ERROR | siehe SY-MSGV* | 20050415 |
Method WRITE_TABLE_TO_OS_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | E_FULLPATH_PHYS_USED | Call by reference | Type reference (TYPE) | FILENAME-FILEEXTERN | benutzter Physischer Dateiname | 20050923 | ||
2 | Importing | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table | 20050923 | ||
3 | Importing | I_APPEND | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' anhängen an bestehende Datei | 20051117 | ||
4 | Importing | I_CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20050923 | ||
5 | Importing | I_DELIMITER_X | Call by reference | Type reference (TYPE) | X | hex Zeilentrenner, z.B. CR LF | 20050923 | ||
6 | Importing | I_FULLPATH_PHYS | Call by reference | Type reference (TYPE) | FILENAME-FILEEXTERN | Physischer Dateiname | 20050923 | ||
7 | Importing | I_LENGTH | Call by reference | Type reference (TYPE) | I | Zeichen pro Zeile (falls < als Tabellenbreite) | 20051014 | ||
8 | Importing | I_LOGICAL_ALLOWED_PATH | Call by reference | Type reference (TYPE) | FILENAME-FILEINTERN | Logischer Dateiname (für CL_HRPAY99_FILE_CHECK=>CHECK_NAME) | 20101004 | ||
9 | Importing | I_LOGICAL_FILENAME | Call by reference | Type reference (TYPE) | FILENAME-FILEINTERN | Logischer Dateiname (siehe FuBa FILE_GET_NAME) | 20050923 | ||
10 | Importing | I_OVERWRITE_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' überschreiben erlaubt | 20050923 | ||
11 | Importing | I_PARAMETER_1 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050923 | ||
12 | Importing | I_PARAMETER_2 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050923 | ||
13 | Importing | I_PARAMETER_3 | Call by reference | Type reference (TYPE) | ANY | siehe FuBa FILE_GET_NAME | 20050923 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FILE_EXISTS | siehe SY-MSGV* | 20050923 | |
2 | FILE_GET_NAME_ERROR | siehe SY-MSGV* | 20050923 | |
3 | FILE_NOT_FOUND | siehe SY-MSGV* | 20050923 | |
4 | FULLPATH_PHYS_INITIAL | siehe SY-MSGV* | 20050923 | |
5 | NO_WRITE_AUTHORITY | siehe SY-MSGV* | 20050923 | |
6 | TABLE_EMPTY | 20050929 | ||
7 | WRITE_ERROR | siehe SY-MSGV* | 20050923 |
Method WRITE_TABLE_TO_PC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table (changing wg. Schnittstelle von GUI_DOWNLOAD) | 20050414 | ||
2 | Exporting | E_FULLPATH | Call by reference | Type reference (TYPE) | STRING | Pfad | 20050414 | ||
3 | Importing | I_CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20050923 | ||
4 | Importing | I_DEFAULT_FILENAME | Call by reference | Type reference (TYPE) | STRING | Vorschlag für Dateinamen | 20050414 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | BATCH_NOT_POSSIBLE | siehe SY_MSG* | 20050414 | |
2 | FILE_SAVE_DIALOG_ERROR | siehe SY_MSG* | 20050414 | |
3 | GUI_DOWNLOAD_ERROR | siehe SY_MSG* | 20050414 | |
4 | NO_FILENAME_SELECTED | siehe SY_MSG* | 20050414 |
Method WRITE_TABLE_TO_PC_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table (changing wg. Schnittstelle von GUI_DOWNLOAD) | 20050923 | ||
2 | Exporting | E_FULLPATH | Call by reference | Type reference (TYPE) | STRING | Pfad | 20050923 | ||
3 | Importing | I_CODEPAGE | Call by reference | Type reference (TYPE) | CPCODEPAGE | SAP-Zeichensatzidentifikation | 20050923 | ||
4 | Importing | I_DEFAULT_FILENAME | Call by reference | Type reference (TYPE) | STRING | Vorschlag für Dateinamen | 20050923 | ||
5 | Importing | I_DELIMITER_X | Call by reference | Type reference (TYPE) | X | hex Zeilentrenner, z.B. CR LF | 20050923 | ||
6 | Importing | I_KEEP_LENGTH | Call by reference | Type reference (TYPE) | XFELD | Zeilenlänge der Tabelle beibehalten | 20050923 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | BATCH_NOT_POSSIBLE | siehe SY_MSG* | 20050923 | |
2 | FILE_SAVE_DIALOG_ERROR | siehe SY_MSG* | 20050923 | |
3 | GUI_DOWNLOAD_ERROR | siehe SY_MSG* | 20050923 | |
4 | NO_FILENAME_SELECTED | siehe SY_MSG* | 20050923 | |
5 | TABLE_EMPTY | 20050929 |
Method WRITE_TABLE_TO_TEMSE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_TSOBJ | Call by reference | Type reference (TYPE) | RPTSTYPE-TSOBJ | HR Temse Objekt (Name) | 20050414 | ||
2 | Importing | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Standard Table | 20050414 | ||
3 | Importing | I_EMPFG | Call by reference | Type reference (TYPE) | RPTSTYPE-EMPFG | HR TemSe Empfänger | 20050414 | ||
4 | Importing | I_OBJIN | Call by reference | Type reference (TYPE) | RPTSTYPE-OBJIN | HR TemSe Allegemeine Information zum TemSe-Objekt | 20050414 | ||
5 | Importing | I_OBJKN | Call by reference | Type reference (TYPE) | RPTSTYPE-OBJKN | HR Temse Objektkennung | 20050414 | ||
6 | Importing | I_OBJNR | Call by reference | Type reference (TYPE) | RPTSTYPE-OBJNR | HR Temse Objektnummer | 20050414 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CLOSE_ERROR | siehe SY-MSG* | 20050414 | |
2 | TS_CREATE_OBJECT_ERROR | siehe SY-MSG* | 20050414 | |
3 | WRITE_ERROR | siehe SY-MSG* | 20050414 |
History
Last changed by/on | SAP | 20060912 |
SAP Release Created in | 500 |