SAP ABAP Class CL_HR99B_PAL (Reusable PAL methods)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX-RS (Application Component) Reuse Services for Country Development
     P99B (Package) Payroll Versions Basis, Brazil
Properties
Class CL_HR99B_PAL  
Short Description Reusable PAL methods    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class P99B    
Program status P  SAP Standard Production Program 
Category 0   
Package P99B   Payroll Versions Basis, Brazil 
Created 20091106   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 CL_HR99B_PAL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HR99B_PAL has no interface implemented.
Friends
Class CL_HR99B_PAL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ABORT Constant Public Type reference (TYPE) SYMSGTY 'A' Message Type 20091106
2 C_ERROR Constant Public Type reference (TYPE) SYMSGTY 'E' Message Type 20091106
3 C_INFORMATION Constant Public Type reference (TYPE) SYMSGTY 'I' Message Type 20091106
4 C_ROOT_NODE Constant Public Type reference (TYPE) HRPAD_PAL_NODE_KEY 'ROOT' HR Application Log 20091106
5 C_SUCCESS Constant Public Type reference (TYPE) SYMSGTY 'S' Message Type 20091106
6 C_WARNING Constant Public Type reference (TYPE) SYMSGTY 'W' Message Type 20091106
7 G_ERP_ALL_LISTS Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_TRUE Reserved for EhP-Switches 20091106
8 G_I_MSG_GENRL Instance attribute Private Type reference (TYPE) HR99B_SYMSG_TAB List of messages stored in message variables 20091106
9 G_I_MSG_PERNR Instance attribute Private Type reference (TYPE) HR99B_SYMSG_PERNR_TAB List of person related messages stored in message variables 20091106
10 G_I_PAL_CREATED_CATEG Instance attribute Private Type reference (TYPE) HR99S_PAL_CREATED_CATEG_TAB Internal administration table for PAL-calling programs 20091106
11 G_I_PAL_FIELDCATS Instance attribute Private Type reference (TYPE) G_TY_IT_FIELDCATS Single-Character Indicator 20091106
12 G_MSG_TEXT Instance attribute Public Type reference (TYPE) STRING 20091106
13 G_NODE_KEY Instance attribute Public Type reference (TYPE) HRPAD_PAL_NODE_KEY HR Application Log 20091106
Methods
# Method Level Visibility Method type Description Created on
1 ADD_GENRL_MSG_TO_NODE Instance method Public Method Add list of general messages to PAL-node 20091106
2 ADD_PERNR_MSG_TO_NODE Instance method Public Method Add list of person related messages to PAL-node 20091106
3 ADD_ROWS_TO_NODE Instance method Public Method Add rows to a PAL-table node 20091106
4 CONSTRUCTOR Instance method Public Constructor Initialization for PAL-categories 20091106
5 CREATE_ALL_CATEGORIES Instance method Public Method Create all categories (except standards like Statistics,...) 20091106
6 CREATE_GENRL_MSG Instance method Public Method Create a general message from SY in message list 20091106
7 CREATE_PERNR_MSG Instance method Public Method Create a person related message from SY in message list 20091106
8 CREATE_PERNR_NODE_INFO Instance method Public Method Create a person related node with additional info from 20091106
9 DEFINE_CATEGORIES Instance method Public Method Initialization for PAL-categories 20091106
10 DISPLAY Instance method Public Method Display the log 20091106
11 MESSAGE_STRING_INTO_SYMSG Instance method Public Method Maps a message string to dummy message BL(001). 20091106
12 MESSAGE_TEXT_INTO_SYMSG Instance method Public Method Maps a message string to dummy message BL(001). 20091106
13 MSGTY_FOUND Instance method Public Method Message types found? 20091106
14 SET_ALV_VARIANT Instance method Public Method Set the ALV-variant 20091106
15 SET_CATEGORY_PUSH_BUTTON Instance method Public Method Set pushbutton for a table category 20091106
16 TEST_CREATE_NODES_FOR_ALL_CAT Instance method Public Method Create all categories (except standards like Statistics,...) 20091106
Events
Class CL_HR99B_PAL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 G_TY_IT_FIELDCATS Private See coding 20091106 G_TY_IT_FIELDCATS TYPE STANDARD TABLE OF G_TY_WA_FIELDCAT
2 G_TY_WA_FIELDCAT Private See coding 20091106 begin of G_TY_WA_FIELDCAT, categ_id TYPE hrpad_pal_categ_id, fieldcat TYPE slis_t_fieldcat_alv, end of G_TY_WA_FIELDCAT
Method Signatures

Method ADD_GENRL_MSG_TO_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_NODE_KEY Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY SPACE HR Application Log 20091106
2 Importing P_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE ...and refresh attribute g_i_msg_genrl 20091106

Method ADD_GENRL_MSG_TO_NODE on class CL_HR99B_PAL has no exception.

