SAP AD33EV_01_SELECT_GP_VERSION_EV Function Module for select the group prg version









AD33EV_01_SELECT_GP_VERSION_EV is a standard ad33ev 01 select gp version ev SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for select the group prg version 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 ad33ev 01 select gp version ev FM, simply by entering the name AD33EV_01_SELECT_GP_VERSION_EV into the relevant SAP transaction such as SE37 or SE38.

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



Function AD33EV_01_SELECT_GP_VERSION_EV 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 'AD33EV_01_SELECT_GP_VERSION_EV'"select the group prg version
EXPORTING
I_KOKRS = "
I_VERSN_EV_GP = "
* I_TEXT = ' ' "

IMPORTING
E_EVVSGP = "
E_EVVSGPT = "

EXCEPTIONS
VERSN_EV_GP_NOT_FOUND = 1
.



IMPORTING Parameters details for AD33EV_01_SELECT_GP_VERSION_EV

I_KOKRS -

Data type: EVVSGP-KOKRS
Optional: No
Call by Reference: Yes

I_VERSN_EV_GP -

Data type: EVVSGP-VERSN_EV_GP
Optional: No
Call by Reference: Yes

I_TEXT -

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

EXPORTING Parameters details for AD33EV_01_SELECT_GP_VERSION_EV

E_EVVSGP -

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

E_EVVSGPT -

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

EXCEPTIONS details

VERSN_EV_GP_NOT_FOUND -

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

Copy and paste ABAP code example for AD33EV_01_SELECT_GP_VERSION_EV 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_i_kokrs  TYPE EVVSGP-KOKRS, "   
lv_e_evvsgp  TYPE EVVSGP, "   
lv_versn_ev_gp_not_found  TYPE EVVSGP, "   
lv_e_evvsgpt  TYPE EVVSGPT, "   
lv_i_versn_ev_gp  TYPE EVVSGP-VERSN_EV_GP, "   
lv_i_text  TYPE SY-BATCH. "   SPACE

  CALL FUNCTION 'AD33EV_01_SELECT_GP_VERSION_EV'  "select the group prg version
    EXPORTING
         I_KOKRS = lv_i_kokrs
         I_VERSN_EV_GP = lv_i_versn_ev_gp
         I_TEXT = lv_i_text
    IMPORTING
         E_EVVSGP = lv_e_evvsgp
         E_EVVSGPT = lv_e_evvsgpt
    EXCEPTIONS
        VERSN_EV_GP_NOT_FOUND = 1
. " AD33EV_01_SELECT_GP_VERSION_EV




ABAP code using 7.40 inline data declarations to call FM AD33EV_01_SELECT_GP_VERSION_EV

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 KOKRS FROM EVVSGP INTO @DATA(ld_i_kokrs).
 
 
 
 
"SELECT single VERSN_EV_GP FROM EVVSGP INTO @DATA(ld_i_versn_ev_gp).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_i_text).
DATA(ld_i_text) = ' '.
 


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!