SAP ABAP Class CL_HR_PT_PBS_ADSE_XML_REPORT (CL_HR_PT_PBS_ADSE_XML_REPORT)
Hierarchy
SAP_HRCPT (Software Component) Sub component SAP_HRCPT of SAP_HR
   PY-PT-PS (Application Component) Public Sector Payroll
     PB19PS (Package) Public Sector Portugal
Properties
Class CL_HR_PT_PBS_ADSE_XML_REPORT  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PB19PS   Public Sector Portugal 
Created 20110128   SAP 
Last change 20130531   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 P99SG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 PCONS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 PPTGS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HR_PT_PBS_ADSE_XML_REPORT has no interface implemented.
Friends
Class CL_HR_PT_PBS_ADSE_XML_REPORT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_COMPANY Instance attribute Protected Type reference (TYPE) GTY_S_COMPANY 20110202
2 MS_EE_STATICS Instance attribute Private Type reference (TYPE) GTY_S_STATISTICS 20110202
3 MS_EMPLOYEES_RECORD Instance attribute Protected Type reference (TYPE) GTY_S_EMPLOYEE_DATA 20110202
4 MS_XML_DATA Instance attribute Protected Type reference (TYPE) PPTP_ADSE_XML ADSE: estrutura para reporte XML 20110202
5 MT_EE_PAYRESULT Instance attribute Protected Type reference (TYPE) GTY_T_PAYRESULT 20110202
6 MT_ERRORS Instance attribute Protected Type reference (TYPE) HRPAY99_MSG Mensagem - info TTYP 20110202
7 MT_GEN_ERRORS Instance attribute Protected Type reference (TYPE) HRPAY99_MSG Mensagem - info TTYP 20110202
8 MT_P0000 Instance attribute Protected Type reference (TYPE) GTY_T_0000 20110202
9 MT_P0001 Instance attribute Protected Type reference (TYPE) GTY_T_0001 20110202
10 MT_P0332 Instance attribute Protected Type reference (TYPE) GTY_T_0332 20110202
11 MT_P0896 Instance attribute Protected Type reference (TYPE) GTY_T_0896 20110202
12 MT_T596IJ Instance attribute Protected See coding 20110202
13 MT_XML_DATA Instance attribute Protected Type reference (TYPE) PPTT_ADSE_XML ADSE: Categoria de tabela para reporte XML 20121219
14 MV_ADSE_SERV_CODE Instance attribute Protected Type reference (TYPE) PPTP_SECOD Código do serviço na ADSE 20110202
15 MV_BEGDA Instance attribute Protected Type reference (TYPE) BEGDA Início da validade 20110202
16 MV_BUKRS Instance attribute Protected Type reference (TYPE) BUKRS Empresa 20110202
17 MV_COMP_NAME Instance attribute Protected Type reference (TYPE) PPTP_ENTNM Nome da entidade 20110202
18 MV_DUC_REF Instance attribute Private Type reference (TYPE) PPTP_DUCRF Reference of single collection document (DUC) 20110323
19 MV_ENDDA Instance attribute Protected Type reference (TYPE) ENDDA Fim da validade 20110202
20 MV_ENTTY Instance attribute Protected Type reference (TYPE) PPT_ENTTY Entidade lógica 20110202
21 MV_MONTH Instance attribute Protected Type reference (TYPE) PPT_LMTMO "Período-em" do processamento de salários 20110202
22 MV_NIPC Instance attribute Protected Type reference (TYPE) PPTP_NIPCE Nº de identificação de pessoa coletiva da entidade 20110202
23 MV_PERMO Instance attribute Protected Type reference (TYPE) PERMO Parâmetros período 20110202
24 MV_PERNR Instance attribute Protected Type reference (TYPE) PERNR_D Nº pessoal 20110202
25 MV_TRF_MONTH Instance attribute Private Type reference (TYPE) PPT_LMTMO "Período-em" do processamento de salários 20110202
26 MV_TRF_YEAR Instance attribute Private Type reference (TYPE) PPT_LMTYE "Período-em" do processamento de salários 20110202
27 MV_YEAR Instance attribute Protected Type reference (TYPE) PPT_LMTYE Ano flh.pgto. 20110202
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_ERROR Instance method Private Method Add error for employee 20110202
2 APPEND_GEN_ERROR Instance method Private Method Add general error 20110202
3 CONSTRUCTOR Instance method Public Constructor 20110202
4 CREATE_EMPLOYEE_DATA_RECORD Instance method Private Method Create details record for employee 20110202
5 CREATE_XML_PER_SCODE Instance method Private Method Create xml (file) per Service Code 20121219
6 DEC_STATICS Instance method Private Method Decrease statistics 20110202
7 GET_AMOUNT_ASSIGN_WAGETYPES Instance method Private Method Read relevant wage types 20110202
8 GET_COMPANY_NAME Instance method Private Method Return organization name 20110202
9 GET_DUC_REFERENCE Instance method Private Method Return single collection document code generated in ADSE 20110202
10 GET_ENTITY Instance method Private Method Return entity 20110202
11 GET_MESSAGE_TAB Instance method Public Method Return messages 20110202
12 GET_NIPC_CODE Instance method Private Method Return NIPC code 20110202
13 GET_PAYROLL_RESULT_FOR_INPER Instance method Private Method Read payroll results in the period 20110202
14 GET_SERV_CODE Instance method Private Method Return service code for ADSE 20110202
15 GET_STATICS Instance method Public Method Return statistics 20110202
16 GET_XML_DATA Instance method Public Method Return filled XML structure 20110202
17 INC_STATICS Instance method Private Method Increase statistics 20110202
18 POST_PROCESSING Instance method Public Method Post-processing 20110202
19 PROCESS_DIFFERENCES Instance method Private Method Process differences in retroactive calculation 20110202
20 PROCESS_EMPLOYEE Instance method Public Method Process employee 20110202
21 READ_HEADER_INFO Instance method Private Method Read header information 20121219
22 SET_EMPLOYEE Instance method Public Method Load employee information 20110202
23 SET_TRANSF_DATE_AND_NIPC Instance method Private Method Determine new NIPC code and date in case of transfer 20110202
24 SUM_TOTALS_HEADER Instance method Private Method Sum totals for fields of the header record 20110202
Events
Class CL_HR_PT_PBS_ADSE_XML_REPORT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_COMPANY Public See coding 20110202 BEGIN OF gty_s_company, serv_code TYPE pptp_secod, prescrip_date TYPE pptp_predt, nipc_entid TYPE pptp_nipce, name_entid TYPE pptp_entnm, tot_records TYPE pptp_totrc, tot_discounts TYPE pptp_ttdsc, tot_contrib TYPE pptp_ttcon, ref_duc TYPE pptp_ducrf, retention_oe TYPE pptp_dttrf, END OF gty_s_company
2 GTY_S_EMPLOYEE_DATA Public See coding 20110202 BEGIN OF gty_s_employee_data, pernr TYPE pernr_d, actual TYPE gty_t_file_data, previous TYPE gty_t_file_data, final TYPE gty_t_file_data, END OF gty_s_employee_data
3 GTY_S_FILE_DATA Public Type reference (TYPE) PPTP_ADSE_XML_DATA 20110202
4 GTY_S_FILE_HEADER Public Type reference (TYPE) PPTP_ADSE_XML_HEADER 20110202
5 GTY_S_STATISTICS Public See coding 20110202 BEGIN OF gty_s_statistics, selected TYPE i, processed TYPE i, rejected TYPE i, excluded TYPE i, END OF gty_s_statistics
6 GTY_T_0000 Public See coding 20110202 gty_t_0000 TYPE STANDARD TABLE OF p0000
7 GTY_T_0001 Public See coding 20110202 gty_t_0001 TYPE STANDARD TABLE OF p0001
8 GTY_T_0332 Public See coding 20110202 gty_t_0332 TYPE STANDARD TABLE OF p0332
9 GTY_T_0896 Public See coding 20110202 gty_t_0896 TYPE STANDARD TABLE OF p0896
10 GTY_T_FILE_DATA Public See coding 20110202 gty_t_file_data TYPE STANDARD TABLE OF gty_s_file_data WITH DEFAULT KEY
11 GTY_T_FILE_HEADER Public See coding 20110202 gty_t_file_header TYPE STANDARD TABLE OF gty_s_file_header WITH DEFAULT KEY
12 GTY_T_PAYRESULT Public See coding 20110202 gty_t_payresult TYPE STANDARD TABLE OF paypt_result
Method Signatures