Method ADD_PERNR_MSG_TO_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_NODE_KEY Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY SPACE HR Application Log 20091106
2 Importing P_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE ...and refresh attribute g_i_msg_pernr 20091106

Method ADD_PERNR_MSG_TO_NODE on class CL_HR99B_PAL has no exception.

Method ADD_ROWS_TO_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_NODE_KEY Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY HR Application Log 20091106
2 Importing P_REFRESH Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE ...and refresh the imported table 20091106
3 Changing P_TABLE Call by reference Type reference (TYPE) STANDARD TABLE Table entries to append to PAL-table node 20091106

Method ADD_ROWS_TO_NODE on class CL_HR99B_PAL has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ALV_STRUCTURE_NAMES Call by reference Type reference (TYPE) CLIKE N components of type dd02l-tabname 20091106
2 Importing P_PAL_CATEG_IDS Call by reference Type reference (TYPE) CLIKE N components of type hrpad_pal_categ_id 20091106

Method CONSTRUCTOR on class CL_HR99B_PAL has no exception.

Method CREATE_ALL_CATEGORIES Signature

Method CREATE_ALL_CATEGORIES on class CL_HR99B_PAL has no parameter.
Method CREATE_ALL_CATEGORIES on class CL_HR99B_PAL has no exception.

Method CREATE_GENRL_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_CALL_STOP Value transfer Type reference (TYPE) ABAP_BOOL IF p_call_stop EQ abap_true. STOP. ENDIF. 20091106
2 Importing P_INTO_ALV Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Output into ALV-list desired? 20091106
3 Importing P_MSGTY_STOP Call by reference Type reference (TYPE) STRING 'EA' String of message types that should cause a program STOP 20091106

Method CREATE_GENRL_MSG on class CL_HR99B_PAL has no exception.

Method CREATE_PERNR_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_CALL_STOP Value transfer Type reference (TYPE) ABAP_BOOL IF p_call_stop EQ abap_true. STOP. ENDIF. 20091106
2 Importing P_MSGTY_STOP Call by reference Type reference (TYPE) STRING 'EA' String of message types that should cause a program STOP 20091106
3 Importing P_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20091106
4 Importing P_PM_PYPARAID Call by reference Type reference (TYPE) PAY_PM_PARAID Process Manager: Identifier of a Set 20091106

Method CREATE_PERNR_MSG on class CL_HR99B_PAL has no exception.

Method CREATE_PERNR_NODE_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CATEG_ID Call by reference Type reference (TYPE) HRPAD_PAL_CATEG_ID HR Application Log: Category ID 20091106
2 Importing P_CPROG Call by reference Type reference (TYPE) SYCPROG SY-CPROG Calling Program 20091106
3 Importing P_I0001 Call by reference Type reference (TYPE) P0001_TAB HR Master Record: Infotype 0001 (Organizational Assignment) 20091106
4 Importing P_I0002 Call by reference Type reference (TYPE) P0002_TAB HR Master Record: Infotype 0002 (Personal Data) 20091106
5 Importing P_MOLGA Call by reference Type reference (TYPE) MOLGA Country Grouping 20091106
6 Importing P_NODE_KEY Call by reference Type reference (TYPE) HRPAD_PAL_NODE_KEY C_ROOT_NODE HR Application Log 20091106
7 Exporting P_NODE_KEY_PERNR Value transfer Type reference (TYPE) HRPAD_PAL_NODE_KEY HR Application Log 20091106
8 Importing P_PERNR Call by reference Type reference (TYPE) PERNR_D Personnel Number 20091106
9 Changing P_PERNR_DATA Call by reference Type reference (TYPE) ANY 20091106

Method CREATE_PERNR_NODE_INFO on class CL_HR99B_PAL has no exception.

Method DEFINE_CATEGORIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ALV_STRUCTURE_NAMES Call by reference Type reference (TYPE) CLIKE N components of type dd02l-tabname 20091106
2 Importing P_PAL_CATEG_IDS Call by reference Type reference (TYPE) CLIKE N components of type hrpad_pal_categ_id 20091106

Method DEFINE_CATEGORIES on class CL_HR99B_PAL has no exception.

Method DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_BUTTON_SHOW_LOG_FLAT Call by reference Type reference (TYPE) C 'X' Enable flat display for log printing 20091106
2 Importing P_EXT_PUSH_TAB Call by reference Type reference (TYPE) HR99B_BAL_S_PUSH_TAB Application Log: User pushbutton (FCODE = %EXT_PUSH1..4) 20091106
3 Importing P_FLAT Call by reference Type reference (TYPE) C ' ' 'X' = Flat 20091106
4 Importing P_TITLE Call by reference Type reference (TYPE) SYTITLE SY-TITLE Contents of Title Line 20091106
5 Importing P_TREE_ONTOP Call by reference Type reference (TYPE) C 'Y' 'Y' = On top; 'N' = On the left 20091106
6 Importing P_TREE_SIZE Call by reference Type reference (TYPE) BALTREESIZ Application Log: Tree: Size of Tree Control in CHAR 20091106
7 Importing P_USEREXITF Call by reference Type reference (TYPE) BALUEF Application Log: Callback: Type (Ext. Perform, FM, etc.) 20091106
8 Importing P_USEREXITP Call by reference Type reference (TYPE) CLIKE Application Log: Callback: Program name 20091106
9 Importing P_USEREXITT Call by reference Type reference (TYPE) BALUET Application Log: Callback: Routine name 20091106

