Anyone has any idea on how to delete part of a segment that is not needed. The obx segment is usually very long and the receiving vendor only one Line 1 to 10 and delete everything else.
If you have more than 10 OBX’s and you only want to send OBX|1 through OBX|10, then you can use a list variable in your iteration over the OBX segments instead of the the segment variable. Set it up as:
Type = list
Basis = 0 1 2 3 4 5 6 7 8 9
Variable = %l1
Just place your %l1 variable where you would normally put the %s1 iteration variable. If your OBX segments are part of a group, then don’t forget the %g1 iteration variable in your path.