Method APPEND_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID Classe de mensagem 20110202
2 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Nº mensagem 20110202
3 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY Tipo de mensagem 20110202
4 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202
5 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202
6 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202
7 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202

Method APPEND_ERROR on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method APPEND_GEN_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGID Call by reference Type reference (TYPE) SYMSGID Classe de mensagem 20110202
2 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO Nº mensagem 20110202
3 Importing IV_MSGTY Call by reference Type reference (TYPE) SYMSGTY Tipo de mensagem 20110202
4 Importing IV_MSGV1 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202
5 Importing IV_MSGV2 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202
6 Importing IV_MSGV3 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202
7 Importing IV_MSGV4 Call by reference Type reference (TYPE) SYMSGV Variável mensagens 20110202

Method APPEND_GEN_ERROR on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BEGDA Call by reference Type reference (TYPE) BEGDA Início da validade 20110202
2 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Empresa 20110202
3 Importing IV_DUC_REF Call by reference Type reference (TYPE) PPTP_DUCRF Reference of single collection document (DUC) 20110323
4 Importing IV_ENDDA Call by reference Type reference (TYPE) ENDDA Fim da validade 20110202
5 Importing IV_MONTH Call by reference Type reference (TYPE) PPT_LMTMO "Período-em" do processamento de salários 20110202
6 Importing IV_TRF_MONTH Call by reference Type reference (TYPE) PPT_LMTMO "Período-em" do processamento de salários 20110202
7 Importing IV_TRF_YEAR Call by reference Type reference (TYPE) PPT_LMTYE "Período-em" do processamento de salários 20110202
8 Importing IV_YEAR Call by reference Type reference (TYPE) PPT_LMTYE "Período-em" do processamento de salários 20110202

