Batch Versus Interactive EDIFACT Messages
MapForce supports mapping data to or from both batch and interactive UN/EDIFACT messages. In other words, the UN/EDIFACT component in MapForce provides the necessary structure required to read or write syntactically valid UN/EDIFACT format files (meant for either batch or interactive interchange). Also, some basic validation and auto-completion rules are enforced when reading or writing UN/EDIFACT format files, as further described in this documentation. Note that MapForce does not actually transmit files between parties that take part in the UN/EDIFACT interchange process. The role of MapForce is to generate such files or convert them to other formats.
There are no special requirements in MapForce to map data to or from batch EDIFACT messages. However, in order to map data to or from Interactive EDIFACT messages, the following requirements apply:
1.MapForce 2018 or later is required.
2.The MapForce configuration files required for supporting Interactive EDI messages must be installed separately. The installation file can be freely downloaded and installed from the Altova MapForce Libraries page. Once you do this, the required collections and message types become available in the Browse EDI collections dialog box (see screenshot below).
To add a batch or an interactive UN/EDIFACT component to the mapping, select the corresponding collection from the Browse EDI collections dialog box. To open this dialog box, go to the menu command Insert | EDI or click the Insert EDI File toolbar button. For more information, see Adding EDI Components to the Mapping.
|Note:||In the dialog box above, the files with an INTERACTIVE component indicate a collection applicable to the interactive EDIFACT structure. Collections applicable to the batch structure only include the UN/EDIFACT directory version in their title (e.g., EDIFACT.D.2016A). The same convention applies to the configuration directories (collections) available in the EDI configuration folder of MapForce: C:\Program Files\Altova\MapForce2023\MapForceEDI\.|
The structure of UN/EDIFACT batch files is different from that of files meant for interactive interchange. Therefore, an EDIFACT component in MapForce can be either batch OR interactive (and thus include either batch OR interactive messages), not both simultaneously. Likewise, the validation and auto-completion rules differ for both scenarios, as described in the following topics: