Enterprise Resource Planning Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
AilaneKuhn
Product and Topic Expert
Product and Topic Expert
54,315
(Scroll down for the English version)


Olá,  

A mudança legal Portaria 195/2020 é um tema importante para todos que fazem negócios em Portugal e está definitivamente tornando o final de 2020 um momento desafiador para muitos de nossos clientes.   

Para ajudá-lo a navegar nessa mudança legal e permanecer informado sobre as atualizações mais recentes, publicaremos atualizações regulares aqui na SAP Community.

Veja o novo blog post com as últimas notícias: Código QR e ATCUD para Portugal: Últimas notícias e perguntas frequentes

O que é a Portaria 195/2020?  

O governo português publicou a Portaria 195/2020 com os seguintes dois requisitos legais:  

  • Código QR:


As empresas são obrigadas a imprimir um código QR em documentos fiscais relevantes, na primeira ou na última página do documento. O código QR contém informações específicas solicitadas pelas autoridades fiscais.
Este requisito é válido a partir de janeiro de 2021.




  • ATCUD:


As empresas devem obter um novo código de validação de série e depois utilizá-lo para gerar o ATCUD, que é um código único atribuído a cada documento. O ATCUD é notificado no arquivo SAF-T. 
Este requisito foi agora adiado para janeiro de 2022 (Despacho 412/2020).  


Para mais informações sobre a mudança legal, consulte a publicação no site do governohttps://dre.pt/application/conteudo/140210523 

O que está por vir 

Estaremos monitorando atentamente as mudanças legais e informaremos se houver notícias e impacto no sistema via blog post e publicações no Announcement of Legal Change app via SAP ONE Support Launchpad. Você pode filtrar por Country/Region Portugal Portaria para ver todos os anúncios relacionados à essa mudança legal.  

Para o código QR, fornecemos até o momento o seguinte:  

  • SAP ERP e SAP S/4HANA: Uma solução genérica está disponível para uso com seus próprios layouts de impressão (SAP Note 2981449, 2981450, and 2981451).


É importante ressaltar que a solução genérica não depende de país ou região e pode ser utilizada com o seu próprio código. Se você decidir reutilizar alguns objetos da solução de código QR para Portugal, conforme descrito no anexo da SAP Note 2981450, você precisará implementar também as SAP Notes subsequentes que serão entregues a partir de 9 de dezembro. Essas SAP Notes estão listadas na SAP Note 2981450.


Uma das SAP Notes que estão por vir entregará a solução para os tipos de fonte de documentos de faturamento SD (BILLING_DOCUMENT) e faturas (FI_ACCDOC).




  • Para dicas em como implementar código QR em Smart Forms, veja SAP Knowledge Base Article 3003734.


Você pode esperar saber mais sobre as seguintes funcionalidades de código QR em breve:

  • SAP ERP e SAP S/4HANA: Os layouts de impressão fornecidos pela SAP estão sendo atualizados (entrega prevista a partir de 9 de dezembro). 



  • SAP S/4HANA Cloud: Os layouts de impressão atualizados estão planejados como parte da entrega do SAP S/4HANA Cloud 2011 (entrega prevista a partir de 15 de dezembro).


Fiquem em contato...  

Enquanto isso, fique à vontade para deixar seus comentários abaixo se tiver alguma dúvida ou sugestões para uma publicação futura. E não se esqueça de seguir a tag do SAP S/4HANA aqui na SAP Community para ficar atento às notícias mais recentes.  

Fiquem bem 

Ailane Kuhn

#SAPGoGlobal #SAPLocalization 

 

***


QR Code and ATCUD for Portugal: Stay Tuned to the Latest Updates on Portaria 195/2020


 

Hi everyone, 

Portaria 195/2020 is a hot topic for everyone doing business in Portugal and is definitely making the end of 2020 and beyond a challenging time for many of our customers.  

To help you navigate this legal change and stay informed about the latest updates, we’ll be publishing regular updates here on SAP Community.

Check out the following blog post with the latest news: QR Code and ATCUD for Portugal: Latest News and FAQ.
 

What is Portaria 195/2020?

The Portuguese government published Portaria 195/2020 with the following two legal requirements: 

  • QR code: Companies are required to print a QR code in fiscally relevant documents, either on the first or last page of the document. The QR code contains specific information requested by the tax authorities.
    This requirement is valid as of January 2021.
     

  • ATCUD: Companies must obtain a new series validation code and then use it to generate the ATCUD, which is a unique code assigned to each document. The ATCUD is reported in the SAF-T file.
    This requirement has now been postponed to January 2022 (Despacho 412 for 2020). 


