Customizing for NF-e Events 
To allow you to create and process NF-e events, such as electronic correction letters (CC-e) or NF-e cancellation, you must record and map the following two kinds of NF-e event codes in Customizing:
The official NF-e event code that is assigned to this NF-e event by SEFAZ
The internal NF-e event code that is used for backend processing in your SAP ERP system
You make the following settings:
In the Enter Official NF-e Event Codes and Map to Internal Codes Customizing activity, you record the official NF-e event code from SEFAZ, enter a descriptive text for the event, and then map it to the respective internal NF-e event code that is delivered with your SAP ERP system. This Customizing activity is found in Customizing for Cross-Application Components under .
In the Group Internal NF-e Event Codes Customizing activity, you create NF-e event groups and assign the internal NF-e event codes of those NF-e events that should be processed by a business place in the same way. This Customizing activity is found in Customizing for Cross-Application Components under .
In the Define Business Places Customizing activity, you assign the corresponding NF-e event group to the relevant business places. This Customizing activity is found in Customizing for Cross-Application Components under .