SAP Function Modules

L_GET_EXIDV_FOR_DUMMY_LE SAP Function module







L_GET_EXIDV_FOR_DUMMY_LE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name L_GET_EXIDV_FOR_DUMMY_LE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: LHUM
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM L_GET_EXIDV_FOR_DUMMY_LE - L GET EXIDV FOR DUMMY LE





CALL FUNCTION 'L_GET_EXIDV_FOR_DUMMY_LE' "
  EXPORTING
    if_magrv =                  " tervh-magrv
    if_werks =                  " ltap-werks
    if_lgort =                  " ltap-lgort
  IMPORTING
    of_exidv =                  " vekp-exidv
    .  "  L_GET_EXIDV_FOR_DUMMY_LE

ABAP code example for Function Module L_GET_EXIDV_FOR_DUMMY_LE





The ABAP code below is a full code listing to execute function module L_GET_EXIDV_FOR_DUMMY_LE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_of_exidv  TYPE VEKP-EXIDV .


SELECT single MAGRV
FROM TERVH
INTO @DATA(ld_if_magrv).


SELECT single WERKS
FROM LTAP
INTO @DATA(ld_if_werks).


SELECT single LGORT
FROM LTAP
INTO @DATA(ld_if_lgort).
. CALL FUNCTION 'L_GET_EXIDV_FOR_DUMMY_LE' EXPORTING if_magrv = ld_if_magrv if_werks = ld_if_werks if_lgort = ld_if_lgort IMPORTING of_exidv = ld_of_exidv . " L_GET_EXIDV_FOR_DUMMY_LE
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_of_exidv  TYPE VEKP-EXIDV ,
ld_if_magrv  TYPE TERVH-MAGRV ,
ld_if_werks  TYPE LTAP-WERKS ,
ld_if_lgort  TYPE LTAP-LGORT .


SELECT single MAGRV
FROM TERVH
INTO ld_if_magrv.


SELECT single WERKS
FROM LTAP
INTO ld_if_werks.


SELECT single LGORT
FROM LTAP
INTO ld_if_lgort.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name L_GET_EXIDV_FOR_DUMMY_LE or its description.