Method CONSTRUCTOR on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method CREATE_EMPLOYEE_DATA_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PAYRESULT_TO_PROCESS Call by reference Type reference (TYPE) PAYPT_RESULT HR-PT: Estrutura resultados do cálculo salários 20110202
2 Returning RS_EMPLOYEE_DATA_RECORD Value transfer Type reference (TYPE) GTY_S_FILE_DATA ADSE: estrutura para registros do XML 20110202

Method CREATE_EMPLOYEE_DATA_RECORD on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method CREATE_XML_PER_SCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ADSE_XML Call by reference Type reference (TYPE) PPTT_ADSE_XML ADSE: Categoria de tabela para reporte XML 20121219
2 Importing IT_ADSE_XML_DATA Call by reference Type reference (TYPE) PPTT_ADSE_XML_DATA 20121219

Method CREATE_XML_PER_SCODE on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method DEC_STATICS Signature

Method DEC_STATICS on class CL_HR_PT_PBS_ADSE_XML_REPORT has no parameter.
Method DEC_STATICS on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_AMOUNT_ASSIGN_WAGETYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RT Call by reference Type reference (TYPE) HRPAY99_RT Tabela de resultados 20110202
2 Importing IV_DATE Call by reference Type reference (TYPE) ENDDA Data 20110202
3 Importing IV_SUMLG Call by reference Type reference (TYPE) T596I-SUMLG Rubrica salarial de acumulação 20110202
4 Returning RV_AMOUNT Value transfer Type reference (TYPE) PC207-BETRG Cálculo das folhas de pagamento: montante 20110202

Method GET_AMOUNT_ASSIGN_WAGETYPES on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_COMPANY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_COMP_NAME Value transfer Type reference (TYPE) PPTP_ENTNM Nome da entidade 20110202

Method GET_COMPANY_NAME on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_DUC_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_DUC Value transfer Type reference (TYPE) PPTP_DUCRF Referência do documento único de cobrança 20110202

