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

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.

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.
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.

For more information about HDI containers you can check the blog post
ACR Brazil Option (TDF): A evolução do produto com o HANA Deployment Infrastructure (HDI)
If you want to check the data that comes from a 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:
- Enter transaction SCTS_HDI_DEPLOY
- Enter the HDI Container
- With the view selected, choose the HDI Object button from the top menu
- 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 and run it in the 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

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.

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.

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.

Para mais informações você pode consultar o blog post
ACR Brazil Option (TDF): A evolução do produto com o HANA Deployment Infrastructure (HDI)
Precisando verificar os dados oriundos de uma 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:
- Entre na transação SCTS_HDI_DEPLOY
- Informe o HDI Container
- Com a View selecionada escolha o botão HDI Object no menu superior
- 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 realizalo 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