For more information about the legal change, see the publication on thegovernment website: https://dre.pt/application/conteudo/140210523. 

What’s coming up? 

We’re monitoring the legal changes closely and will let you know if there’s any news and impact on the system through blog posts and publications in the Announcement of Legal Change app via SAP ONE Support Launchpad. You can filter by Portugal and Portaria to see all legal change announcements related to the legal change. 

For the QR code, we have delivered the following features so far:

  • SAP ERP and SAP S/4HANA: A generic solution is available to use with your own print layouts  (SAP Note 2981449, 2981450, and 2981451).


Note that the generic solution is country/region-independent and can be used with your own code. If you decide to reuse some objects from the QR code solution for Portugal, as explained in the cookbook attached to SAP Note 2981450, you also need to implement subsequent SAP Notes that will be released no earlier than December 9. These SAP Notes are listed in SAP Note 2981450.


One of these subsequent SAP Notes will deliver the QR code solution for the source types SD billing documents (BILLING_DOCUMENT) and FI invoices (FI_ACCDOC).




  • For helpful hints on implementing the QR code in Smart Forms, see SAP Knowledge Base Article 3003734.


You can expect to hear more about the following QR code features soon:

  • SAP ERP and SAP S/4HANA: Print layouts provided by SAP are being updated (no earlier than December 9).

  • SAP S/4HANA Cloud: Updated print layouts are planned as part of SAP S/4HANA Cloud 2011 (no earlier than December 15).


Stay in touch... 

In the meantime, feel free to leave your comments below if you have any questions or suggestions for an upcoming post. And don’t forget to follow the SAP S/4HANA tag here on SAP Community to stay tuned to the latest news. 

Take care, 

Ailane Kuhn 

#SAPGoGlobal #SAPLocalization 
226 Comments
former_member664437
Discoverer
0 Kudos
Hi,

Thanks for the post. I have a question, SAP Note 2981449 can be implemented with component SAP_APPL in version 600 but Notes 2981450 and 2981451 need version 603 for the component. Both notes will be implementable for version 600 in the future?

Kind regards,
0 Kudos
Hi Ailane,

 

Many thanks for the details.

 

Question: when using SAPScript for invoice form (with digital signature), exactly which Notes are relevant? We already downloaded 2981449, 2981450 and 2981451. Do we also need 2986552, 2981453, 2981454 and 2981455 if we use SAPScript?

 

Thank you for confirming.
former_member713824
Participant
Hi Robbert

Those notes usage depends on the code that you want to reuse.

Only the last one 2981455, you probably will not need.

Best Regards

Marta
former_member713824
Participant
Hi Bernardo

For 602 and 600 this is planned to be released next week.

Best Regards, Marta

 
former_member664437
Discoverer
0 Kudos
Thank you very much.
nlson_batista
Explorer
0 Kudos
Hello all,

 

I have SAP ECC EHP4 (SAP_APPL 604 21) and have implemented notes 2868553, 2981449, 2981450 and 2981451.

I'm trying to implement the QRCode for my SAPScript and Smartforms using as example the document from note 2981450. I just can't seem to find the QR code tool example call in programs SIPT_FI_PRINV and SD_INVOICE_PRINT01. Also, the "Calling QR Code Class" example in page 5 does not compile, since the classes cl_sipt_qrcode_pt and cl_sipt_pr_util do not exist in my system  neither type sipt_s_invqrcode.

I just don't know what to fill in the source_object.

 

Do I need any other notes implementation, or will there be another update to the document for my SAP version?

 

Thank you in advanced for your help.
former_member713824
Participant
0 Kudos
Hi Bernardo

Notes were released today for 600 and 602.

Regards, Marta
former_member713824
Participant
Hi Nelson

 

The class CL_SIPT_QRCODE_PT will be delivered in note 2981453.

 

Regards, Marta

 

 
0 Kudos
Hi Marta/Ailane,


Not all Notes are available yet. When can we expect them?


Thank you in advance for confirming.
former_member713824
Participant
Hi Robert

All the mentioned notes will be released until December 9th.

Regards, Marta
0 Kudos
Hi

Is SAP going to deliver any Note for QR code in Vendor invoices and customer deliveries?

 

thank you
former_member713824
Participant
0 Kudos
Hi Luis

If you are using SAP standard layouts for Portugal we will deliver the complete solution for the same until December 9th (Invoices and Deliveries), and this means the layouts with the QR Code

If you are using your own layouts, SAP will release some notes (the ones already released and some others) for you to use and adjust in your own layouts (Invoices and deliveries), and this means deliver you like a central tool that you can use and adjust to your own layouts/requirements/types of documents. This also applies to Self-billing invoices that you generate to your vendors.

