Skip to Content
Author's profile photo Bernd Dittrich

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.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Anton Karnaukhov
      Anton Karnaukhov

      Hello, Bernd.  The note is 2667907 (not ...9).  Cheers.