SAP ABAP Class CL_HRPAYES_XML_TOOL (Resources for XML generation (Spain))
Hierarchy
SAP_HRCES (Software Component) Sub component SAP_HRCES of SAP_HR
   PY-ES (Application Component) Spain
     PC04 (Package) HR Payroll: Spain
Properties
Class CL_HRPAYES_XML_TOOL  
Short Description Resources for XML generation (Spain)    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PC04   HR Payroll: Spain 
Created 20040430   SAP 
Last change 20060703   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_HRPA_BOOLE_D Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 P99SG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 PESX0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HRPAYES_XML_TOOL has no interface implemented.
Friends
Class CL_HRPAYES_XML_TOOL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 COSTA Instance attribute Private Type reference (TYPE) PESX0_TAB_COSTA Stacl code 20040503
2 CURRENT_NODE Instance attribute Private Type reference (TYPE) I 20071029
3 DEBUGG_ON Instance attribute Private Type reference (TYPE) C Debugger flag 20050314
4 FALSE Constant Public Type reference (TYPE) BOOLE_D IF_HRPA_BOOLE_D=>FALSE false 20071029
5 LEVEL Instance attribute Private Type reference (TYPE) PESX0_STACK_LINE-LEVEL 20040430
6 PARENT Instance attribute Private Type reference (TYPE) PESX0_STACK_LINE-PARENT 20040430
7 PARENT_STACK Instance attribute Protected Object reference (TYPE REF TO) CL_HR99S00_XML_STACK PARENT_STACK 20040430
8 STACK Instance attribute Private Object reference (TYPE REF TO) CL_HR99S00_XML_STACK CL_HR99S00_XML_STACK 20071029
9 STPOS Instance attribute Private Type reference (TYPE) PESX0_STACK_LINE-STPOS 20040430
10 TRUE Constant Public Type reference (TYPE) BOOLE_D IF_HRPA_BOOLE_D=>TRUE true 20071029
11 XML_HANDLER Instance attribute Protected Object reference (TYPE REF TO) CL_HR99S00_XML_HANDLER TAB_XML 20040430
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ABAP_TYPE_EXISTS Instance method Private Method Verify ABAP type 20040503
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20071029
3 CONSTRUCTOR Instance method Public Constructor Constructor 20040430
4 DELETE_NODE Instance method Private Method Delete node 20040430
5 FILTER_STACK Instance method Protected Method Filter XODEP Stack 20040430
6 FLUSH_SIBLINGS Instance method Public Method Process XODEP stack 20071029
7 GENERATE_GENDATATYPE Instance method Public Method Generate Types for XML Schema 20040503
8 GENERATE_SCHEMA_STACK Instance method Public Method Generate schema stack 20040430
9 GET_ERROR_LIST Instance method Protected Method Process tab node XODEP stack 20071029
10 GET_NODE_VALUE_FOR_CURRENT Instance method Private Method Get the current node's value 20071029
11 GET_NUM_ERRORS Instance method Private Method Get the number of errors 20071029
12 GET_SIMPLE_TYPE Instance method Private Method Obtain definition of simple data type 20040503
13 GET_VALUES_XML_FILE Instance method Public Method Obtain values of XML structure 20040430
14 GET_VALUE_STRUC_NODE Instance method Private Method Obtain structure values 20040430
15 GET_VALUE_TAB_NODE Instance method Private Method Obtain more specific value 20040430
16 GET_XML_TYPE_NODE Instance method Private Method Obtain node definition type 20040430
17 IMPORT_FROM_FILE Instance method Public Method Import an XML file. 20071029
18 INTERPRET_PATTERN Instance method Private Method Interpret pattern definition 20040503
19 PRINT_NODE Instance method Private Method Print DOM node 20040503
20 PROCESS_SCHEMA_NODE Instance method Private Method Process XML Schema node 20040430
21 PROCESS_STRUC_NODE Instance method Private Method Process node structure XODEP stack 20040430
22 PROCESS_TAB_NODE Instance method Private Method Process table node 20040430
23 PROCESS_XODEP_STACK Instance method Public Method Process XODEP stack 20040430
24 SET_FIX_LENGTH_IF_NEEDED Instance method Private Method 20060905
25 SET_NODE_ATTR_FOR_CURRENT Instance method Protected Method DELET XODEP node 20071029
26 SET_NODE_VALUE_FOR_CURRENT Instance method Private Method 20071029
Events
Class CL_HRPAYES_XML_TOOL has no event.
Types
Class CL_HRPAYES_XML_TOOL has no local type.
Method Signatures

