Financial Management Blogs by SAP
Get financial management insights from blog posts by SAP experts. Find and share tips on how to increase efficiency, reduce risk, and optimize working capital.
cancel
Showing results for 
Search instead for 
Did you mean: 
carolinahefler
Participant


 

Olá!

 

Quando nós desenvolvemos algo, depois de algum tempo, ao revisitar o código, encontramos oportunidade de melhorar algum ponto.

E esse foi o caso da view NF_DOC_IMPORTACAO do CTR e da view PCO_C175. Vimos que havia pontos onde seria possível otimizar o consumo dos dados e, assim, melhorar performance e consumo de memória.

Veja abaixo os pontos modificados entregues nas SAP Notes 3055903 e 3058003.

 

VIEW DO CTR NF_DOCUMENTO_IMPORTACAO

Criamos parâmetros para direcionar melhor o consumo que estava sendo feito das views NF_DOCUMENTO_ITEM_IMPOSTO e NF_DOC_IMPORTACAO do CTR nas HANA views abaixo:

EFD_C100

EFD_C120

EFD_C190_012

EFD_C190_013

PCO_C100

PCO_C120

PCO_C199

 

HANA VIEW PCO_C175

Retirada do consumo do C100.

 

Adicionamos o parâmetro P_USE_TAXES à view NF_DOC_IMPORTACAO. Então, quando não há parâmetro especificado, o programa faz a leitura da view NF_IMPOSTO_CALCULO, sendo atribuído um parâmetro com a constante (S). Assim, as views que foram alteradas (lista acima) não vão mais consumir a view NF_IMPOSTO_CALCULO do CTR, o que resulta na diminuição do consumo de memória.

Para clientes que consomem a HANA view NF_DOC_IMPORTACAO em algum desenvolvimento, essas alterações não devem gerar efeitos colaterais.

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 se esqueça de seguir a tag SAP Tax Declaration Framework for Brazil aqui na SAP Community para ficar ligado nas últimas notícias sobre o TDF Add-on.

 

Por hoje é só pessoal, até a próxima!

Carolina Hefler

Time de desenvolvimento TDF/ACR BR

 

 

TDF: Refactoring of the C175 Register of the EFD Contribuições Report and the NF Import CTR View

Hi, everyone!

 

Whenever we develop software, we tend to find the opportunity to improve some point or another on revisiting the code after some time.

This is what happened to the NF_DOC_IMPORTACAO CTR view and to the PCO_C175 view. We have noticed there were changes that could optimize data consumption and, thus, improve performance and memory consumption.

Check out the changes we have delivered on SAP Notes 3055903 and 3058003.

 

NF_DOCUMENTO_IMPORTACAO CTR VIEW

We created parameters to better orient the consumption of CTR views NF_DOCUMENTO_ITEM_IMPOSTO and NF_DOC_IMPORTACAO in the HANA views below:

EFD_C100

EFD_C120

EFD_C190_012

EFD_C190_013

PCO_C100

PCO_C120

PCO_C199

 

 PCO_C175 HANA VIEW

C100 is no longer being consumed.

 

We also added the P_USE_TAXES parameter to the NF_DOC_IMPORTACAO view. This way, when there is no specified parameter, the program performs the reading of the NF_IMPOSTO_CALCULO view, and a parameter with the (S) constant is attributed. Consequently, the views that have been changed (see the list above) will no longer consume the NF_IMPOSTO_CALCULO CTR view, resulting in a memory consumption decrease.

For customers who consume the NF_DOC_IMPORTACAO HANA view in any development, these changes should not result in side effects.

We would love to have your feedback. Leave your comment below should you have should you have any question or suggestion for an upcoming post.

Apart from the comment section, you can also contact us through the Customer Influence platform, where you can propose ideas to improve our product, vote on previously released ideas and follow those ideas being currently implemented.

Follow the SAP Tax Declaration Framework for Brazil tag here at the SAP Community to keep updated with the latest news on the TDF Add-On.

 

That's all we had for the moment. See you next time!

 

Carolina Hefler

TDF/ACR BR Development Team

 
1 Comment