SCM:de.lobster.scm.dw.util.CargoImpToCHAMPEdifactPostExecuter
Overview of this page
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 |
|
|
line.separator |
The line break to be used |
\n |
|
System dependent:
|
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 |
|
|
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 |
|
|
pimaAddressAirlinePrefixValueColumnIndex |
the index of the column containing the key for the translation of the airline prefix |
3 |
|
|
pimaAddressSenderIdTranslationFilePath |
the path to the file containing the sender ID PIMA addresses and their translation |
./conf/path/to/the/file.csv |
|
|
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 |
|
8859_1 |
pimaAddressSenderIdKeyColumnIndex |
the index of the column containing the key for the translation of the sender ID |
2 |
|
|
pimaAddressSenderIdValueColumnIndex |
the index of the column containing the translated value of the sender ID |
4 |
|
|
airlinePrefixVariableName |
the name of the variable containing the airline value to be translated |
VAR_AIRLINE_PREFIX |
|
|
senderIdVariableName |
the name of the variable containing the sender value to be translated |
VAR_SENDER_ID |
|
|
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).
Examples
Example for version 0.4
FWB
/
17
[...]
Nachrichteninhalt
[...]
OCI
/
AA
/
EXP
/
M
/
ZV
FILED
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
'