SAP S/4HANA Statutory Reporting for Brazil: Debug and Troubleshooting Hints
2023-9-28 23:33:39 Author: blogs.sap.com(查看原文) 阅读量:7 收藏

To read this blog post in Portuguese, scroll to the bottom of this page.

Para ler esta postagem em português, vá para o final desta página.

Hello everybody,

In this post, I will share with you some tips about Debug and Troubleshooting while running reports in Document and Reporting Compliance, including the following points:

  • Debug
  • SQL Editor
  • HDI Container
  • View for Nodes

  • Debug

We assume that you are running EFD-Reinf and want to check the data that a given calculation view is returning.

To do this, you can add an external break-point to the method FETCH_NEXT_INT of the class CL_SRF_QUERY_STMNT_HANA_VIEW. You can view the data in the variable RTT_RECORD.

  • SQL Editor

You want to run a select on a calculation view without having to access Web-Ide. To do this, you can use the transaction DB02 to inform the container and the required parameters for your query.

  • HDI Container

To find out which container you need to inform when performing a query, you can use the transaction SCTS_AMHC, locate the Logical Container SAPTMF_RT and linked to it will be your Physical Container.

  • View for Nodes

If you must identify in which projection, join, aggregation among other nodes of a calculation view, you can create intermediate temporary “Views” to later perform selects.

To generate the intermediate views, follow these steps:

  1. Enter transaction SCTS_HDI_DEPLOY
  2. Enter the HDI Container
  3. With the view selected, choose the HDI Object button from the top menu
  4. The list of available nodes will be displayed, select the one you need, and proceed.

There, the temporary view is created! You can now copy the pre generated select done in transaction DB02 or even directly into your WebIDE.

We would love to hear your feedback. Leave your comment below if you have any questions or suggestions for an upcoming post. In addition to the comments, you can contact us through the  Customer Influence platform. There you can propose ideas to improve our product, vote on other ideas already released and follow up on ideas in implementation. Also don’t forget to follow the statutory reporting tag here in the SAP Community to stay tuned.

See you next time!

Bruno Maciel

SAP S/4HANA Statutory Reporting for Brazil Development Team

#SAPGoGlobal #SAPLocalization #Statutory Reporting

Olá pessoal,

Neste post vamos compartilhar com vocês algumas dicas de Debug e Solução de Problemas durante a execução de Relatórios no Document and Reporting Compliance, entre eles estão os seguintes pontos:

  • Debug
  • SQL Editor
  • HDI Container
  • View for Nodes

  • Debug

Supomos que você esteja executando o EFD-Reinf e deseja verificar os dados que uma determinada Calculation View está retornando.

Para isto você pode adicionar um Break-Point externo no método FETCH_NEXT_INT da classe CL_SRF_QUERY_STMNT_HANA_VIEW. Na variável RTT_RECORD será possível visualizar os dados.

  • SQL Editor

Você quer executar um select em uma Calculation View sem ter a necessidade de acessar o Web-Ide. Para isto, você pode utilizar a transação DB02, informar o container e os parâmetros necessários para sua query.

  • HDI Container

Para descobrir qual container você precisa informar ao realizar um uma query é possível utilizar a transação SCTS_AMHC, localizar o Logical Container SAPTMF_RT e vinculado a ele estará o seu Physical Container.

  • View for Nodes

Precisando identificar em qual projeção, join, agregação entre outros nodos de uma Calculation View é possível criar “Views” temporárias intermediarias para posteriormente realizar selects.

Para gerar as views intermediarias siga estes passos:

  1. Entre na transação SCTS_HDI_DEPLOY
  2. Informe o HDI Container
  3. Com a View selecionada escolha o botão HDI Object no menu superior
  4. Será exibido a lista de nodos disponíveis, selecione o que você precisa e prossiga.

Pronto, a View temporária esta criada! Agora você pode copiar o select pré gerado e realizado na transação DB02 ou até mesmo diretamente no seu WebIDE.

Gostaríamos muito de saber o seu feedback. Deixe seu comentário abaixo caso tenha alguma dúvida ou sugestão para um próximo post. Além dos comentários, você pode entrar em contato conosco através da plataforma Customer Influence. Lá você pode propor ideias para melhorar nosso produto, votar em outras ideias já lançadas e acompanhar ideias em implementação. Também não esqueça de seguir tag Statutory Reporting aqui na SAP Community para ficar ligado nas últimas notícias.

Até a próxima!

Bruno Maciel

Time de Desenvolvimento do SAP S/4HANA Statutory Reporting for Brazil

#SAPGoGlobal #SAPLocalization #Statutory Reporting


文章来源: https://blogs.sap.com/2023/09/28/sap-s-4hana-statutory-reporting-for-brazil-debug-and-troubleshooting-hints/
如有侵权请联系:admin#unsafe.sh