Regards, Marta
0 Kudos
Hello Marta,

Thank you for your reply. We do not use use SAP standard layouts for Portugal. Instead, we use our own forms and layouts in SAPScript. Does this mean we do not need the Notes that have not been released yet?

Please advise, muito obrigado.

Cumprimentos.
0 Kudos
Hello,

¿Can you confirm it will work on smartforms the solution you provide?

Also the Cookbook attached to note 2981450 refers to Adobeforms, but I don't see any mention of how to implement it in smartforms and if this requieres some more adaptation, since in the program control we see that the QR it's not transferred to the smartform.

¿All of this information I supposed will be delivered on 9 December along with the remaining classes right?

 

Lot of thanks!

 

Best Regards,

Victor
cervantes_nicols
Participant
0 Kudos
Hi Ailane, my client ask me, if these notes could be affect to another process or another country process?
antonio_oliveira
Discoverer
0 Kudos

Hi Marta,

For QR Code Solution, at this moment we have released the following notes:
2868553 – Digital Signature Cross-Country: FI, SD and Cross-Application: Creation of Package
2981449 – Digital Signature QR Code – Central Tool: Prerequisite Objects for SAP Note
2981450 – Digital Signature QR Code – Central Tool Released
2981451 – Digital Signature QRCode – Central Tool – Customizing

However, for customers layouts, if we try to adjust our codes using the example presented on cookbook of note 2981450, page 5, we get an error compilation because of missing classes CL_SIPT_QRCODE_PT and CL_SIPT_PR_UTIL and data type SIPT_S_INVQRCODE.

On blog you already answered the class  CL_SIPT_QRCODE_PT will be available on note 2981453.

Please clarify the following:
1. the class CL_SIPT_PR_UTIL and data type SIPT_S_INVQRCODE will be available also on note 2981453;
2. at this moment notes 2986552, 2986553, 2986554 and 2986555 are being created
2.1 for customer layouts, will be necessary all of these notes?
2.2 when these notes will be available? Only on December 9th?!!

Note that I started to implement the available notes thinking that I could implement all solution; however I see that is not possible at this moment and we have to wait several days.
SAP should present the solution in only one go … and working!


Thanks,
António Oliveira

0 Kudos
HI Marta:

SAP Notes also will include a solution for PROFORMA sales invoices?

 

Thanks in advance
AilaneKuhn
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Victor,

Thank you for your comment!

We are planning to send out some hints and tips about QR code in Smart Forms in the following days. Stay tuned!

Best regards,
Ailane Kuhn
former_member496129
Discoverer
0 Kudos
Hi Ailane,

Do you have any update on this hints and tips related to QR code in Smart Forms?

 

Best regards,
Igor Joventino
benjamin_allsopp
Active Participant
0 Kudos

Hi,

 

Note 2981454 has been implemented in our system now but it is causing issues. There are some missing fields in structure ‘SIPT_S_INVHEADER’. Specifically ‘ATCUD’.

 

Has this structure change been delivered? It's not mentioned anywhere in the prerequisites.

 

Thanks

former_member713824
Participant
0 Kudos
Hi Luis

 

According with the information that I have you can use the solution to all kind of documents if you are using your own layouts.

If you are using SAP standard layouts I will check with development team and come back to you ASAP

Best Regards, Marta
former_member713824
Participant
0 Kudos
Hi Works A

In this case can you please open one incident? According with development team this was delivered, so they need to check what is happening.

Best Regards, Marta
former_member713824
Participant
0 Kudos
Hello Antonio

We delivered the notes one by one, to allow customers that have their own layouts, and other components beside SD and FI, to be able to start the implementation and testing, because they will not need all the notes.

For customers using their own layouts at least the last note will not be necessary, because this will bring the QR Code in the standard layout.

At this moment all the notes have being released except notes 2986554 and 2986555

If you are facing issues with the missing classes please open one incident and send me the number so that I can check with development team.

Best regards, Marta

 
former_member713824
Participant
0 Kudos
Hi Nicolás

This notes are only for Portugal.

Best Regards, Marta

 
0 Kudos
Hi,
We have implemented all the Portugal QR Code notes, but I can't see how to implement the QR code in Smarforms and custom SAPScript.

Is an information note pending to explain how it will be applied in custom forms?

When is the release of this note scheduled?

Thanks,
Regards.
francisco_silva
Explorer
0 Kudos
Good afternoon,