Method CHECK_ABAP_TYPE_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CODE Call by reference Type reference (TYPE) TABLE table code 20040503
2 Importing P_TYPE Call by reference Type reference (TYPE) ABAPSOURCE ABAP_SOURCE 20040503
3 Returning P_TYPE_EXISTS Value transfer Type reference (TYPE) BOOLEAN Boolean variable (X=true, -=false, space=unknown) 20040503

Method CHECK_ABAP_TYPE_EXISTS on class CL_HRPAYES_XML_TOOL has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_HRPAYES_XML_TOOL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HRPAYES_XML_TOOL has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_DEBUGG Call by reference Type reference (TYPE) C SPACE Debugger flag 20071029

Method CONSTRUCTOR on class CL_HRPAYES_XML_TOOL has no exception.

Method DELETE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_LEVEL Call by reference Type reference (TYPE) PESX0_STACK_LINE-LEVEL Level 20040430
2 Importing P_PARENT Call by reference Type reference (TYPE) PESX0_STACK_LINE-PARENT Father node 20040430
3 Importing P_POSIT Call by reference Type reference (TYPE) PESX0_STACK_LINE-POSIT Position 20040430
4 Changing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK Stack 20040430

Method DELETE_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method FILTER_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_FILTERED_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK filtered stack 20040430
2 Importing P_LEVEL Call by reference Type reference (TYPE) PESX0_STACK_LINE-LEVEL level 20040430
3 Importing P_PARENT Call by reference Type reference (TYPE) PESX0_STACK_LINE-POSIT parent 20040430
4 Importing P_POSIT Call by reference Type reference (TYPE) PESX0_STACK_LINE-POSIT position 20040430
5 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20040430

Method FILTER_STACK on class CL_HRPAYES_XML_TOOL has no exception.

Method FLUSH_SIBLINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENCODING Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T 'ISO-8859-1' XML encoding 20071029
2 Importing P_GENDATA Call by reference Type reference (TYPE) ANY generic data 20071029
3 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20071029
4 Exporting P_TEMSE_NAME Call by reference Type reference (TYPE) RPTSTYPE-TSOBJ TemSe HR object 20071029
5 Exporting P_TEMSE_RECEIVER Call by reference Type reference (TYPE) RPTSTYPE-EMPFG HR TemSe Payee 20071029
6 Importing P_TEMSE_SHORT_NAME Call by reference Type reference (TYPE) RPTSTYPE-OBJKN HR TemSe object identification 20071029

Method FLUSH_SIBLINGS on class CL_HRPAYES_XML_TOOL has no exception.

Method GENERATE_GENDATATYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_CODE Call by reference Type reference (TYPE) TABLE code table 20040503
2 Importing P_PREFIX Call by reference Type reference (TYPE) DD50D-TYPEGROUP SPACE Group types 20040503
3 Importing P_PREFIX2 Call by reference Type reference (TYPE) CHAR5 SPACE Second prefix 20040503

Method GENERATE_GENDATATYPE on class CL_HRPAYES_XML_TOOL has no exception.

Method GENERATE_SCHEMA_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_FILE Call by reference Type reference (TYPE) RLGRAP-FILENAME Local file to upload/download 20040430
2 Exporting P_SCHEMA_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK SCHEMA_STACK 20040430

Method GENERATE_SCHEMA_STACK on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_ERROR_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20071029
2 Importing P_TAB Call by reference Type reference (TYPE) ANY TABLE table 20071029
3 Importing P_WA_STACK Call by reference Type reference (TYPE) PESX0_STACK_LINE wa_stack 20071029

Method GET_ERROR_LIST on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_NODE_VALUE_FOR_CURRENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting VALUE Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T 20071029

Method GET_NODE_VALUE_FOR_CURRENT on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_NUM_ERRORS Signature

Method GET_NUM_ERRORS on class CL_HRPAYES_XML_TOOL has no parameter.
Method GET_NUM_ERRORS on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_SIMPLE_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PPNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE Node Simple type 20040503
2 Changing P_FIX_LENGTH Call by reference Type reference (TYPE) PESX0_STACK_LINE-LENGTH 20060905
3 Changing P_SIMPLE_TYPE Call by reference Type reference (TYPE) STRING String representing simple tado definition 20040503

Method GET_SIMPLE_TYPE on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_VALUES_XML_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_DATA Call by reference Type reference (TYPE) PESX0_XML_TABLE Data 20060214
2 Importing P_FILE_NAME Call by reference Type reference (TYPE) STRING File name 20050314
3 Changing P_GENDATA Call by reference Type reference (TYPE) ANY Generic data structure 20040430
4 Importing P_INITIAL_DIRECTORY Call by reference Type reference (TYPE) STRING Initial directory 20050314
5 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK Stack of corresponding XML Schema 20040430

