SAP ENHI_LB08_ENVC_KEY_ENCODE Function Module for









ENHI_LB08_ENVC_KEY_ENCODE is a standard enhi lb08 envc key encode SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 enhi lb08 envc key encode FM, simply by entering the name ENHI_LB08_ENVC_KEY_ENCODE into the relevant SAP transaction such as SE37 or SE38.

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



Function ENHI_LB08_ENVC_KEY_ENCODE 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 'ENHI_LB08_ENVC_KEY_ENCODE'"
EXPORTING
* I_WADOPLANT = "
I_WADOOBJECT = "

IMPORTING
E_WADOTYPE = "
E_WADONR = "

EXCEPTIONS
STRING_TOO_LONG = 1
.



IMPORTING Parameters details for ENHI_LB08_ENVC_KEY_ENCODE

I_WADOPLANT -

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

I_WADOOBJECT -

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

EXPORTING Parameters details for ENHI_LB08_ENVC_KEY_ENCODE

E_WADOTYPE -

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

E_WADONR -

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

EXCEPTIONS details

STRING_TOO_LONG -

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

Copy and paste ABAP code example for ENHI_LB08_ENVC_KEY_ENCODE 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_wadotype  TYPE CCIHS_WADOIOT-WADOTYPE, "   
lv_i_wadoplant  TYPE CCIHS_WAHIOT-WAPLANT, "   
lv_string_too_long  TYPE CCIHS_WAHIOT, "   
lv_e_wadonr  TYPE CCIHS_WADOIOT-WADONR, "   
lv_i_wadoobject  TYPE CCIHS_WADOIOT-WADONR. "   

  CALL FUNCTION 'ENHI_LB08_ENVC_KEY_ENCODE'  "
    EXPORTING
         I_WADOPLANT = lv_i_wadoplant
         I_WADOOBJECT = lv_i_wadoobject
    IMPORTING
         E_WADOTYPE = lv_e_wadotype
         E_WADONR = lv_e_wadonr
    EXCEPTIONS
        STRING_TOO_LONG = 1
. " ENHI_LB08_ENVC_KEY_ENCODE




ABAP code using 7.40 inline data declarations to call FM ENHI_LB08_ENVC_KEY_ENCODE

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 WADOTYPE FROM CCIHS_WADOIOT INTO @DATA(ld_e_wadotype).
 
"SELECT single WAPLANT FROM CCIHS_WAHIOT INTO @DATA(ld_i_wadoplant).
 
 
"SELECT single WADONR FROM CCIHS_WADOIOT INTO @DATA(ld_e_wadonr).
 
"SELECT single WADONR FROM CCIHS_WADOIOT INTO @DATA(ld_i_wadoobject).
 


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!