SAP ABAP IMG Activity /XNFE/TCUFCT (CT-e: Define Service Status Request for Authority (SEFAZ))
Hierarchy
SLL-NFE (Software Component) xNFE
   SLL-NFE-MGM (Application Component) NF-e: Communication Management & Monitoring
     /XNFE/CUS (Package) Customizing
IMG Activity
ID /XNFE/TCUFCT CT-e: Define Service Status Request for Authority (SEFAZ)  
Transaction Code /XNFE/83000034   (empty) 
Created on 20140103    
Customizing Attributes /XNFE/TCUFCT   CT-e: Define Service Status Request for Authority (SEFAZ) 
Customizing Activity /XNFE/TCUFCT   CT-e: Define Service Status Request for Authority (SEFAZ) 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /XNFE/CTE_TSRV    

Use

In this Customizing activity, you configure the settings that the system needs for the automatic query of system availability for CT-e of the SEFAZ system and the responsible contingency (SVC) system. You are required to query this status and can control the status query dependent on your batch planning or document volume. To do so, you can use the following parameters for each combination of Brazilian region and system environment:

  • Frequency of status query in seconds
  • Version for XML data for the CT-e
  • Time zone
  • Testing of the SVC system: The following options are available:
    • SEFAZ has priority, contingency system is also checked: The system availability of the SEFAZ system is tested first; if SEFAZ is unavailable, the responsible SVC system is tested. If both systems are available, the CT-es are sent to SEFAZ.
    • SEFAZ has priority, contingency system is not checked: The system availability of the SEFAZ system is tested first; the responsible SVC system is not tested. If the SEFAZ system is unavailable, the CT-es cannot be sent to the SVC system.
    • Contingency system has priority, SEFAZ is also checked: The system availability of the SVC system is tested first; if the SVC system is unavailable, SEFAZ is tested. If both systems are available, the CT-es are sent to the SVC system.

If the status query reports that the system is available, SAP Nota Fiscal Eletronica (SAP NFE) continues the electronic communication process. If the system is unavailable, you can continue the process manually in the application monitor.

  • Definition of the responsible SVC system:
    • 43    Rio Grande do Sul (RS, tpemis = 7)
    • 35    Sao Paulo (SP, tpemis = 8)

CT-e Service Status Check

You can run program /XNFE/CTE_CHECK_SRV_STATUS_MAN to check the availability of the SEFAZ and SVC systems. This program lets you monitor the status of SEFAZ and and SVC system by region (CUF), environment, and version, so you can decide which system to use. This information enables administrators to decide whether a manual switch to the SVC system would be beneficial, based on insufficient performance in SEFAZ. Another reason for switching to the SVC system would be an announcement regarding a temporary deactivation of the SEFAZ system.

Requirements

To be able to run the service status check, data must be maintained in the following Customizing activities:

Standard settings

Activities

Specify the region whose SEFAZ system you want to query and define whether you want to locate an available live or test system in the region.

Specify the control parameters for the service status query.

Example

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /XNFE/CTE_TSRV 0 /XNFE/KSU2000001 Nota Fiscal Eletronica (NF-e) 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
/XNFE/V_TCUFCT V - View SM30  
History
Last changed by/on BEUNINGS  20140103 
SAP Release Created in 900