SAP ABAP Class CL_HRPAYDE_BG_FILE (Manager For Creating The BG File)
Hierarchy
SAP_HRCDE (Software Component) Sub component SAP_HRCDE of SAP_HR
   PY-DE-NT-NI (Application Component) Social Insurance
     P01S (Package) HR Germany: Social Insurance
Properties
Class CL_HRPAYDE_BG_FILE  
Short Description Manager For Creating The BG File    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package P01S   HR Germany: Social Insurance 
Created 20091026   SAP 
Last change 20110809   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 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 SYDES Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPAYDE_BG_FILE has no interface implemented.
Friends
Class CL_HRPAYDE_BG_FILE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_GD Constant Private Type reference (TYPE) TY_C_2 'GD' Delete Hazard Pay Scale 20120924
2 C_GT Constant Private Type reference (TYPE) TY_C_2 'GT' Hazard Pay Scale 20091118
3 C_HIGHDATE Constant Public Type reference (TYPE) D '99991231' 20091118
4 C_LOWDATE Constant Public Type reference (TYPE) D '18000101' 20091118
5 C_MSG_ID Constant Public Type reference (TYPE) STRING 'HRPAYDESV' 20091118
6 C_NODE_KEY_ROOT Constant Public Type reference (TYPE) HRPAD_PAL_NODE_KEY 'ROOT' 20091118
7 C_UD Constant Private Type reference (TYPE) TY_C_2 'UD' Delete Accident Insurance 20120924
8 C_UV Constant Private Type reference (TYPE) TY_C_2 'UV' Accident Insurance 20091118
9 GO_MESSAGE_HANDLER Instance attribute Protected Object reference (TYPE REF TO) CL_HRPAY00_MESSAGE_HANDLER HR Master Data: Messages 20091118
10 GT_DELETE_GT Instance attribute Private Type reference (TYPE) GTY_T_DELETE_GT Records For Deletion 20091118
11 GT_DELETE_UV Instance attribute Private Type reference (TYPE) GTY_T_DELETE_UV Records For Deletion 20091118
12 GT_FILE_DATA_GT Instance attribute Private Type reference (TYPE) GTY_T5D32_GT The Data Of The GT File 20091118
13 GT_FILE_DATA_GTTXT Instance attribute Private Type reference (TYPE) GTY_T_FILE_DATA_GTTXT Data Of The File In txt Format 20091118
14 GT_FILE_DATA_UV Instance attribute Private Type reference (TYPE) GTY_T5D32_UV The Data Of The AI File 20091118
15 GT_FILE_DATA_UVTXT Instance attribute Private Type reference (TYPE) GTY_T_FILE_DATA_UVTXT Data Of The File In txt Format 20091118
16 GT_GT_PRINT Instance attribute Private Type reference (TYPE) GTY_T_GT_PRINT Table For Printing 20091118
17 GT_GT_PRINT_DEL Instance attribute Private Type reference (TYPE) GTY_T_GT_PRINT_DEL Table for printing 20120924
18 GT_INSERT_GT Instance attribute Private Type reference (TYPE) GTY_T5D32_GT Records For Insertion 20091118
19 GT_INSERT_UV Instance attribute Private Type reference (TYPE) GTY_T5D32_UV Records For Insertion 20091118
20 GT_TABLE_DATA_GT Instance attribute Private Type reference (TYPE) GTY_T5D32_GT GT Data In Database 20091118
21 GT_TABLE_DATA_UV Instance attribute Private Type reference (TYPE) GTY_T5D32_UV AI Data in Database 20091118
22 GT_UV_PRINT Instance attribute Private Type reference (TYPE) GTY_T_UV_PRINT Table For Printing 20091118
23 GT_UV_PRINT_DEL Instance attribute Private Type reference (TYPE) GTY_T_UV_PRINT_DEL Table for printing 20120924
24 GV_CODEPAGE Instance attribute Protected Type reference (TYPE) ABAP_ENCODING 1100 20091118
25 GV_DEFAULT_FILE_NAME Instance attribute Protected Type reference (TYPE) STRING Default File Name In Open File Dialog 20091118
26 GV_EXTENSION Instance attribute Protected Type reference (TYPE) STRING 'TXT' Extension In Filter For Open File Dialog 20091118
27 GV_FILE_FILTER Instance attribute Protected Type reference (TYPE) STRING File Filter For Open File Dialog 20091118
28 GV_FILE_NAME Instance attribute Protected Type reference (TYPE) STRING 20091118
29 GV_FILE_OPEN_WINDOW_TITLE Instance attribute Protected Type reference (TYPE) STRING Title For Open File Dialog 20091118
30 GV_FILE_PATH Instance attribute Protected Type reference (TYPE) STRING Path To File 20091118
31 GV_FILE_PATH2 Instance attribute Protected Type reference (TYPE) STRING Path to File GT 20091223
32 GV_STOP_ERROR Instance attribute Protected Type reference (TYPE) ABAP_BOOL Variable For A Stop Error 20091118
33 GV_TABLE_CREATION_DATE Instance attribute Protected Type reference (TYPE) D '18000101' Last Creation Date In Database 20091118
34 GV_TRANSPORT Instance attribute Protected Type reference (TYPE) ABAP_BOOL 20091118
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NODE Instance method Private Method Add Node For Log 20091118
2 ADD_OPTIONS Instance method Protected Method Sets Sort Options For Log Output 20091118
3 ADD_TABLE_ROWS_TO_NODE_GT Instance method Protected Method Move Content To Log Node 20091118
4 ADD_TABLE_ROWS_TO_NODE_GT_DEL Instance method Protected Method Move Content to Log Node for Deleted Entries 20120924
5 ADD_TABLE_ROWS_TO_NODE_UV Instance method Protected Method Move Content To Log Node 20091118
6 ADD_TABLE_ROWS_TO_NODE_UV_DEL Instance method Protected Method Move Content to Log Node for Deleted Entries 20120924
7 CHECK_TRANSPORT Instance method Public Method Checks If Objects Can Be Transported 20091118
8 COMPARE Instance method Public Method Compares File With Table Data 20091118
9 COMPARE_GT Instance method Private Method Compares The GT-Data In The Table With The Data In The File 20091118
10 COMPARE_UV Instance method Private Method Compares The PPO Data In The Table To The Data In The File 20091118
11 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20091118
12 CREATE_FIELDCAT Instance method Private Method Create Field Catalog 20091118
13 CREATE_HR_PAL_LOG Instance method Public Method Create Log 20091118
14 FILL_FIELDNAMES_GT Instance method Private Method Set Up Field For Field Catalog 20091118
15 FILL_FIELDNAMES_GT_DEL Instance method Private Method Set Up Field for Field Catalog 20120924
16 FILL_FIELDNAMES_UV Instance method Private Method Set Up Field For Field Catalog 20091118
17 FILL_FIELDNAMES_UV_DEL Instance method Private Method Set Up Field for Field Catalog 20120924
18 FILL_TABLES Instance method Public Method Fills Internal Tables With PPO Data From Database 20091118
19 GET_MESSAGELIST Instance method Public Method Get Messages Created During Upload 20091118
20 GET_STOP_ERROR Instance method Public Method Returns If Error Leads To Stop Of Application 20091118
21 LOG_CX_ERROR Instance method Protected Method Logs Technical Errors 20091118
22 LOG_ERROR Instance method Protected Method Logs Errors 20091118
23 READ_FILE Instance method Private Method Reads GT/UV File 20091118
24 READ_FILES Instance method Public Method Read BV Files 20091118
25 SPLIT_FILES Instance method Public Method Splits The 2 Files 20091118
26 SPLIT_FILE_GT Instance method Private Method Splits The GT File Into Its Components To Save It In The DB 20091118
27 SPLIT_FILE_UV Instance method Private Method Splits The UV File Into Its Components To Save It In The DB 20091118
28 UPDATE Instance method Public Method Updates The PPO Data 20091118
Events
Class CL_HRPAYDE_BG_FILE has no event.
Types
Class CL_HRPAYDE_BG_FILE has no local type.
Method Signatures