I am trying to implement the QRCODES in the forms of SAPSCRIPT and SMARTFORM, for tests of visualization of the forms, through a qrcode system created in the transaction se73. However, I am faced with the following problem: depending on the amount of information that goes into the qrcode, it can increase and decrease depending on that amount. Are you predicting this problem in your solution and finding a way to fix the size of the qrcode, regardless of the amount of information that will be injected into it?

Thank you,
Francisco
former_member664437
Discoverer
0 Kudos
Hi Marta,

Thank you very much. We could implemented them without any problem.

Sorry for bothering you again, but for notes 2981453 and 2981454 I understand it is planned to release them for version 600 also. Please, can you confirm it?

 

Kind regards,

Bernardo.

 
chuangmateo
Explorer
Hi :
I'm working on this project and need to confirm how to "calls the QR code tool" if you can help??  We're using SAP Script to print out the billing document and the program we have now is base on program "RVADIN02".

The cookbook page 5 mention about we can refer to these 2 programs:

"In FI: Report SIPT_FI_PRINV
• In SD: Report SD_INVOICE_PRINT01. In this case, refer to BADI_SD_BIL_PRINT01, implementation SIPT_SD_BIL_IMPL01."

I was expected we can assign billing related table/structure(VBRK/VBRP/KOMV..) directly and then call QR code tool (the method GET_QRCODE) but it looks not so simple, it looks like we need to use specific method to convert( or get) each data related to VBRK/VBRP/KOMV... into another format and make some adjustment and then call method GET_QRCODE?? right??

I hope I'm wrong and have easier conversion way, thanks.

Cheers,

Matt
0 Kudos

Hello Matt,

I have the same problem. I hope we are wrong and it is easier.

I stay around waiting for an answer for this.

 

Thanks,

Regards,

José Antonio.

 

0 Kudos
Hi Marta:

 

We have implemented the Notes, but I don´t understand if we need to map every field of the Bapi ??

I mean, the Bapi will extract all the data from the invoice?  or do we need to write from where the Bapi should take Vat totals, total amount, tax indicator...???

 

Please, could you answer me?

 

Thanks in advance
former_member713824
Participant
0 Kudos
Hi Luis

Just to direct you in the right direction, can you please tell me what is the point of the Cookbook, that is in note 2981450 that you are referring?

Best Regards,

Marta

 

 

 
0 Kudos
Hi Marta:

Yes, note 2981450 . But we´ve implemented also the rest of Notes. But our case is for our  not standard smartform .

We are using the Classes mentioned in 2986552 : CL_SIPT_QRCODE_PT and CL_SIPT_QRCODE_PT_SD.

regards
Marta:

We´ve implemented these classes , but we don´t know  if the QR code will be printed with all the fields, or do we need to map each field , telling to the Badi that has to retrieve it from VBRK/ SIPT-VBRK ?
former_member713824
Participant
0 Kudos
Hi Matt

Please check the answer that I get from development team:

"As you can see on the same page 5, point "Calling the QR Code Class" the should like this: cl_rdsv_qrcode=>get_qrcode( EXPORTING get_param = ls_qrc_get_param source_object = ls_qrc_object_pt IMPORTING qrcode = ls_qrc_result ). in which ls_qrc_object_pt TYPE cl_sipt_qrcode_pt=>source_object_pt and that is defined as:

BEGIN OF source_object_pt,
header TYPE pt_invheader,
items TYPE pt_invitems,
vat_totals TYPE pt_invvats,
whitholding_totals TYPE pt_invvats,
returning_reasons TYPE pt_invretrs,
get_status_param TYPE cl_sipt_pr_util=>doc_status_get_param,
others TYPE string, "use as input from the application for 'others'
END OF source_object_pt .

so you are correct you can not assign billing related table/structure(VBRK/VBRP/KOMV..) directly

you will have to convert the information to the types described above"

 

Hope that this help you.

Best regards, Marta
former_member713824
Participant
0 Kudos
Hi Jose

A KBA will be created with some explanation. This will be publish here in the next days.

Best Regards, Marta
former_member713824
Participant
0 Kudos
Hi Bernardo

Yes, we are planning to deliver all the notes for all the releases.

Best Regards, Marta
former_member713824
Participant
0 Kudos
Hi Robbert

 

For sure you will not need the last note, because is the one that brings the QR Code in our standard Adobe Form.

 

Best Regards, Marta
former_member713824
Participant
0 Kudos
Hi Igor

We expect to deliver a KBA in the next days.

Best Regards, Marta

 
former_member713824
Participant
0 Kudos
Hi Francisco

The official SAP form strategy is to deliver only Adobe forms as standard solutions.

