ESTIMATE_TIME_INTERVAL SAP Method Estimate Transportation Period on Basis of Start or End Time
Below is documentation, parameters and attributes of ABAP Method ESTIMATE_TIME_INTERVAL within SAP class /SCTM/CL_LANE. 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 /SCTM/CL_LANE 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 directlyThe following technical details of method ESTIMATE_TIME_INTERVAL can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ESTIMATE_TIME_INTERVAL
.| Name | Type | Data Type | Description | Default Value |
| IV_DIRECTION | Importing | TYPE /SCMB/DE_SCHD_DIRECTION | Direction into Which the Validity Period Extends | |
| IV_DURATION | Importing | TYPE INT4 | Natural number | |
| IV_TIME_FROM | Importing | TYPE /SCMB/DE_TIMESTAMP | Validity time | |
| EV_TIME_END | Exporting | TYPE /SCMB/DE_TIMESTAMP | End of Validity Period | |
| EV_TIME_START | Exporting | TYPE /SCMB/DE_TIMESTAMP | Start of Validity Period |
Exceptions of Method ESTIMATE_TIME_INTERVAL
/SCTM/CX_TM_RG_CODE - Internal Programming Error in Routing GuideExample ABAP coding
DATA: lv_EV_TIME_END TYPE /SCMB/DE_TIMESTAMP,
lv_EV_TIME_START TYPE /SCMB/DE_TIMESTAMP,
lv_IV_DIRECTION TYPE /SCMB/DE_SCHD_DIRECTION,
lv_IV_DURATION TYPE INT4,
lv_IV_TIME_FROM TYPE /SCMB/DE_TIMESTAMP,
lv_other TYPE c.
CALL METHOD /SCTM/CL_LANE=>ESTIMATE_TIME_INTERVAL(
EXPORTING
IV_DIRECTION = lv_IV_DIRECTION
IV_DURATION = lv_IV_DURATION
IV_TIME_FROM = lv_IV_TIME_FROM
IMPORTING
EV_TIME_END = lv_EV_TIME_END
EV_TIME_START = lv_EV_TIME_START ).
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects