SAP CX_MOVE_TIME_SCHEDULE Function Module for NOTRANSL: Termine für den Transport ermitteln









CX_MOVE_TIME_SCHEDULE is a standard cx move time schedule SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Termine für den Transport ermitteln processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for cx move time schedule FM, simply by entering the name CX_MOVE_TIME_SCHEDULE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CXTK
Program Name: SAPLCXTK
Main Program: SAPLCXTK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CX_MOVE_TIME_SCHEDULE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CX_MOVE_TIME_SCHEDULE'"NOTRANSL: Termine für den Transport ermitteln
EXPORTING
I_POINT_IN_TIME = "
I_ARBID_NCH = "Object ID
* I_T001W_FABKL = ' ' "Key for Factory Calendar
T499R_IMP = "'Reduction Levels for Reduction Strategies'
* I_FLG_NO_CALENDAR = ' ' "
* I_FLG_EXACT_BREAKS = "Indicator: Scheduling Allowing for Breaks
* I_FLG_PROTOCOL = 'X' "
* I_MOVE_TIME = 0 "Standard Move Time
* I_MOVE_TIME_MIN = 0 "Minimum Move Time
* I_MOVE_TIME_MIN_U = ' ' "Unit for the minimum move time
* I_MOVE_TIME_U = ' ' "Unit for the standard move time
* I_MOVE_TIME_U_EXP = ' ' "Unit of Meas.
* I_FLG_FORWARD = ' ' "
* I_POINT_IN_TIME_2 = 0 "
I_ARBID_VOR = "Object ID

IMPORTING
E_MOVE_TIME = "Transp. Time
E_MOVE_TIME_U = "UoM for Move Time
E_MOVE_TIME_VALUE = "
E_POINT_IN_TIME_1 = "
E_POINT_IN_TIME_2 = "
.



IMPORTING Parameters details for CX_MOVE_TIME_SCHEDULE

I_POINT_IN_TIME -

Data type: CX_POINT_IN_TIME
Optional: No
Call by Reference: No ( called with pass by value option)

I_ARBID_NCH - Object ID

Data type: RCR01-ARBID
Optional: No
Call by Reference: No ( called with pass by value option)

I_T001W_FABKL - Key for Factory Calendar

Data type: T001W-FABKL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

T499R_IMP - 'Reduction Levels for Reduction Strategies'

Data type: T499R
Optional: No
Call by Reference: No ( called with pass by value option)

I_FLG_NO_CALENDAR -

Data type: CX_BOOL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_EXACT_BREAKS - Indicator: Scheduling Allowing for Breaks

Data type: CAUFVD-BREAKS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_PROTOCOL -

Data type: CX_BOOL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MOVE_TIME - Standard Move Time

Data type: AFVV-ZTNOR
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MOVE_TIME_MIN - Minimum Move Time

Data type: AFVV-ZTMIN
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MOVE_TIME_MIN_U - Unit for the minimum move time

Data type: AFVV-ZEITM
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MOVE_TIME_U - Unit for the standard move time

Data type: AFVV-ZEITN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MOVE_TIME_U_EXP - Unit of Meas.

Data type: T006-MSEHI
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_FORWARD -

Data type: CX_BOOL
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_POINT_IN_TIME_2 -

Data type: CX_POINT_IN_TIME
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ARBID_VOR - Object ID

Data type: RCR01-ARBID
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CX_MOVE_TIME_SCHEDULE

E_MOVE_TIME - Transp. Time

Data type: CXZEIT-TRANSP
Optional: No
Call by Reference: No ( called with pass by value option)

E_MOVE_TIME_U - UoM for Move Time

Data type: CXZEIT-TRAZE
Optional: No
Call by Reference: No ( called with pass by value option)

E_MOVE_TIME_VALUE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

E_POINT_IN_TIME_1 -

Data type: CX_POINT_IN_TIME
Optional: No
Call by Reference: No ( called with pass by value option)

E_POINT_IN_TIME_2 -