However, you can also create your own form templates using different Form technologies such as Smart Forms

For to that reason, we are planning to release soon a KBA (knowledge base article) with a collection of helpful hints and tips. That will include 2 possible methods:

  1. a System QRcode (SE73)

  2. a bitmap image of the QRCode


Please note that SAP will not provide any additional support, beside the KBA if you are using a different technology from Adobe Forms.

Best Regards, Marta
chuangmateo
Explorer
0 Kudos
Hi Marta:

Thanks your reply even it's not good news to me, at least, I know I have no choice for now,

Thanks again,

Matt

 

Hi José Antonio:

"Ni modo", the typical SAP solution, let's work on it.

Cheers,

Matt
0 Kudos
Hi,

We are using custom adobe form for billing printout. So whether we will be able to get the QR code data with the help of these notes? And how can we pass the technical properties like Error correction capability,Type, Module size,version etc. Didn't see option in the adobe layout.

 

thanks in advance.
Marta, what is the KBA number? And when will it be available?

 

Thank you in advance for your replies.
Hello Marta - thanks for the feedback here.  I have a question about the cookbook guide.

We have a custom print program for our invoice - using smartforms.

The guide says to use the code for calling the GET_QRCODE method.  I have put all of the sample code from the cookbook into our print program, but I am confused on how to populate the "source_object" that needs passed to the GET_CQCODE method (in the example, it is passing ls_qrc_object_pt)

(I want to use the standard source type "BILLING_DOCUMENT", so no need to do any custom BADI implementation there.)

I am just really confused on how to populate the source_object, because the first thing the GET_QRCODE method is doing, is throwing an exception because it is initial.

Any guidance on how to populate this parameter for the method call?
0 Kudos
Hi

When trying to implement the SAP Notes :

2997273 - Digital Signature QR Code - Central Tool: Prerequisite Objects for SAP Note 2981453
2981453 - Digital Signature QR Code - Implementation Portugal: Classes for SD Billing/FI Invoices
2981454 - Digital Signature QR Code - Implementation Portugal: Layout SIPT_INV/ Print Programs

I noticed that they are for 'Software Component Version - SAP_APPL_605' or higher.
We are in 'SAP_APPL_604 0019 SAPKH60419 Logística e contabilidade'.

So, my question is :

There are already released some other SAP Notes for the 'Software Component Version - SAP_APPL_604', or will be released later ?

Best Regards.

Miguel Pinheiro
Yes - this is my point when asking for guidance above with populating the source object.

If we are supposed to populate the source object for the QR code with all of the information manually from the invoice, then what good is the class?  This is where I'm confused.  If I have to manually retrieve all of the information for the QR code string, then I can just print it as a QR code - no need for this class or notes.


Hi Marta,

1. We have standard Smartforms - LB_BIL_INVOICE for billing documents . Will there be SAP Notes provided to enable changes for QR code ?

2. For custom SAPScripts , what should the solution from SAP ?

3. Are there any sample examples to understand how to pass values in the GET_QRCODE method?

3. Is there any change in the QR code implementation deadline from the legal point?

 

Regards

Abhishek

0 Kudos
Hello,

When do you expect to release notes 2997273, 2981453 and 2981454 for release SAP_APPL 600?

Thanks in advance for your help.

Best regards,

Mónica Rodrigues

 
catia1_ribeiro
Explorer
0 Kudos














Hello,

After we have implemented the OSS Notes that are available for QR Codes and after the necessary technical specifications have been completed, how can we validate that the QR Code that is in the layout of our invoice is correctly created?

Should we be able to read QR Code with our cell phones for example?

Is there any application to perform validations?

I thank you in advance for your attention to the issue.

Best Regards,

Cátia Ribeiro













0 Kudos

Hi,

 

We are trying to implement the given OSS notes for use in SAPSCRIPT.

The list
2981449 – Successfully implemented
2981450 – Successfully implemented
2981451 – Successfully implemented
2986552 – Successfully implemented
2981453 – Pre-Manual activites blocked bcz SIPT_PRINV_RPT not found
2981454 – Pending
1) Please provide your opinion in fixing and completing 2981453 manual
2) Also pls confirm if these Snotes will suffice in implementing the QR code solution for SAPSCRIPT, (are we missing any vital Snotes in our list)
Thanks & Regards,

 

pnguessan
Discoverer
0 Kudos
Hi Marta

 

Please note that we cannot find the table EDOPTBUPAV at step 8 of note  2875863_Manual_Post-Implementation. We have raised the request to SAP without any reply so far.

Could you please help us to solve this ?

 

Thanks and Regards

Patrice Nguessan