SAP ISU_DB_TE421_SELECT_YEARS Function Module for Selects Upper and Lower Limits for Schedule Record in Advance









ISU_DB_TE421_SELECT_YEARS is a standard isu db te421 select years SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Selects Upper and Lower Limits for Schedule Record in Advance 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 db te421 select years FM, simply by entering the name ISU_DB_TE421_SELECT_YEARS into the relevant SAP transaction such as SE37 or SE38.

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



Function ISU_DB_TE421_SELECT_YEARS 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_DB_TE421_SELECT_YEARS'"Selects Upper and Lower Limits for Schedule Record in Advance
EXPORTING
I_ABRDATBR = "
I_ABRDATVR = "

IMPORTING
E_TE421 = "Control Parameters for Scheduling
OGRENZ_ESTIM = "
UGRENZ_ESTIM = "
JAHRES_WERT = "Character Field of Length 10

EXCEPTIONS
GENERAL_FAULT = 1 INCORRECT_DATE = 2 USER_CANCELLED = 3
.



IMPORTING Parameters details for ISU_DB_TE421_SELECT_YEARS

I_ABRDATBR -

Data type: D
Optional: No
Call by Reference: Yes

I_ABRDATVR -

Data type: D
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for ISU_DB_TE421_SELECT_YEARS

E_TE421 - Control Parameters for Scheduling

Data type: TE421
Optional: No
Call by Reference: Yes

OGRENZ_ESTIM -

Data type: CHAR10
Optional: No
Call by Reference: Yes

UGRENZ_ESTIM -

Data type: CHAR10
Optional: No
Call by Reference: Yes

JAHRES_WERT - Character Field of Length 10

Data type: D
Optional: No
Call by Reference: Yes

EXCEPTIONS details

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: Yes

INCORRECT_DATE -

Data type:
Optional: No
Call by Reference: Yes

USER_CANCELLED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_DB_TE421_SELECT_YEARS 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_te421  TYPE TE421, "   
lv_i_abrdatbr  TYPE D, "   
lv_general_fault  TYPE D, "   
lv_i_abrdatvr  TYPE D, "   
lv_ogrenz_estim  TYPE CHAR10, "   
lv_incorrect_date  TYPE CHAR10, "   
lv_ugrenz_estim  TYPE CHAR10, "   
lv_user_cancelled  TYPE CHAR10, "   
lv_jahres_wert  TYPE D. "   

  CALL FUNCTION 'ISU_DB_TE421_SELECT_YEARS'  "Selects Upper and Lower Limits for Schedule Record in Advance
    EXPORTING
         I_ABRDATBR = lv_i_abrdatbr
         I_ABRDATVR = lv_i_abrdatvr
    IMPORTING
         E_TE421 = lv_e_te421
         OGRENZ_ESTIM = lv_ogrenz_estim
         UGRENZ_ESTIM = lv_ugrenz_estim
         JAHRES_WERT = lv_jahres_wert
    EXCEPTIONS
        GENERAL_FAULT = 1
        INCORRECT_DATE = 2
        USER_CANCELLED = 3
. " ISU_DB_TE421_SELECT_YEARS




ABAP code using 7.40 inline data declarations to call FM ISU_DB_TE421_SELECT_YEARS

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.

 
 
 
 
 
 
 
 
 


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!