How to use attribute-based import time delay

With SmartChange Transport Management there is an option to postpone the import of specific transport requests per transport level based on attributes for time and date.

This can be handy for example if you want to avoid that certain transports are imported within the regular working hours.

Instructions

To use this function. Please follow these steps:

 

  1. Maintain one entry per transport level in table /RTC/TM_IMP_LEVL for import date and import time (SE16):

    1. Example:

       

  2. Define two TM Attributes per transport level and assign it to the desired TM Project / destinations.

    1. TM → Project Manager → Attributes → Definition → TM-Attributes:

       

    2. Create two new TM Attributes and enter the names used in table /RTC/TM_IMP_LEVL, a description, and use type ‘TEXT':

       

    3. Assign the TM Attributes to the desired TM Project / destinations:

       

    4. Repeat for other transport levels.

  3. Optional: Assign the function modules to the following user exits:

Type

Function

Description

AFTER_ADD2_WF

/RTC/TM_UEX1_AFTER_ADD2_WF

Sets the initial date and time to high time stamp (default: no import until time is set manually).

BEFORE_ATTRIBUTE_CHANGE

/RTC/TM_UEX1_BEF_ATTR_CHANGE

This function module is a prestep to save old attribute values. It allows to check later, if values were changed.

TM_ALL_ATTRIB_VALUES

/RTC/TM_UEX1_TM_ATTRIB_VALUES

Checks the entered import time for validity and if the import time is in the future.

TM_DYNP_ATTRIB_VALUES

/RTC/TM_UEX1_TM_DYNP_ATTRIB_V

Provides a calendar widget for easy input of date.

Function modules are available starting with SP5 Hotfix 02