SAP SUBST_GET_UVERS Function Module for Baustein zum Lesen eines oder aller UVERS-Eintraege









SUBST_GET_UVERS is a standard subst get uvers SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Baustein zum Lesen eines oder aller UVERS-Eintraege 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 get uvers FM, simply by entering the name SUBST_GET_UVERS into the relevant SAP transaction such as SE37 or SE38.

Function Group: SUGI
Program Name: SAPLSUGI
Main Program: SAPLSUGI
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function SUBST_GET_UVERS 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_GET_UVERS'"Baustein zum Lesen eines oder aller UVERS-Eintraege
EXPORTING
* IV_COMPONENT = 'SAP_BASIS' "Zielrelease (=Schluessel). Bei ' ' kommt alles
* IV_DESTVERS = ' ' "Zielrelease (=Schluessel). Bei ' ' kommt alles

TABLES
TT_UVERS = "Tabelle UVERS mit selektierten Saetzen

EXCEPTIONS
NO_ENTRY_FOUND = 1
.



IMPORTING Parameters details for SUBST_GET_UVERS

IV_COMPONENT - Zielrelease (=Schluessel). Bei SPACE kommt alles

Data type: UVERS-COMPONENT
Default: 'SAP_BASIS'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_DESTVERS - Zielrelease (=Schluessel). Bei SPACE kommt alles

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

TABLES Parameters details for SUBST_GET_UVERS

TT_UVERS - Tabelle UVERS mit selektierten Saetzen

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

EXCEPTIONS details

NO_ENTRY_FOUND - Es gibt keinen UVERS-Eintrag zum Schluessel

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

Copy and paste ABAP code example for SUBST_GET_UVERS 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_tt_uvers  TYPE STANDARD TABLE OF UVERS, "   
lv_iv_component  TYPE UVERS-COMPONENT, "   'SAP_BASIS'
lv_no_entry_found  TYPE UVERS, "   
lv_iv_destvers  TYPE UVERS-NEWRELEASE. "   SPACE

  CALL FUNCTION 'SUBST_GET_UVERS'  "Baustein zum Lesen eines oder aller UVERS-Eintraege
    EXPORTING
         IV_COMPONENT = lv_iv_component
         IV_DESTVERS = lv_iv_destvers
    TABLES
         TT_UVERS = lt_tt_uvers
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
. " SUBST_GET_UVERS




ABAP code using 7.40 inline data declarations to call FM SUBST_GET_UVERS

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 COMPONENT FROM UVERS INTO @DATA(ld_iv_component).
DATA(ld_iv_component) = 'SAP_BASIS'.
 
 
"SELECT single NEWRELEASE FROM UVERS INTO @DATA(ld_iv_destvers).
DATA(ld_iv_destvers) = ' '.
 


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!