Method ADD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_NODE Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY 20091118
2 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118
3 Importing IV_CATEGORY Call by reference Type reference (TYPE) CHAR2 UV or GT? 20091118

Method ADD_NODE on class CL_HRPAYDE_BG_FILE has no exception.

Method ADD_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FIELDCAT Call by reference Type reference (TYPE) SLIS_T_FIELDCAT_ALV 20091118
2 Changing CT_SORTINFO Call by reference Type reference (TYPE) SLIS_T_SORTINFO_ALV 20091118

Method ADD_OPTIONS on class CL_HRPAYDE_BG_FILE has no exception.

Method ADD_TABLE_ROWS_TO_NODE_GT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_NODE Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY 20091118
2 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method ADD_TABLE_ROWS_TO_NODE_GT on class CL_HRPAYDE_BG_FILE has no exception.

Method ADD_TABLE_ROWS_TO_NODE_GT_DEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_NODE Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY 20120924
2 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20120924

Method ADD_TABLE_ROWS_TO_NODE_GT_DEL on class CL_HRPAYDE_BG_FILE has no exception.

Method ADD_TABLE_ROWS_TO_NODE_UV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_NODE Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY 20091118
2 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method ADD_TABLE_ROWS_TO_NODE_UV on class CL_HRPAYDE_BG_FILE has no exception.

Method ADD_TABLE_ROWS_TO_NODE_UV_DEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_NODE Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY 20120924
2 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20120924

Method ADD_TABLE_ROWS_TO_NODE_UV_DEL on class CL_HRPAYDE_BG_FILE has no exception.

Method CHECK_TRANSPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_MESSAGE_HANDLER Call by reference Object reference (TYPE REF TO) IF_HRPA_MESSAGE_HANDLER HR Master Data: Messages 20091118
2 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118
3 Exporting EV_TRANSPORT Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method CHECK_TRANSPORT on class CL_HRPAYDE_BG_FILE has no exception.

