|
Defining the Mappings for the MSH SegmentThe next step is to check which transformations you need to make to the MSH segment. The following table shows the mappings for the incoming and outgoing messages:
The Fixed column indicates whether or not the field is always constant. For instance, the Sending Application and Sending Facility are constant, but the message control ID and date/time of the message are changing. The easiest way to set the constant fields is to alter the scripts defined for the MSH segment in the Outbound Script for the applicable field. To set the constant fields for the MSH segment:
So, in this case, you will be setting the constant fields for the following:
The Python code you added should look like: ![]() Setting the Constant Fields Using Python
![]() Transformation Window, Showing the Message After Using Python |