Manual Steps for SAP note 1693739
Manual Pre Implementation Steps 1. Logon in Portuguese language (PT). 2. Update PPTGS type pool: 2.1. Go to transaction SE11. 2.2. For releases 6.04, 6.00, 5.00 and 4.70, do the following: 2.2.1. Select Grupo de tipos and enter PPTGS. 2.2.2. Click on modificar button. 2.3. For release 4.6C, do the following: 2.3.1. Go to utilitários in the window menu, select outros objetos dictionary and the following window should appear. 2.3.2. Select Grupo de tipos and enter PPTGS. 2.3.3. Click on modificar button. 2.4. Copy & paste the following code into it:
* WERKS range TYPES: BEGIN OF PPTGS_WERKS, SIGN(1), OPTION(2), LOW LIKE T001P-WERKS, HIGH LIKE T001P-WERKS, END OF PPTGS_WERKS. TYPES: PPTGS_WERKS_TAB TYPE PPTGS_WERKS OCCURS 0. * BTRTL range TYPES: BEGIN OF PPTGS_BTRTL, SIGN(1), OPTION(2), LOW LIKE T001P-BTRTL, HIGH LIKE T001P-BTRTL, END OF PPTGS_BTRTL. TYPES: PPTGS_BTRTL_TAB TYPE PPTGS_BTRTL OCCURS 0. 2.5. Check if the type tool PPTGS is maintained like following : 2.6. Save it and activate it.
3. Create HR report category HRPT0002 3.1. Go to transaction SE38. 3.2. Select Características. 3.3. Enter RPCUNRP0. 3.4. Choose Modificar then click on Classe de report HR button. 3.5. Choose the option Classe de report which contains new paper icon, as below:
3.6. Choose the option Entradas novas 3.7. Maintain the new entry as follows in this exactly order : Classe de report: HRPT0002 Description: Sem ordenação, intervalo, nº pessoal, empresa, Area, Subarea Agrupamento IDs seleção: PNP Banco de dados lógico PNPCE: Unchecked Período de seleção de dados = period d seleção de pessoas: Checked Matchcode permitido: Checked Ordenação permitida: Unchecked Est.org.permitida: Unchecked Período seleção dds.: Intervalo Área procmto./per.proc./ano FlhPg: Nenhuma entrada
Exibir ctg.folha pgto.: Unchecked Tipo: empty Nome: empty 3.8. Click on Critérios de Seleção then click on Entradas novas, maintain as follows: Select-Option Txt. 1ª página PNPBUKRS Empresa Checked PNPPERNR Nº pessoal Checked PNPPERSG Grupo empregados Unchecked PNPPERSK Subgrupo de empregados Unchecked PNPWERKS Área de recursos humanos Unchecked PNPBTRTL Subárea rec.humanos Unchecked 4. Update the Single Report (RPCUNRP0) HR report Class: 4.1. Go to transaction SE38. 4.2. Select Características. 4.3. Enter RPCUNRP0. 4.4. Choose Modifcar then click on Classe de report HR button. 4.5. On Dds.mestre (infotipos): Enter HRPT0002 :
4.6. Save it and activate it. 4.7. In the previous screen ABAP: características do programa RPCUNRP0 exibir screen, modify it fields, like for example, typing space and then backspace on the Título field as follows. 4.8. Save it and activate it.
5. Updating CL_HR_PT_UNIQUE_RP class 5.1. Go to transaction SE24 5.2. Enter CL_HR_PT_UNIQUE_RP and click on Modificar button 5.3. Go to Atributos tab and insert those two new attributes. Atributo: MT_WERKS_RANGE Tipo: Instance Attribute Visibilidade: Protected Só Leitura: unchecked Tipo Referência: PPTGS_WERKS_TAB Atributo: MT_ BTRTL_RANGE Tipo: Instance Attribute Visibilidade: Protected Só Leitura: unchecked Tipo Referência: PPTGS_ BTRTL_TAB Atributo: MV_IS_CONTINENT Tipo: Instance Attribute Visibilidade: Private Só Leitura: unchecked Tipo Referência: ABAP_BOOL 5.4. The class attributes tab should be maintained as follows: 5.5. Go to Métodos tab, select constructor and click on Parâmetro button, as follows:
5.6. Update the method signature by inserting the following parameters: Parâmetro: IT_WERKS Opcional: checked Tipo Referência: PPTGS_WERKS_TAB Parâmetro: IT_ BTRTL Opcional: checked Tipo Referência: PPTGS_ BTRTL_TAB Parâmetro: IV_CONTINENT Tipo Referência: ABAP_BOOL 5.7. The method signature should be maintained as follows: 5.8. Go to Métodos tab, add GET_REGION method: Método: GET_REGION Tipo: Instance Method Visibilidade: Protected
5.9. Update the method signature by inserting the following parameters: Parâmetro: IV_BUKRS Tipo: Importing Tipo Referência: BUKRS Parâmetro: IV_WERKS Tipo: Importing Tipo Referência: PERSA Parâmetro: IV_BTRTL Tipo: Importing Tipo Referência: BTRTL Parâmetro: IV_ENDDA Tipo: Importing Tipo Referência: ENDDA Parâmetro: EV_REGION Tipo: Exporting Tipo Referência: PPT_FDATA
5.10. The method signature should be maintained as follows: 5.11. Go to Métodos tab, add CHECK_REGION_EMPLOYEE method: Método: CHECK_REGION_EMPLOYEE Tipo: Instance Method Visibilidade: Public 5.12. Update the method signature by inserting the following parameters: Parâmetro: CV_RETURN_CODE Tipo: Returning Transfer.valor: Checked Tipo Referência: ABAP_BOOL Parâmetro: IV_ENDDA Tipo: Importing Opcional: checked Tipo Referência: ENDDA 5.13. The method signature should be maintained as follows:
5.14. Go to Métodos tab, add CHECK_REGION_ESTABLISHMENT method: Método: CHECK_REGION_ESTABLISHMENT Tipo: Instance Method Visibilidade: Protected 5.15. Update the method signature by inserting the following parameters: Parâmetro: IV_BUKRS Tipo: Importing Tipo Referência: BUKRS Parâmetro: IV_WERKS Tipo: Importing Tipo Referência: PERSA Parâmetro: IV_BTRTL Tipo: Importing Tipo Referência: BTRTL Parâmetro: IV_ENDDA Tipo: Importing Opcional: checked Tipo Referência: ENDDA
Parâmetro: CV_RETURN_CODE Tipo: Returning Transfer.valor: Checked Tipo Referência: ABAP_BOOL 5.16. The method signature should be maintained as follows: 5.17. Save it and activate it. 6. Updating CL_HR_PT_UNIQUE_RP_ANEXO_QP class 6.1. Go to transaction SE24 6.2. Enter CL_HR_PT_UNIQUE_RP_ANEXO_QP and click on Modificar button 6.3. Go to Métodos tab, select constructor and click on Parâmetro button, as follows: 6.4. Update the method signature by inserting the following parameters: Parâmetro: IT_WERKS Opcional: checked Tipo Referência: PPTGS_WERKS_TAB Parâmetro: IT_ BTRTL Opcional: checked Tipo Referência: PPTGS_ BTRTL_TAB
Parâmetro: IV_CONTINENT Tipo Referência: ABAP_BOOL 6.5. The method signature should be maintained as follows: 6.6. Update the GET_PROMOTION_DATE method by changing it visibility from private to protected. 6.7. Check if the method is maintained as follows: 6.8. Go to Métodos tab, and select the CHECK_REGION_EMPLOYEE method (red square in the screenshot below). 6.9. Overwrite that method by clicking in the Redefinir button (green circle in the screenshot below). 6.10. Check if the method is maintained as follows: 6.11. Go to Métodos tab, and select the CHECK_REGION_ESTABLISHMENT method (red square in the screenshot below).
6.12. Overwrite that method by clicking in the Redefinir button (green circle in the screenshot below). 6.13. Check if the method is maintained as follows: 6.14. Save it and activate it. 7. Updating CL_HR_PT_UNIQUE_RP_ANEXO_QP1 class 7.1. Go to transaction SE24 7.2. Enter CL_HR_PT_UNIQUE_RP_ANEXO_QP1 and click on Modificar button 7.3. Go to Métodos tab, and select the GET_PROMOTION_DATE method (red square in the screenshot below). 7.4. Overwrite that method by clicking in the Redefinir button (green circle in the screenshot below). 7.5. Check if the method is maintained as follows: 7.6. Save it and activate it. 8. Updating constructor method for CL_HR_PT_UNIQUE_RP_ANEXO_0 class 8.1. Go to transaction SE24
8.2. Enter CL_HR_PT_UNIQUE_RP_ANEXO_0 and click on Modificar button 8.3. Go to Métodos tab, select constructor and click on Parâmetro button, as follows: 8.4. Update the method signature by inserting the following parameters: Parâmetro: IT_WERKS Opcional: checked Tipo Referência: PPTGS_WERKS_TAB Parâmetro: IT_ BTRTL Opcional: checked Tipo Referência: PPTGS_ BTRTL_TAB Parâmetro: IV_CONTINENT Tipo Referência: ABAP_BOOL 8.5. The method signature should be maintained as follows: 8.6. Save it and activate it. 9. Updating constructor method for CL_HR_PT_UNIQUE_RP_ANEXO_FEST class 9.1. Go to transaction SE24 9.2. Enter CL_HR_PT_UNIQUE_RP_ANEXO_FEST and click on Modificar button
9.3. Go to Métodos tab, select constructor and click on Parâmetro button, as follows: 9.4. Update the method signature by inserting the following parameters: Parâmetro: IV_CONTINENT Tipo Referência: ABAP_BOOL 9.5. The method signature should be maintained as follows: 9.6. Save it and activate it. 10. Updating constructor method for CL_HR_PT_UNIQUE_RP_ANEXO_SST class 10.1. Go to transaction SE24 10.2. Enter CL_HR_PT_UNIQUE_RP_ANEXO_SST and click on Modificar button 10.3. Go to Métodos tab, select constructor and click on Parâmetro button, as follows: 10.4. Update the method signature by inserting the following parameters:
Parâmetro: IV_CONTINENT Tipo Referência: ABAP_BOOL 10.5. The method signature should be maintained as follows: 10.6. Save it and activate it. 11. Updating constructor method for CL_HR_PT_UNIQUE_RP_ANEXO_RF C class 11.1. Go to transaction SE24 11.2. Enter CL_HR_PT_UNIQUE_RP_ANEXO_ RFC and click on Modificar button 11.3. Go to Métodos tab, select constructor and click on Parâmetro button, as follows: 11.4. Update the method signature by inserting the following parameters: Parâmetro: IV_CONTINENT Tipo Referência: ABAP_BOOL 11.5. The method signature should be maintained as follows: 11.6. Save it and activate it. 12. Updating constructor method for CL_HR_PT_UNIQUE_RP_ANEXO_GRV class 12.1. Go to transaction SE24
12.2. Enter CL_HR_PT_UNIQUE_RP_ANEXO_ GRV and click on Modificar button 12.3. Go to Métodos tab, select constructor and click on Parâmetro button, as follows: 12.4. Update the method signature by inserting the following parameters: Parâmetro: IV_CONTINENT Tipo Referência: ABAP_BOOL 12.5. The method signature should be maintained as follows: 12.6. Save it and activate it.
2012 by SAP AG. All rights reserved. SAP and the SAP logo are registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and the Sybase logo are registered trademarks of Sybase Inc. Sybase is an SAP company.