Method COMPARE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method COMPARE on class CL_HRPAYDE_BG_FILE has no exception.

Method COMPARE_GT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method COMPARE_GT on class CL_HRPAYDE_BG_FILE has no exception.

Method COMPARE_UV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method COMPARE_UV on class CL_HRPAYDE_BG_FILE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CODEPAGE Call by reference Type reference (TYPE) ABAP_ENCODING '1100' 20091118
2 Importing IV_DEFAULT_FILE_NAME Call by reference Type reference (TYPE) STRING 20091118
3 Importing IV_EXTENSION Call by reference Type reference (TYPE) STRING 'TXT' 20091118
4 Importing IV_FILE_FILTER Call by reference Type reference (TYPE) STRING 20091118
5 Importing IV_FILE_NAME Call by reference Type reference (TYPE) STRING 20091118
6 Importing IV_FILE_OPEN_WINDOW_TITLE Call by reference Type reference (TYPE) STRING 20091118
7 Importing IV_FILE_PATH Call by reference Type reference (TYPE) CHAR1024 Pfad und Dateiname zu der BV-Datei 20091118
8 Importing IV_FILE_PATH2 Call by reference Type reference (TYPE) CHAR1024 Pfadname 20091223

Method CONSTRUCTOR on class CL_HRPAYDE_BG_FILE has no exception.

Method CREATE_FIELDCAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FIELDCAT Call by reference Type reference (TYPE) SLIS_T_FIELDCAT_ALV 20091118
2 Importing ET_FIELDNAMES Call by reference Type reference (TYPE) GTY_T_FIELDNAMES table with fields for log 20091118
3 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118
4 Importing IV_CATEGORY Call by reference Type reference (TYPE) CHAR2 UV or GT? 20091118

Method CREATE_FIELDCAT on class CL_HRPAYDE_BG_FILE has no exception.

Method CREATE_HR_PAL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method CREATE_HR_PAL_LOG on class CL_HRPAYDE_BG_FILE has no exception.

Method FILL_FIELDNAMES_GT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDNAMES Call by reference Type reference (TYPE) GTY_T_FIELDNAMES 20091118

Method FILL_FIELDNAMES_GT on class CL_HRPAYDE_BG_FILE has no exception.

Method FILL_FIELDNAMES_GT_DEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDNAMES Call by reference Type reference (TYPE) GTY_T_FIELDNAMES 20120924

Method FILL_FIELDNAMES_GT_DEL on class CL_HRPAYDE_BG_FILE has no exception.

Method FILL_FIELDNAMES_UV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDNAMES Call by reference Type reference (TYPE) GTY_T_FIELDNAMES 20091118

Method FILL_FIELDNAMES_UV on class CL_HRPAYDE_BG_FILE has no exception.

Method FILL_FIELDNAMES_UV_DEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDNAMES Call by reference Type reference (TYPE) GTY_T_FIELDNAMES 20120924

Method FILL_FIELDNAMES_UV_DEL on class CL_HRPAYDE_BG_FILE has no exception.

Method FILL_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method FILL_TABLES on class CL_HRPAYDE_BG_FILE has no exception.

Method GET_MESSAGELIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE_LIST Call by reference Type reference (TYPE) HRPAY00T_MESSAGE_TABLE 20091118

Method GET_MESSAGELIST on class CL_HRPAYDE_BG_FILE has no exception.

Method GET_STOP_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_STOP_ERROR Value transfer Type reference (TYPE) ABAP_BOOL error is a stop error 20091118

Method GET_STOP_ERROR on class CL_HRPAYDE_BG_FILE has no exception.

Method LOG_CX_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ERROR Call by reference Object reference (TYPE REF TO) CX_ROOT 20091118
2 Importing IV_MESSAGE_TYPE Call by reference Type reference (TYPE) C 20091118

Method LOG_CX_ERROR on class CL_HRPAYDE_BG_FILE has no exception.

Method LOG_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) SYMSG 20091118

Method LOG_ERROR on class CL_HRPAYDE_BG_FILE has no exception.

Method READ_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118
2 Importing IV_FILE_CATEGORY Call by reference Type reference (TYPE) TY_C_2 file category (UV or GT?) 20091118

Method READ_FILE on class CL_HRPAYDE_BG_FILE has no exception.

Method READ_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA_FILE Call by reference Type reference (TYPE) ANY TABLE the file data 20091118
2 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method READ_FILES on class CL_HRPAYDE_BG_FILE has no exception.

Method SPLIT_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118
2 Importing IV_SAVE_DATA Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE save the data to local memory 20091118

Method SPLIT_FILES on class CL_HRPAYDE_BG_FILE has no exception.

Method SPLIT_FILE_GT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method SPLIT_FILE_GT on class CL_HRPAYDE_BG_FILE has no exception.

Method SPLIT_FILE_UV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method SPLIT_FILE_UV on class CL_HRPAYDE_BG_FILE has no exception.

Method UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20091118

Method UPDATE on class CL_HRPAYDE_BG_FILE has no exception.
History
Last changed by/on SAP  20110809 
SAP Release Created in