SAP’s Brazil localization team ran a webinar today on what Support Packages 25 and 26 bring to SAP NF-e 10.0 (GRC). Great session; thanks to the team.
The NF-e 4.00 status hasn’t changed since my last post: NFe 4.00: Date and other changes

Support Package 25
SP25 shipped in November 2016 with SAP Note 2310298 – SAPK-90025INSLLNFE: Support Package 25 for SLL-NFE. Main changes:
- CT-e outbound layout 3.00 (deadline December 4, 2017)
- MDF-e outbound layout 3.00 (deadline October 2, 2017)
- Inbound: better error handling and display
- Improvements to the FLEX BAdI steps
CT-e outbound layout 3.00
The layout adds fields and changes some formats. All dates and times move to UTC with hour, minute, second and time zone, both in the XML and in the NF-e 10.0 monitors.
New XML fields include:
- indIEToma: state registration (IE) indicator for the service taker
- IEST: the CT-e issuer’s state registration in the destination state
- vCargaAverb: insured cargo amount (averbação)
These fields are filled when the XML is built, so the data must come from the ERP. ERP notes deliver a BAdI with the new fields and mapping methods that pass the data to NF-e 10.0. See SAP Note 2368483 for the ERP changes.

Some tags were removed from the CT-e layout or moved to MDF-e.
MDF-e outbound layout 3.00
Besides UTC dates and times, MDF-e 3.00 gets tags moved from CT-e:
- seg: insurance
- peri: dangerous goods
- valePed: toll
MDF-e has no ERP solution; changes are delivered only in SAP NF-e 10.0 (GRC), which has an interface to receive the data. Each company builds its own ERP side. NF-e 10.0 is ready for MDF-e 3.00.
Inbound: better error handling and display
In the old monitor, you select one NF-e at a time to see its error details at the bottom:

SP25 delivers BAdI /XNFE/BADI_ENHANCE_STEP_RESULT to group documents by error type. Change a process step’s status message in method ENHANCE_STATUS_MESSAGE. Once implemented, documents with errors appear in a tree grouped by error type:

Two new header columns: Infotext of the last process status, and Application log.

FLEX BAdI improvements
BAdI /XNFE/BADI_FLEXIBLE_STEP gets a new parameter: an internal table that passes the CT_ASSIGNSUB structure, so the “steps before DANFE” and “steps after DANFE” methods can return references such as the purchase order or inbound delivery.
If you’re on SP25, implement these two fixes:
- 2395616 – Event locked in Event Monitor after SP25 or note 2383713
- 2417335 – Extraction of Signature Tag
Support Package 26
SP26 shipped in late February 2017 with SAP Note 2402473 – SAPK-90026INSLLNFE: Support Package 26 for SLL-NFE. Main changes:
Outbound
- CT-e outbound NT 2016.001
- MDF-e outbound NT 2017.001
- Improvements to BAdI /XNFE/EMAIL_B2B
Inbound automation
- CT-e 3.00: service disagreement events
- NF-e NT 2014.002 v1.02: recipient acknowledgement web service
- Mass sending of recipient acknowledgement events
- BAdI for email determination in supplier notification
- No more DANFE-by-DANFE reading in the Gatekeeper monitor
CT-e NT 2016.001 and MDF-e NT 2017.001
NT 2017.001 v1.02 (March 2017) changed some validation and status-check rules, but SP26 already covers them.
Upgrade to SP26 before CT-e 2.00 and MDF-e 1.00 are switched off, or status checks for those versions stop working:
- CT-e 2.00: December 4, 2017
- MDF-e 1.00: October 2, 2017
From August 2017, carriers may issue CT-e 3.00, so inbound must be ready to receive it. That needs SP26 plus the ERP changes.
/XNFE/EMAIL_B2B improvements
The B2B BAdI gets new parameters. A new event parameter lets you email event details to the NF partner, and two exception methods improve B2B error messages for users.

CT-e 3.00: service disagreement event
If a CT-e you receive is wrong, you issue a service disagreement event. Only then can the carrier issue a new CT-e. Without the event, when the service taker is a taxpayer (indIEToma = 1), the carrier’s cancellation is rejected with code 735, under validation rule G124.

The Customizing entry in SAP NF-e 10.0, where you create the event:


In the web monitor, reject the CT-e in the incoming monitor, choose the reason and send the event. The carrier can then issue a new CT-e.


NF-e NT 2014.002 v1.02: recipient acknowledgement
NT 2014.002, which introduced the recipient acknowledgement web service (Manifestação do Destinatário), was updated in October 2016:
- New events for passage registration and ICMS suspension postponement or cancellation
- Download of the cancellation event without acknowledgement
- New single NF-e download by access key through a web service
- Web services NFeConsultaDest and NFeDownloadNF switched off on May 2, 2017
Because those two services end on May 2, 2017, SP26 is required before then to keep downloading single NF-e, for example when the DANFE arrives with the goods but the XML didn’t come automatically.
Mass recipient acknowledgement
Acknowledgements no longer have to be sent one by one: select all the documents and issue the event.

BAdI for supplier email determination
New BAdI /XNFE/BADI_EMAIL adds flexibility. Configuration assigns an email by supplier CNPJ; the BAdI lets you send to several addresses or to partners other than that CNPJ.

Gatekeeper monitor: no more DANFE-by-DANFE
When a truck arrives with one DACTE covering several DANFEs, the gate can process the DACTE instead of scanning each DANFE.

Thanks again to SAP’s Brazil localization team for the webinar. As SAP pointed out, upgrading GRC (NF-e 10.0) is much simpler than the ERP changes these updates need, so plan ahead to meet the deadlines.


Leave a Reply