Method GET_DUC_REFERENCE on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Empresa 20110202
2 Importing IV_DATE Call by reference Type reference (TYPE) ENDDA Fim da validade 20110202
3 Returning RV_ENTITY Value transfer Type reference (TYPE) PPT_ENTTY Entidade lógica 20110202

Method GET_ENTITY on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_MESSAGE_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EE_MSGS Call by reference Type reference (TYPE) HRPAY99_MSG Mensagem - info TTYP 20110202
2 Exporting ET_GEN_MSGS Call by reference Type reference (TYPE) HRPAY99_MSG Mensagem - info TTYP 20110202

Method GET_MESSAGE_TAB on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_NIPC_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENTTY Call by reference Type reference (TYPE) PPT_ENTTY Entidade lógica 20110202
2 Returning RV_NIPC_CODE Value transfer Type reference (TYPE) PPTP_NIDPC Nº de identificação de pessoa coletiva 20110202

Method GET_NIPC_CODE on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_PAYROLL_RESULT_FOR_INPER Signature

Method GET_PAYROLL_RESULT_FOR_INPER on class CL_HR_PT_PBS_ADSE_XML_REPORT has no parameter.
Method GET_PAYROLL_RESULT_FOR_INPER on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_SERV_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SERVICE_CODE Value transfer Type reference (TYPE) PPTP_SECOD Código da entidade da ADSE 20110202

Method GET_SERV_CODE on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_STATICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_STATICS Value transfer Type reference (TYPE) GTY_S_STATISTICS 20110202

Method GET_STATICS on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method GET_XML_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_XML_DATA Call by reference Type reference (TYPE) ANY 20121219

Method GET_XML_DATA on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method INC_STATICS Signature

Method INC_STATICS on class CL_HR_PT_PBS_ADSE_XML_REPORT has no parameter.
Method INC_STATICS on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method POST_PROCESSING Signature

Method POST_PROCESSING on class CL_HR_PT_PBS_ADSE_XML_REPORT has no parameter.
Method POST_PROCESSING on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method PROCESS_DIFFERENCES Signature

Method PROCESS_DIFFERENCES on class CL_HR_PT_PBS_ADSE_XML_REPORT has no parameter.
Method PROCESS_DIFFERENCES on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method PROCESS_EMPLOYEE Signature

Method PROCESS_EMPLOYEE on class CL_HR_PT_PBS_ADSE_XML_REPORT has no parameter.
Method PROCESS_EMPLOYEE on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method READ_HEADER_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_HEADER Call by reference Type reference (TYPE) PPTP_ADSE_XML_HEADER 20121219

Method READ_HEADER_INFO on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method SET_EMPLOYEE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_P0000 Call by reference Type reference (TYPE) GTY_T_0000 IT0000 Internal Table 20110202
2 Importing IT_P0001 Call by reference Type reference (TYPE) GTY_T_0001 IT0001 Internal Table 20110202
3 Importing IT_P0332 Call by reference Type reference (TYPE) GTY_T_0332 IT0332 Internal Table 20110202
4 Importing IT_P0896 Call by reference Type reference (TYPE) GTY_T_0896 IT0896 Internal Table 20110202
5 Importing IV_PERMO Call by reference Type reference (TYPE) PERMO Parâmetros período 20110202
6 Importing IV_PERNR Call by reference Type reference (TYPE) PERNR_D Nº pessoal 20110202

Method SET_EMPLOYEE on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method SET_TRANSF_DATE_AND_NIPC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_NIPC Call by reference Type reference (TYPE) PPTP_NIDPC Código de uma posição 20110202
2 Changing CV_TDATE Call by reference Type reference (TYPE) PPTP_TRDAT Data de transferência de entidade 20110202
3 Importing IV_DATE Call by reference Type reference (TYPE) BEGDA Início da validade 20110202

Method SET_TRANSF_DATE_AND_NIPC on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.

Method SUM_TOTALS_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_ADSE_XML Call by reference Type reference (TYPE) PPTP_ADSE_XML 20121219

Method SUM_TOTALS_HEADER on class CL_HR_PT_PBS_ADSE_XML_REPORT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in