Method GET_VALUES_XML_FILE on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_VALUE_STRUC_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_PNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE 20040430
2 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20040430
3 Changing P_STRUC Call by reference Type reference (TYPE) ANY structure 20040430
4 Importing P_WA_STACK Call by reference Type reference (TYPE) PESX0_STACK_LINE wa_stack 20040430

Method GET_VALUE_STRUC_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_VALUE_TAB_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_PNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE 20040430
2 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20040430
3 Changing P_TAB Call by reference Type reference (TYPE) INDEX TABLE table 20040430
4 Importing P_WA_STACK Call by reference Type reference (TYPE) PESX0_STACK_LINE wa_stack 20040430

Method GET_VALUE_TAB_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method GET_XML_TYPE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TYPED_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE 20040430
2 Exporting P_TYPE_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE 20040430

Method GET_XML_TYPE_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method IMPORT_FROM_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DIALOG Call by reference Type reference (TYPE) C 'X' DIALOG 20071029
2 Importing DIRECTORY Call by reference Type reference (TYPE) C 'C:TEMP' DIRECTORY 20071029
3 Importing FILENAME Call by reference Type reference (TYPE) C 'test.xml' FILENAME 20071029

Method IMPORT_FROM_FILE on class CL_HRPAYES_XML_TOOL has no exception.

Method INTERPRET_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_PATTERN Call by reference Type reference (TYPE) STRING Pattern to be interpreted 20040503
2 Returning P_SIMPLE_TYPE Value transfer Type reference (TYPE) STRING Type result 20040503

Method INTERPRET_PATTERN on class CL_HRPAYES_XML_TOOL has no exception.

Method PRINT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing PNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE XML node 20040503
2 Importing PPREFIX Call by reference Type reference (TYPE) CHAR10 SPACE Prefix data definition 20040503
3 Changing P_CODE Call by reference Type reference (TYPE) TABLE Generated code 20040503

Method PRINT_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method PROCESS_SCHEMA_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing PNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20040430
2 Changing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK schema_stack 20040430

Method PROCESS_SCHEMA_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method PROCESS_STRUC_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20040430
2 Importing P_STRUC Call by reference Type reference (TYPE) ANY structure 20040430
3 Importing P_WA_STACK Call by reference Type reference (TYPE) PESX0_STACK_LINE wa_stack 20040430

Method PROCESS_STRUC_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method PROCESS_TAB_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20040430
2 Importing P_TAB Call by reference Type reference (TYPE) ANY TABLE table 20040430
3 Importing P_WA_STACK Call by reference Type reference (TYPE) PESX0_STACK_LINE wa_stack 20040430

Method PROCESS_TAB_NODE on class CL_HRPAYES_XML_TOOL has no exception.

Method PROCESS_XODEP_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENCODING Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T 'ISO-8859-1' 20040430
2 Importing P_GENDATA Call by reference Type reference (TYPE) ANY generic data 20040430
3 Importing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20040430
4 Exporting P_TEMSE_NAME Call by reference Type reference (TYPE) RPTSTYPE-TSOBJ temse name 20040430
5 Exporting P_TEMSE_RECEIVER Call by reference Type reference (TYPE) RPTSTYPE-EMPFG Receiver 20040430
6 Importing P_TEMSE_SHORT_NAME Call by reference Type reference (TYPE) RPTSTYPE-OBJKN short name 20040430
7 Importing P_URL Call by reference Type reference (TYPE) STRING URL 20050314
# Exception Resumable Description Created on
1 ERROR Error 20060316

Method SET_FIX_LENGTH_IF_NEEDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_STACK Call by reference Type reference (TYPE) PESX0_STACK_LINE 20060905
2 Changing P_STRING Call by reference Type reference (TYPE) STRING 20060905

Method SET_FIX_LENGTH_IF_NEEDED on class CL_HRPAYES_XML_TOOL has no exception.

Method SET_NODE_ATTR_FOR_CURRENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_LEVEL Call by reference Type reference (TYPE) PESX0_STACK_LINE-LEVEL level 20071029
2 Importing P_PARENT Call by reference Type reference (TYPE) PESX0_STACK_LINE-PARENT parent 20071029
3 Importing P_POSIT Call by reference Type reference (TYPE) PESX0_STACK_LINE-POSIT position 20071029
4 Changing P_STACK Call by reference Type reference (TYPE) PESX0_TAB_STACK stack 20071029

Method SET_NODE_ATTR_FOR_CURRENT on class CL_HRPAYES_XML_TOOL has no exception.

Method SET_NODE_VALUE_FOR_CURRENT Signature

Method SET_NODE_VALUE_FOR_CURRENT on class CL_HRPAYES_XML_TOOL has no parameter.
Method SET_NODE_VALUE_FOR_CURRENT on class CL_HRPAYES_XML_TOOL has no exception.
History
Last changed by/on SAP  20060703 
SAP Release Created in 500