Method DISPLAY on class CL_HR99B_PAL has no exception.

Method MESSAGE_STRING_INTO_SYMSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_MSGTY Call by reference Type reference (TYPE) SYMSGTY CL_HR99B_PAL=>C_ERROR Message Type 20091106
2 Importing P_MSG_STRING Call by reference Type reference (TYPE) STRING 20091106

Method MESSAGE_STRING_INTO_SYMSG on class CL_HR99B_PAL has no exception.

Method MESSAGE_TEXT_INTO_SYMSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_MSGTY Call by reference Type reference (TYPE) SYMSGTY CL_HR99B_PAL=>C_ERROR Message Type 20091106
2 Importing P_MSG_TEXT Call by reference Type reference (TYPE) CLIKE 20091106
3 Importing P_MSG_TEXT2 Call by reference Type reference (TYPE) ANY 20091106
4 Importing P_MSG_TEXT3 Call by reference Type reference (TYPE) ANY 20091106
5 Importing P_MSG_TEXT4 Call by reference Type reference (TYPE) ANY 20091106
6 Importing P_MSG_TEXT5 Call by reference Type reference (TYPE) ANY 20091106
7 Importing P_MSG_TEXT6 Call by reference Type reference (TYPE) ANY 20091106
8 Importing P_MSG_TEXT7 Call by reference Type reference (TYPE) ANY 20091106
9 Importing P_MSG_TEXT8 Call by reference Type reference (TYPE) ANY 20091106
10 Importing P_MSG_TEXT9 Call by reference Type reference (TYPE) ANY 20091106

Method MESSAGE_TEXT_INTO_SYMSG on class CL_HR99B_PAL has no exception.

Method MSGTY_FOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_FOUND Value transfer Type reference (TYPE) ABAP_BOOL 20091106
2 Importing P_MSGTYPES Call by reference Type reference (TYPE) STRING 'AX' 20091106

Method MSGTY_FOUND on class CL_HR99B_PAL has no exception.

Method SET_ALV_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CATEG_ID Call by reference Type reference (TYPE) HRPAD_PAL_CATEG_ID HR Application Log: Category ID 20091106
2 Importing P_VARIANT Call by reference Type reference (TYPE) SLIS_VARI Layout 20091106

Method SET_ALV_VARIANT on class CL_HR99B_PAL has no exception.

Method SET_CATEGORY_PUSH_BUTTON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CALLBACK_USEREXITF Call by reference Type reference (TYPE) BALUEF Application Log: Callback: Routine name 20091106
2 Importing P_CALLBACK_USEREXITP Call by reference Type reference (TYPE) BALUEP Application Log: Callback: Program name 20091106
3 Importing P_CALLBACK_USEREXITT Call by reference Type reference (TYPE) BALUET Application Log: Callback: Type (Ext. Perform, FM, etc.) 20091106
4 Importing P_CATEG_ID Call by reference Type reference (TYPE) HRPAD_PAL_CATEG_ID HR Application Log: Category ID 20091106
5 Importing P_I_FIELDCAT Call by reference Type reference (TYPE) STANDARD TABLE 20091106
6 Importing P_PUSH1 Call by reference Type reference (TYPE) HRPAD_PAL_S_PUSHBUTTON HR Application Log: Pushbutton for Node Category 20091106
7 Importing P_PUSH2 Call by reference Type reference (TYPE) HRPAD_PAL_S_PUSHBUTTON HR Application Log: Pushbutton for Node Category 20091106
8 Importing P_PUSH3 Call by reference Type reference (TYPE) HRPAD_PAL_S_PUSHBUTTON HR Application Log: Pushbutton for Node Category 20091106
9 Importing P_PUSH4 Call by reference Type reference (TYPE) HRPAD_PAL_S_PUSHBUTTON HR Application Log: Pushbutton for Node Category 20091106
10 Importing P_ROWMARK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20091106

Method SET_CATEGORY_PUSH_BUTTON on class CL_HR99B_PAL has no exception.

Method TEST_CREATE_NODES_FOR_ALL_CAT Signature

Method TEST_CREATE_NODES_FOR_ALL_CAT on class CL_HR99B_PAL has no parameter.
Method TEST_CREATE_NODES_FOR_ALL_CAT on class CL_HR99B_PAL has no exception.
History
Last changed by/on SAP  20110809 
SAP Release Created in