SAP ISU_CREATE_DYNAMIC_SCHEDULE Function Module for Dynamic Period Control - Change Schedule Records









ISU_CREATE_DYNAMIC_SCHEDULE is a standard isu create dynamic 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 Dynamic Period Control - Change Schedule Records 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 isu create dynamic schedule FM, simply by entering the name ISU_CREATE_DYNAMIC_SCHEDULE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_CREATE_DYNAMIC_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 'ISU_CREATE_DYNAMIC_SCHEDULE'"Dynamic Period Control - Change Schedule Records
EXPORTING
* X_DATE_FROM = "
* X_CHANGE_SUCCESSOR = "
* X_ACTUAL = "
* X_NO_LOCK = "Indicator
* X_DATE_TO = "
* X_IDENT = "Factory Calendar
* X_DATE_SHOULD = "
* X_PORTION = "
* X_RPORTION = "Portion
* X_ABLEINH = "
* X_RABLEINH = "Meter Reading Unit
* X_INITIAL = "

TABLES
* TX_TE417 = "
* TY_TE417_OLD = "
* TY_TE417_NEW = "
* TY_TE417_NEW_OLD = "
* TY_TE418_OLD = "
* TY_TE418_NEW = "
* TY_TE418_NEW_OLD = "Schedule Records: MR Units
* TY_TE423_OLD = "
* TY_TE423_NEW = "

EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 INPUT_ERROR = 3 SYSTEM_ERROR = 4
.



IMPORTING Parameters details for ISU_CREATE_DYNAMIC_SCHEDULE

X_DATE_FROM -

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

X_CHANGE_SUCCESSOR -

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

X_ACTUAL -

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

X_NO_LOCK - Indicator

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

X_DATE_TO -

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

X_IDENT - Factory Calendar

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

X_DATE_SHOULD -

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

X_PORTION -

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

X_RPORTION - Portion

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

X_ABLEINH -

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

X_RABLEINH - Meter Reading Unit

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

X_INITIAL -

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

TABLES Parameters details for ISU_CREATE_DYNAMIC_SCHEDULE

TX_TE417 -

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

TY_TE417_OLD -

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

TY_TE417_NEW -

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

TY_TE417_NEW_OLD -

Data type: TE417
Optional: Yes
Call by Reference: Yes

TY_TE418_OLD -

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

TY_TE418_NEW -

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

TY_TE418_NEW_OLD - Schedule Records: MR Units

Data type: TE418
Optional: Yes
Call by Reference: Yes

TY_TE423_OLD -

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

TY_TE423_NEW -

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

EXCEPTIONS details

NOT_FOUND -

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

FOREIGN_LOCK -

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

INPUT_ERROR -

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

SYSTEM_ERROR -

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

Copy and paste ABAP code example for ISU_CREATE_DYNAMIC_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:
lt_tx_te417  TYPE STANDARD TABLE OF TE417, "   
lv_not_found  TYPE TE417, "   
lv_x_date_from  TYPE TE417-TERMTDAT, "   
lv_x_change_successor  TYPE REGEN-KENNZX, "   
lv_x_actual  TYPE REGEN-ACTUAL, "   
lv_x_no_lock  TYPE KENNZX, "   
lv_x_date_to  TYPE TE417-TERMTDAT, "   
lv_foreign_lock  TYPE TE417, "   
lt_ty_te417_old  TYPE STANDARD TABLE OF TE417, "   
lv_x_ident  TYPE TE417-IDENT, "   
lv_input_error  TYPE TE417, "   
lt_ty_te417_new  TYPE STANDARD TABLE OF TE417, "   
lv_system_error  TYPE TE417, "   
lv_x_date_should  TYPE TE417-TERMTDAT, "   
lt_ty_te417_new_old  TYPE STANDARD TABLE OF TE417, "   
lv_x_portion  TYPE EABLD-PORTION, "   
lt_ty_te418_old  TYPE STANDARD TABLE OF TE418, "   
lv_x_rportion  TYPE EABLD-PORTION, "   
lt_ty_te418_new  TYPE STANDARD TABLE OF TE418, "   
lv_x_ableinh  TYPE EABLD-ABLEINH, "   
lt_ty_te418_new_old  TYPE STANDARD TABLE OF TE418, "   
lv_x_rableinh  TYPE EABLD-ABLEINH, "   
lt_ty_te423_old  TYPE STANDARD TABLE OF TE423, "   
lv_x_initial  TYPE REGEN-KENNZX, "   
lt_ty_te423_new  TYPE STANDARD TABLE OF TE423. "   

  CALL FUNCTION 'ISU_CREATE_DYNAMIC_SCHEDULE'  "Dynamic Period Control - Change Schedule Records
    EXPORTING
         X_DATE_FROM = lv_x_date_from
         X_CHANGE_SUCCESSOR = lv_x_change_successor
         X_ACTUAL = lv_x_actual
         X_NO_LOCK = lv_x_no_lock
         X_DATE_TO = lv_x_date_to
         X_IDENT = lv_x_ident
         X_DATE_SHOULD = lv_x_date_should
         X_PORTION = lv_x_portion
         X_RPORTION = lv_x_rportion
         X_ABLEINH = lv_x_ableinh
         X_RABLEINH = lv_x_rableinh
         X_INITIAL = lv_x_initial
    TABLES
         TX_TE417 = lt_tx_te417
         TY_TE417_OLD = lt_ty_te417_old
         TY_TE417_NEW = lt_ty_te417_new
         TY_TE417_NEW_OLD = lt_ty_te417_new_old
         TY_TE418_OLD = lt_ty_te418_old
         TY_TE418_NEW = lt_ty_te418_new
         TY_TE418_NEW_OLD = lt_ty_te418_new_old
         TY_TE423_OLD = lt_ty_te423_old
         TY_TE423_NEW = lt_ty_te423_new
    EXCEPTIONS
        NOT_FOUND = 1
        FOREIGN_LOCK = 2
        INPUT_ERROR = 3
        SYSTEM_ERROR = 4
. " ISU_CREATE_DYNAMIC_SCHEDULE




ABAP code using 7.40 inline data declarations to call FM ISU_CREATE_DYNAMIC_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 TERMTDAT FROM TE417 INTO @DATA(ld_x_date_from).
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_change_successor).
 
"SELECT single ACTUAL FROM REGEN INTO @DATA(ld_x_actual).
 
 
"SELECT single TERMTDAT FROM TE417 INTO @DATA(ld_x_date_to).
 
 
 
"SELECT single IDENT FROM TE417 INTO @DATA(ld_x_ident).
 
 
 
 
"SELECT single TERMTDAT FROM TE417 INTO @DATA(ld_x_date_should).
 
 
"SELECT single PORTION FROM EABLD INTO @DATA(ld_x_portion).
 
 
"SELECT single PORTION FROM EABLD INTO @DATA(ld_x_rportion).
 
 
"SELECT single ABLEINH FROM EABLD INTO @DATA(ld_x_ableinh).
 
 
"SELECT single ABLEINH FROM EABLD INTO @DATA(ld_x_rableinh).
 
 
"SELECT single KENNZX FROM REGEN INTO @DATA(ld_x_initial).
 
 


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!