CHK_TOR SAP Method Checks TOR on scheduling rules based on planning mpdel









Below is documentation, parameters and attributes of ABAP Method CHK_TOR within SAP class /SCMTMS/CL_AUNIT_CHK_VSS. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMTMS/CL_AUNIT_CHK_VSS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method CHK_TOR can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CHK_TOR

.

NameTypeData TypeDescriptionDefault Value
IS_PLAN_HORIZONImportingTYPE
/SCMTMS/S_DATE_TIME_PERIOD
Date Time period
IT_ACTIVITIES_BETWEEN_TO_CHECKImportingTYPE
TT_ACTIVITIY_BETWEEN
IT_DURATIONS_TO_CHECKImportingTYPE
TT_ACTIVITIY_DURATIONS
IT_SEQUENCE_TO_CHECKImportingTYPE
TT_RES_TOR_SEQUENCE
IT_SET_DATES_TO_CHECKImportingTYPE
/SCMTMS/T_PLN_VSS_DATES
New dates for scheduler
IT_TOR_KEYSImportingTYPE
/BOBF/T_FRW_KEY
Key Table
IV_CALLED_IN_TEST_MODEImportingTYPE
ABAP_BOOL
Indicator whether the method is called from test mode alread
IV_END_TIMEImportingTYPE
/SCMTMS/DATETIME
Date/Time
IV_FLEX_LOADING_TIMESImportingTYPE
ABAP_BOOL
IV_PLAN_PROFILEImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_START_TIMEImportingTYPE
/SCMTMS/DATETIME
Date/Time
IS_PROPERTIES_TO_CHECKImportingTYPE
TY_PROPERTIES_TO_CHECK
EO_MESSAGESExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
ET_MESSAGESExportingTYPE
STRINGTAB
Table with Strings



Exceptions of Method CHK_TOR

This method does not have any exceptions

Example ABAP coding


DATA: lv_EO_MESSAGES TYPE /BOBF/IF_FRW_MESSAGE,
lv_ET_MESSAGES TYPE STRINGTAB,
lv_IS_PLAN_HORIZON TYPE /SCMTMS/S_DATE_TIME_PERIOD,
lv_IT_ACTIVITIES_BETWEEN_TO_CHECK TYPE TT_ACTIVITIY_BETWEEN,
lv_IT_DURATIONS_TO_CHECK TYPE TT_ACTIVITIY_DURATIONS,
lv_IT_SEQUENCE_TO_CHECK TYPE TT_RES_TOR_SEQUENCE,
lv_IT_SET_DATES_TO_CHECK TYPE /SCMTMS/T_PLN_VSS_DATES,
lv_IT_TOR_KEYS TYPE /BOBF/T_FRW_KEY,
lv_IV_CALLED_IN_TEST_MODE TYPE ABAP_BOOL,
lv_IV_END_TIME TYPE /SCMTMS/DATETIME,
lv_IV_FLEX_LOADING_TIMES TYPE ABAP_BOOL,
lv_IV_PLAN_PROFILE TYPE /BOBF/CONF_KEY,
lv_IV_START_TIME TYPE /SCMTMS/DATETIME,
lv_IS_PROPERTIES_TO_CHECK TYPE TY_PROPERTIES_TO_CHECK,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_AUNIT_CHK_VSS=>CHK_TOR(
EXPORTING
IS_PLAN_HORIZON = lv_IS_PLAN_HORIZON
IT_ACTIVITIES_BETWEEN_TO_CHECK = lv_IT_ACTIVITIES_BETWEEN_TO_CHECK
IT_DURATIONS_TO_CHECK = lv_IT_DURATIONS_TO_CHECK
IT_SEQUENCE_TO_CHECK = lv_IT_SEQUENCE_TO_CHECK
IT_SET_DATES_TO_CHECK = lv_IT_SET_DATES_TO_CHECK
IT_TOR_KEYS = lv_IT_TOR_KEYS
IV_CALLED_IN_TEST_MODE = lv_IV_CALLED_IN_TEST_MODE
IV_END_TIME = lv_IV_END_TIME
IV_FLEX_LOADING_TIMES = lv_IV_FLEX_LOADING_TIMES
IV_PLAN_PROFILE = lv_IV_PLAN_PROFILE
IV_START_TIME = lv_IV_START_TIME
IS_PROPERTIES_TO_CHECK = lv_IS_PROPERTIES_TO_CHECK
IMPORTING
EO_MESSAGES = lv_EO_MESSAGES
ET_MESSAGES = lv_ET_MESSAGES ).

Links to Related Class(s)

/SCMTMS/...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!