SAPBR Technologies home

SAP in Brazil, explained

NFe Outbound / NFe 10.0 / NFe GRC – Part 4

This post continues part 3, part 2 and part 1.

17) Activate services for the user interface

The SAP NFE monitors let you track the status of NF-es, batches, service status and more across the communication between SAP NFE and SEFAZ. When something fails, you also use them to troubleshoot and to resend and recheck NF-es, batches and events.

To activate the monitors (this is done per client), go to SICF, enter service name XNFE and press Enter. In the tree, go to default_host > sap > bc > webdynpro > xnfe.

Activate these services for NF-e outbound (right-click > Activate):

NF-eAdministration
/nfe_monitor_new/download_mass_xml
/nfe_outb_monitor/ssf_maintenance
/event_monitor/nfe_monitor_arch
/batch_monitor_new/NFE_OUTB_MONITOR_arch
/nfe_batch_monitor/nfe_fisc_workplace_arch
/event_batch_monitor
/STATUS_MONITOR_NEW
/nfe_servsta_monitor
/NFE_LISTSTA_MONITOR
/nfe_analytics_out
SAP screen: 17) Activate services for the user interface
SAP screen: 17) Activate services for the user interface

18) NF-e outbound roles and authorizations

SAP NFE delivers these roles:

RolePurpose
/XNFE/WP_NFE_OUT_MONITORBuilds the user menu for the NFE outbound monitors. It holds no authorizations. Copy it to adjust the menu, and combine it with other roles in a composite role.
/XNFE/WP_NFE_ADMINFor the NFE administrator. Also builds the user menu only, with no authorizations. Copy and combine it the same way.

19) NF-e jobs

Schedule these jobs in SM36 and monitor them in SM37:

ProgramPurpose
/XNFE/NFE_BATCH_PROCESSSends batches and batch requests
/XNFE/NFE_B2B_SENDSends authorized NF-es to business partners
/XNFE/NFE_SKIP_SENDSends skip requests
/XNFE/NFE_CONTINUE_PROCESSRepeats the status update to ERP after technical problems
/XNFE/NFE_CHECK_SRV_STATUSChecks SEFAZ, SCAN and SVC web service availability
/XNFE/EVENT_BATCH_SENDSends events (cancellation and correction letter)
/XNFE/GET_ACKNOWLEDGMENTProcesses negative acknowledgments from PI

That wraps up this overview of NF-e outbound configuration. As I said in part 1, the goal was to give you the general idea and the steps to get SAP NFE (SAP GRC) talking to the SEFAZ systems. PI and ERP settings aren’t covered in these posts.

Don’t forget the OSS Notes and references listed in part 1.

And yes, expect plenty of issues. NF-e isn’t vanilla ice cream. You’ll also need BAdI enhancements for the XML and DANFE printing, but that’s a whole other subject.

Leave a comment if you have questions.

SAP screen: 19) NF-e jobs
“Zulu, One of the Last Black Maned Lions”

Comments

Leave a Reply