SAP ABAP IMG Activity /XNFE/XMLVERSDETCT (CT-e: Maintain Version of Message Types)
Hierarchy
SLL-NFE (Software Component) xNFE
   SLL-NFE-MGM (Application Component) NF-e: Communication Management & Monitoring
     /XNFE/CUS (Package) Customizing
IMG Activity
ID /XNFE/XMLVERSDETCT CT-e: Maintain Version of Message Types  
Transaction Code /XNFE/83000031   (empty) 
Created on 20131230    
Customizing Attributes /XNFE/XMLVERSDETCT   CT-e: Maintain Version of Message Types 
Customizing Activity /XNFE/XMLVERSDETCT   CT-e: Maintain Version of Message Types 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /XNFE/XMLVERSDET    

Use

In this Customizing activity, you determine which XML version is used for individual message types when communicating with authorities.

Requirements

In Customizing activity "CT-e: Maintain Connected Authority Systems", you have defined the authority system you want to communicate with.

Activities

Enter your logical system and your tax number. A blank tax number is also permitted. To achieve this, you can either delete the tax number after selecting the default values, or you can manually enter the logical system. Then select the document type, the message type, and the desired XML version.

To determine the XML version, the system first searches an entry for the respective tax number. If no such entry is found, the system uses the entry with a blank tax number. If no such entry can be determined, the system stops the process and returns the error ("D" - discrepancy; resend from ERP) to the ERP system.

The following document types must be defined for each tax number you use:

CTE for CT-e

EV2 for CT-e event

Document type CT-e


Sending of CT-es requires an XML version for the generic layout (attribute 'versao' in tag <infCte>) as well as another version for the transport mode-dependent layout that was used (attribute 'versaoModal' in tag <infModal>).
For example, if you want to use the new layout 2.00 for sending CT-es with transport mode 'rodo', you need to maintain two entries: one for messsage type 'CTE' and one for message type 'RODOCTE'.

CTE            -->    Generic layout

AEREOCTE        -->     CT-e: Transport mode Air (only relevant from version 2.00 and higher)

AQUAVCTE        -->     CT-e: Transport mode Ship (only relevant from version 2.00 and higher)

DUTOCTE        -->     CT-e: Transport mode Pipeline (only relevant from version 2.00 and higher)

FERROVCTE    -->    CT-e: Transport mode Rail (only relevant from version 2.00 and higher)

RODOCTE        -->     CT-e: Transport mode Road (only relevant from version 2.00 and higher)

MULTMODCTE    -->     CT-e: Transport mode Multimodal (only relevant from version 2.00 and higher)

To send other messages for a CT-e, maintain the XML versions for the following message types:

CANCCTE        -->    Cancellation (only relevant for version 1.04)

INUTCTE        -->    Skipping

SITCTE        -->    CT-e status query

STASERVCTE     -->    Service status query

Document type CT-e Event

Sending of CT-e events requires an XML version for the generic layout (attribute 'versao' in tag <eventoCte>) as well as another version for the event type-dependent layout that was used (attribute 'versaoEvento' in tag <detEvento>).
For example, if you want to use the new layout 2.00 for sending CT-e events with type 'cancellation', you need to maintain two entries: one for message type 'EVENTO' and one for message type '110111'.

EVENTO    -->    Issue Event (only relevant from version 2.00 and higher)

110110    -->    Correction Letter (only relevant from version 2.00 and higher)

110111    -->    Cancellation (only relevant from version 2.00 and higher)

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/XMLVERSDET 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_XMLVERCT V - View SM30  
History
Last changed by/on BEUNINGS  20131230 
SAP Release Created in 900