SAPBR Technologies home

SAP in Brazil, explained

SAP NFe 10.0 – SLL-NFE SP 27

Upgrading GRC NF-e (SLL-NFE 10.0) to the NF-e 4.00 layout has two prerequisites:

  • Support Package 27
  • PI 7.10 or higher, for TLS 1.2

Even if you won’t issue 4.00 NF-e until the deadline (April 2018), vendors and partners start sending 4.00 this October. Inbound and B2B need to be ready.

SAP Notes

ERP notes aren’t out yet, but SAP released GRC NF-e SP27 this week: 2422760 – SAPK-90027INSLLNFE: Support Package 27 for SLL-NFE 10.0

Maintenance for SAP NetWeaver Java 7.0x ends in December 2017, and TLS 1.2, required for NF-e 4.00, is only supported on NetWeaver Java 7.10 or higher. See 2462623 – SAP Exchange Infrastructure (XI) 7.0x has to be upgraded.

Landscape options

1. SAP NF-e with SAP PI AEX

SAP NF-e with SAP PI AEX
Image source: SAP

2. SAP NF-e with SAP PI dual usage

SAP NF-e with SAP PI dual usage
Image source: SAP

3. SAP NF-e with SAP PI 7.4 dual stack

SAP NF-e with SAP PI 7.4 dual stack
Image source: SAP

4. Full SAP NF-e landscape

Full SAP NF-e landscape
Image source: SAP

SP27 handles both 3.10 and 4.00. Given how much changes, implement SP27 and the PI upgrade before the ERP changes, and test them with the 3.10 layout first.

PI step by step

SAP NetWeaver PI is the middleware that routes messages between SAP NF-e, the tax authorities and business partners. For NF-e it:

  • Formats XML messages to SEFAZ requirements.
  • Secures SOAP communication with client and server certificates.
  • Converts the synchronous exchange with SEFAZ into asynchronous messaging toward SAP NF-e, for performance (async-sync bridge).
SAP PI message flow for NF-e
  1. SAP NF-e sends the message to PI asynchronously.
  2. PI wraps the legal document in a SOAP envelope.
  3. PI calls the SEFAZ web service synchronously over HTTPS with certificate authentication.
  4. PI extracts the legal response from SEFAZ.
  5. PI sends the message to SAP NF-e (WebAS) asynchronously.

New features in SP27

Besides the legal changes for layout 4.00 (Technical Note 2016.002):

  • NF-e inbound: supports NF-e avulsa (CPF as issuer). These appear in the Fiscal Workplace with their own business determination.
  • Read-access logging: an application log records whenever someone views an NF-e, CT-e or MDF-e or downloads its XML. Off by default; switch it on in Customizing.
  • New PI namespace: issuing or receiving 4.00 NF-e needs new PI integration scenarios, in namespace http://sap.com/xi/NFE/009. After configuring PI, switch NF-e event handling and the distribution web service to the new namespace. See SAP Notes 2498688 and 2498689.

More on the layout: NFe 4.00: Date and other changes

Process innovation

Comments

3 responses to “SAP NFe 10.0 – SLL-NFE SP 27”

  1. Mark Avatar
    Mark

    Thank you for the information, it’s very helpful. However, I’m a little bit confused with the diagrams, and where the ERP system sits within the landscape. Would you be able to clarify? Also, in figure 1 it seems to suggest that you can run a Java 7.5 system alongside an ABAP (PI?) stack of a lower version. Is this correct?

    Like

    1. leandropia Avatar

      Mark, I added what would be the full landscape. I didn’t add before because this post was only covering the SLL-NFE 10.0, in regard the usage of Java 7.5, I recommend you checking this great blog (unfortunately it is in Portuguese) from our friend Renan Correa where he explain the options you have better: https://blogs.sap.com/2017/03/03/fim-da-manutencao-do-netweaver-as-java-7.0-e-possiveis-impactos-na-nfe/

      Like

      1. Mark Avatar
        Mark

        Thank you again, especially for the quick reply. Firstly, apologies, I am not an application person, so am approaching this with little knowledge of the functional NFe side.

        The confusion on our side was around the ABAP stack of the PI system. We are currently running an ERP system alongside a dual stack PI 7.02 system. I know that you have to split the dual stack system, but I wasn’t sure if the ABAP side was still required, or whether it was only the Java side required.

        Initially we thought that we could just build a new Java 7.5 system, configure and connect to ERP, and totally remove our current dual stack PI environment.
        I think (after looking at the other blog) that the PI ABAP is still required though (possibly for storing the xml documents?) and therefore we will need to keep ours and upgrade after splitting.

        Like

Leave a Reply