Exception 3

If you require not to merge routings when there are differences in effective from quantities, generate separate routing for each distinct set of effective from quantities. For example:
  • If SZ_ROUTING_VERSION_MAP.routing_qty_process_flag is set to Y, compare the effective from quantities among the routings that have the same routing item, routing location, and effective from date.
  • If there are differences in effective from quantities, the new version value is generated based on a concatenation of the following:
    • SZ_ROUTING_VERSION_MAP.routing_qty_version_value.
    • If SZ_ROUTING_VERSION_MAP.routing_qty_column_name is specified, the value of the specified column in SC_ROUTING for the current record.
    • If SZ_ROUTING_VERSION_MAP.routing_qty_sequence_length is specified, a generated sequence number across the number of different effective from quantities using the specified length.
    Note: "-" is used as a separator when concatenating the parts.
  • If SZ_ROUTING_VERSION_MAP.use_global_sequence_flag is set to Y, create a global sequence number (starting from 1) across all differences that are identified. In this case, do not consider the version value specifications per exception and use <new version value> = <global sequence value>.