SAP SUBST_EVAL_DELIVERY_RANGE Function Module for Provides a Description of Delivery Contents of an Upgrade









SUBST_EVAL_DELIVERY_RANGE is a standard subst eval delivery range SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Provides a Description of Delivery Contents of an Upgrade 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 subst eval delivery range FM, simply by entering the name SUBST_EVAL_DELIVERY_RANGE into the relevant SAP transaction such as SE37 or SE38.

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



Function SUBST_EVAL_DELIVERY_RANGE 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 'SUBST_EVAL_DELIVERY_RANGE'"Provides a Description of Delivery Contents of an Upgrade
EXPORTING
* IV_DELIVIN = ' ' "Vorgegebene Auslieferungs-Einheit
* IV_STARTREL = ' ' "Vorgegebenes Startrelease
* IV_TARGETREL = ' ' "Vorgegebenes Zielrelease

IMPORTING
EV_MAPNAME = "Name der Auslieferungs-Einheit
EV_STARTREL = "Basis-Startrelease des Upgrades
EV_STARTREL_LONG = "Startrelease für TODIR-Berechnungen
EV_TARGETREL = "Basis-Zielrelease des Upgrades
EV_TARGETREL_LONG = "Zielrelease für TODIR-Berechnungen
EV_RELMAP = "Bitmaske für den Auslieferungsumfang

EXCEPTIONS
NO_DELIVERY_FOUND = 1
.



IMPORTING Parameters details for SUBST_EVAL_DELIVERY_RANGE

IV_DELIVIN - Vorgegebene Auslieferungs-Einheit

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

IV_STARTREL - Vorgegebenes Startrelease

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

IV_TARGETREL - Vorgegebenes Zielrelease

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

EXPORTING Parameters details for SUBST_EVAL_DELIVERY_RANGE

EV_MAPNAME - Name der Auslieferungs-Einheit

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

EV_STARTREL - Basis-Startrelease des Upgrades

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

EV_STARTREL_LONG - Startrelease für TODIR-Berechnungen

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

EV_TARGETREL - Basis-Zielrelease des Upgrades

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

EV_TARGETREL_LONG - Zielrelease für TODIR-Berechnungen

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

EV_RELMAP - Bitmaske für den Auslieferungsumfang

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

EXCEPTIONS details

NO_DELIVERY_FOUND - Keine Auslieferung gefunden

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

Copy and paste ABAP code example for SUBST_EVAL_DELIVERY_RANGE 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_ev_mapname  TYPE RELEASEMAP-MAPNAME, "   
lv_iv_delivin  TYPE RELEASEMAP-MAPNAME, "   SPACE
lv_no_delivery_found  TYPE RELEASEMAP, "   
lv_ev_startrel  TYPE UVERS-OLDRELEASE, "   
lv_iv_startrel  TYPE UVERS-OLDRELEASE, "   SPACE
lv_iv_targetrel  TYPE UVERS-NEWRELEASE, "   SPACE
lv_ev_startrel_long  TYPE RELEASEMAP-SAPRELEASE, "   
lv_ev_targetrel  TYPE UVERS-NEWRELEASE, "   
lv_ev_targetrel_long  TYPE RELEASEMAP-SAPRELEASE, "   
lv_ev_relmap  TYPE TODIR-RELMAP. "   

  CALL FUNCTION 'SUBST_EVAL_DELIVERY_RANGE'  "Provides a Description of Delivery Contents of an Upgrade
    EXPORTING
         IV_DELIVIN = lv_iv_delivin
         IV_STARTREL = lv_iv_startrel
         IV_TARGETREL = lv_iv_targetrel
    IMPORTING
         EV_MAPNAME = lv_ev_mapname
         EV_STARTREL = lv_ev_startrel
         EV_STARTREL_LONG = lv_ev_startrel_long
         EV_TARGETREL = lv_ev_targetrel
         EV_TARGETREL_LONG = lv_ev_targetrel_long
         EV_RELMAP = lv_ev_relmap
    EXCEPTIONS
        NO_DELIVERY_FOUND = 1
. " SUBST_EVAL_DELIVERY_RANGE




ABAP code using 7.40 inline data declarations to call FM SUBST_EVAL_DELIVERY_RANGE

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 MAPNAME FROM RELEASEMAP INTO @DATA(ld_ev_mapname).
 
"SELECT single MAPNAME FROM RELEASEMAP INTO @DATA(ld_iv_delivin).
DATA(ld_iv_delivin) = ' '.
 
 
"SELECT single OLDRELEASE FROM UVERS INTO @DATA(ld_ev_startrel).
 
"SELECT single OLDRELEASE FROM UVERS INTO @DATA(ld_iv_startrel).
DATA(ld_iv_startrel) = ' '.
 
"SELECT single NEWRELEASE FROM UVERS INTO @DATA(ld_iv_targetrel).
DATA(ld_iv_targetrel) = ' '.
 
"SELECT single SAPRELEASE FROM RELEASEMAP INTO @DATA(ld_ev_startrel_long).
 
"SELECT single NEWRELEASE FROM UVERS INTO @DATA(ld_ev_targetrel).
 
"SELECT single SAPRELEASE FROM RELEASEMAP INTO @DATA(ld_ev_targetrel_long).
 
"SELECT single RELMAP FROM TODIR INTO @DATA(ld_ev_relmap).
 


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!