SCM:de.lobster.scm.dw.util.CargoImpToCHAMPEdifactPostExecuter


The .CargoImpToCHAMPEdifactPostExecuter v4.7.0 validates a Cargo-IMP message (Cargo Interchange Message Procedures) so that it can be processed by CHAMP systems.

To ensure downward compatibility, the version of the CHAMP message to be created is configurable.

Since each version of CHAMP messages could have different configuration options, these are listed separately.

Configurations

Common configurations

Property

Description

Example

Required?

Default value

version

The version of the CHAMP message to be created

0.4

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


line.separator

The line break to be used

\n


System dependent:

  • Windows: \r\n

  • Linux: \n

In general: If a required entry is not specified, an exception is thrown and the profile ends with an error.

Configurations for version 0.4

Property

Description

Example

Required?

Default value

pimaAddressAirlinePrefixTranslationFilePath

the path to the file containing the airline prefix PIMA addresses and their translation

./conf/path/to/the/file.csv

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


pimaAddressAirlinePrefixTranslationFileCsvDelimiter

the CSV separator used to separate the keys and values in the airline prefix file

,


;
pimaAddressAirlinePrefixTranslationFileEncoding

the encoding of the CSV file containing the airline prefix PIMA addresses and their translations

8859_1see https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html


8859_1
pimaAddressAirlinePrefixKeyColumnIndex

the index of the column containing the key for the translation of the airline prefix

1

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


pimaAddressAirlinePrefixValueColumnIndex

the index of the column containing the key for the translation of the airline prefix

3

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


pimaAddressSenderIdTranslationFilePath

the path to the file containing the sender ID PIMA addresses and their translation

./conf/path/to/the/file.csv

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


pimaAddressSenderIdTranslationFileCsvDelimiter

the CSV separator that was used to separate the keys and the values in the sender ID file

,


;
pimaAddressSenderIdTranslationFileEncoding

the encoding of the CSV file containing the sender ID PIMA addresses and their translations

8859_1
see https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html


8859_1
pimaAddressSenderIdKeyColumnIndex

the index of the column containing the key for the translation of the sender ID

2

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


pimaAddressSenderIdValueColumnIndex

the index of the column containing the translated value of the sender ID

4

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


airlinePrefixVariableName

the name of the variable containing the airline value to be translated
(see also Property pimaAddressAirlineKeyColumnIndex)

VAR_AIRLINE_PREFIX

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


senderIdVariableName

the name of the variable containing the sender value to be translated
(see also Property pimaAddressSenderKeyColumnIndex)

VAR_SENDER_ID

images/s/-95e2zf/9012/8yg2g7/_/images/icons/emoticons/check.svg


Example properties file for version 0.4
version = 0.4
pimaAddressAirlinePrefixTranslationFilePath = ./conf/customername/project/pima_address_airline_prefix_translation_file.csv
pimaAddressAirlinePrefixTranslationFileEncoding = 8859_1
pimaAddressAirlinePrefixTranslationFileCsvDelimiter = ;
pimaAddressAirlinePrefixKeyColumnIndex = 1
pimaAddressAirlinePrefixValueColumnIndex = 3
pimaAddressSenderIdTranslationFilePath = ./conf/customername/project/pima_address_sender_id_translation_file.csv
pimaAddressSenderIdTranslationFileEncoding = 8859_1
pimaAddressSenderIdTranslationFileCsvDelimiter = ;
pimaAddressSenderIdKeyColumnIndex = 2
pimaAddressSenderIdValueColumnIndex = 4
airlinePrefixVariableName = VAR__AIRLINE_PREFIX
senderIdVariableName = VAR__SENDER_ID

Usage

The PostExecuter can be used either in phase 5 (IntegrationUnit) or phase 6 (response path).

images/download/attachments/78252207/image2016-8-1_13_5_5-version-1-modificationdate-1627311725458-api-v2.png


Examples

Example for version 0.4


Source
FWB/17
[...]
Nachrichteninhalt
[...]
OCI/AA/EXP/M/ZV FILED
Result
UNB+IATA:1+pima address of sender:PIMA+pima address of airline:PIMA+160801:0912+ICREF+0'UNH+MSGREF+CIMFWB:17+218'FWB/17
[...]
Nachrichteninhalt
[...]
OCI/AA/EXP/M/ZV FILED
'UNT+3+MSGREF'UNZ+1+ICREF'