Data type: CX_POINT_IN_TIME
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CX_MOVE_TIME_SCHEDULE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_e_move_time  TYPE CXZEIT-TRANSP, "   
lv_i_point_in_time  TYPE CX_POINT_IN_TIME, "   
lv_i_arbid_nch  TYPE RCR01-ARBID, "   
lv_i_t001w_fabkl  TYPE T001W-FABKL, "   SPACE
lv_t499r_imp  TYPE T499R, "   
lv_i_flg_no_calendar  TYPE CX_BOOL, "   SPACE
lv_i_flg_exact_breaks  TYPE CAUFVD-BREAKS, "   
lv_i_flg_protocol  TYPE CX_BOOL, "   'X'
lv_i_move_time  TYPE AFVV-ZTNOR, "   0
lv_e_move_time_u  TYPE CXZEIT-TRAZE, "   
lv_i_move_time_min  TYPE AFVV-ZTMIN, "   0
lv_e_move_time_value  TYPE AFVV, "   
lv_e_point_in_time_1  TYPE CX_POINT_IN_TIME, "   
lv_i_move_time_min_u  TYPE AFVV-ZEITM, "   SPACE
lv_i_move_time_u  TYPE AFVV-ZEITN, "   SPACE
lv_e_point_in_time_2  TYPE CX_POINT_IN_TIME, "   
lv_i_move_time_u_exp  TYPE T006-MSEHI, "   SPACE
lv_i_flg_forward  TYPE CX_BOOL, "   SPACE
lv_i_point_in_time_2  TYPE CX_POINT_IN_TIME, "   0
lv_i_arbid_vor  TYPE RCR01-ARBID. "   

  CALL FUNCTION 'CX_MOVE_TIME_SCHEDULE'  "NOTRANSL: Termine für den Transport ermitteln
    EXPORTING
         I_POINT_IN_TIME = lv_i_point_in_time
         I_ARBID_NCH = lv_i_arbid_nch
         I_T001W_FABKL = lv_i_t001w_fabkl
         T499R_IMP = lv_t499r_imp
         I_FLG_NO_CALENDAR = lv_i_flg_no_calendar
         I_FLG_EXACT_BREAKS = lv_i_flg_exact_breaks
         I_FLG_PROTOCOL = lv_i_flg_protocol
         I_MOVE_TIME = lv_i_move_time
         I_MOVE_TIME_MIN = lv_i_move_time_min
         I_MOVE_TIME_MIN_U = lv_i_move_time_min_u
         I_MOVE_TIME_U = lv_i_move_time_u
         I_MOVE_TIME_U_EXP = lv_i_move_time_u_exp
         I_FLG_FORWARD = lv_i_flg_forward
         I_POINT_IN_TIME_2 = lv_i_point_in_time_2
         I_ARBID_VOR = lv_i_arbid_vor
    IMPORTING
         E_MOVE_TIME = lv_e_move_time
         E_MOVE_TIME_U = lv_e_move_time_u
         E_MOVE_TIME_VALUE = lv_e_move_time_value
         E_POINT_IN_TIME_1 = lv_e_point_in_time_1
         E_POINT_IN_TIME_2 = lv_e_point_in_time_2
. " CX_MOVE_TIME_SCHEDULE




ABAP code using 7.40 inline data declarations to call FM CX_MOVE_TIME_SCHEDULE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single TRANSP FROM CXZEIT INTO @DATA(ld_e_move_time).
 
 
"SELECT single ARBID FROM RCR01 INTO @DATA(ld_i_arbid_nch).
 
"SELECT single FABKL FROM T001W INTO @DATA(ld_i_t001w_fabkl).
DATA(ld_i_t001w_fabkl) = ' '.
 
 
DATA(ld_i_flg_no_calendar) = ' '.
 
"SELECT single BREAKS FROM CAUFVD INTO @DATA(ld_i_flg_exact_breaks).
 
DATA(ld_i_flg_protocol) = 'X'.
 
"SELECT single ZTNOR FROM AFVV INTO @DATA(ld_i_move_time).
 
"SELECT single TRAZE FROM CXZEIT INTO @DATA(ld_e_move_time_u).
 
"SELECT single ZTMIN FROM AFVV INTO @DATA(ld_i_move_time_min).
 
 
 
"SELECT single ZEITM FROM AFVV INTO @DATA(ld_i_move_time_min_u).
DATA(ld_i_move_time_min_u) = ' '.
 
"SELECT single ZEITN FROM AFVV INTO @DATA(ld_i_move_time_u).
DATA(ld_i_move_time_u) = ' '.
 
 
"SELECT single MSEHI FROM T006 INTO @DATA(ld_i_move_time_u_exp).
DATA(ld_i_move_time_u_exp) = ' '.
 
DATA(ld_i_flg_forward) = ' '.
 
 
"SELECT single ARBID FROM RCR01 INTO @DATA(ld_i_arbid_vor).
 


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!