Communication Flow
Create an electronic fiscal document in SAP ERP
To create an electronic fiscal document in a logistics process, you need country-specific information contained in an NF-e.For more information about the role and the handling of electronic fiscal documents (NF-es), see SAP Library for SAP ERP under .Receive NF-e data in the SAP NFE core application
The system transfers all required data in a NF-e from the SAP ERP feeder system to the SAP NFE core application, which stores the data with a common identifier and a reference to the feeder system document.Sign NF-e
The authorities require that each NF-e be signed by using a certificate that they have issued. Each NF-e is signed individually within the ABAP stack using the certificate that is stored in theSTRUST
table.Queue signed NF-es
The core application saves the signed NF-es for later reference and also queues them for the next process step.Create batch in core application
The authorities only accept NF-es in batches that cannot exceed a certain size. The system applies all requirements from the authorities when batching signed NF-es.Send NF-e batch to SAP NetWeaver PI
The SAP NFE system sends the batch synchronously to SAP NetWeaver PI using the standard PI adapter.Send NF-e batch from SAP NetWeaver PI to authorities
SAP NetWeaver PI routes the batches to the correct addressee. For communicating with the authorities, an HTTPs connection using the company-specific certificate from the government via SOAP is required.Receive average timeframe from authorities for status availability
When the authorities receive the batched NF-es, they automatically send a response via SAP NetWeaver PI with the average time (in seconds) that it took to set the NF-e batch status.Prepare request for NF-e status information
After SAP NetWeaver PI transmits the authorities' response to the SAP NFE core application, the core application schedules a system status request message to send to the authorities.Set NF-e government status (authorities)
The authorities set the status for all NF-es in the batch for which they have provided a time estimate. The status is stored in the authorities' system until your company retrieves itRequest status information from authorities
After the time set by the authorities for collecting status data has elapsed, the SAP NFE core application uses the standard PI adapter to send the status request to SAP NetWeaver PI. SAP NetWeaver PI then routes the request via the SOAP adapter to the authorities.Receive authority status in SAP NFE core application
The SAP NFE system receives the government status for the NF-es via SAP NetWeaver PI and updates the status information accordingly.Triggering of B2B process (if configured) in SAP NFE core application
If configured in Customizing, the SAP NFE system triggers the B2B process and sends the XML file to the business partner.Forward NF-e status to SAP ERP
The SAP NFE core application sends the government-issued status to SAP ERP.Update status of electronic fiscal document in SAP ERP
The process is terminated and changes to goods movement processing.Send NF-es to SAP NetWeaver PI
The SAP NFE system uses the standard PI adapter to send the NF-es to SAP NetWeaver PI.Send NF-es from SAP NetWeaver PI to B2B receiver
SAP NetWeaver PI routes the NF-es to the correct B2B addressee. An HTTPs connection is required to communicate with the B2B receiver.
More Information
- Setting up and configuring the individual components required to enable the communication process is described in Configuration of NF-e Outbound.
- Monitoring the communication process is described in Monitor NF-e Outbound.
Nenhum comentário:
Postar um comentário
Observação: somente um membro deste blog pode postar um comentário.