Altova MapForce 2025 Enterprise Edition

Validation results are not usually stored in the EDIFACT message itself but are processed externally, often transmitted to the sender via a CONTRL message or logged in the processing system for further action. The CONTRL message is used to acknowledge the receipt of an EDIFACT message and to report any syntax and processing errors.

 

Example

One of the possible use-case scenarios is described in this subsection. For example, Company A sends an ORDERS message to Company B. The internal EDI-processing system of Company B receives and validates the message and discovers that the product code is missing. The error is logged in the system, and a CONTRL message is sent to Company A. The CONTRL message informs Company A that the ORDERS message has been rejected because of the missing product code.

 

How to auto-generate CONTRL messages

MapForce enables you to auto-generate EDIFACT CONTRL messages in the following way:

 

1.Add an EDIFACT component to your mapping and select a relevant EDIFACT message. In our example, we have added an ORDERS message.

2.Right-click the title bar of the EDI component and select Create Mapping to CONTRL (screenshot below). This creates a CONTRL component with default connections to the source EDIFACT component. Adjust connections, if necessary.

MF_CONTRLMessage

Important note

Note that creating CONTRL messages is supported only for standard EDIFACT messages.

 

© 2018-2024 Altova GmbH