On Source / Destination location IDs in TOR conditions
Using Source/destination location IDs as input for conditions in the TOR-context makes a lot of sense. However there are situations where the location_id field of the stop is not yet filled, e.g. in after created based conditions like the TOR-Type determination or the org unit determination. For those cases you can use the following two data access classes:
/SCMTMS/CL_COND_DAD_TORLOCIDFR for source location
/SCMTMS/CL_COND_DAD_TORLOCIDTO for target location
A data access definition could look like this:
This makes sure the location ID is always returned, independent if the location ID has already been filled based on the location key or not, also if the first/last stop indicator has been determined or not.
The classes are coming with note 2667907.