SAP Function Modules

RKE_PLA_CORE_METHOD_EXEC_GET SAP Function module







RKE_PLA_CORE_METHOD_EXEC_GET 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 RKE_PLA_CORE_METHOD_EXEC_GET into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM RKE_PLA_CORE_METHOD_EXEC_GET - RKE PLA CORE METHOD EXEC GET





CALL FUNCTION 'RKE_PLA_CORE_METHOD_EXEC_GET' "
  EXPORTING
    i_pllev =                   " tkeppllev-pllev
    i_id =                      " tkepplmepah-id
    i_idtxt =                   " tkepplmetht-text
    it_pllevc =                 " keplb_yt_char_sel
    it_seltab =                 " keplb_yt_char_value_sel
  IMPORTING
    et_message =                " rke_yt_pos_mess
    et_object =                 " rke_yt_pos_char
  EXCEPTIONS
    GENERAL_ERROR = 1           "
    .  "  RKE_PLA_CORE_METHOD_EXEC_GET

ABAP code example for Function Module RKE_PLA_CORE_METHOD_EXEC_GET





The ABAP code below is a full code listing to execute function module RKE_PLA_CORE_METHOD_EXEC_GET 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_et_message  TYPE RKE_YT_POS_MESS ,
ld_et_object  TYPE RKE_YT_POS_CHAR .


SELECT single PLLEV
FROM TKEPPLLEV
INTO @DATA(ld_i_pllev).


SELECT single ID
FROM TKEPPLMEPAH
INTO @DATA(ld_i_id).


SELECT single TEXT
FROM TKEPPLMETHT
INTO @DATA(ld_i_idtxt).

DATA(ld_it_pllevc) = 'Check type of data required'.
DATA(ld_it_seltab) = 'Check type of data required'. . CALL FUNCTION 'RKE_PLA_CORE_METHOD_EXEC_GET' EXPORTING i_pllev = ld_i_pllev i_id = ld_i_id i_idtxt = ld_i_idtxt it_pllevc = ld_it_pllevc it_seltab = ld_it_seltab IMPORTING et_message = ld_et_message et_object = ld_et_object EXCEPTIONS GENERAL_ERROR = 1 . " RKE_PLA_CORE_METHOD_EXEC_GET
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_et_message  TYPE RKE_YT_POS_MESS ,
ld_i_pllev  TYPE TKEPPLLEV-PLLEV ,
ld_et_object  TYPE RKE_YT_POS_CHAR ,
ld_i_id  TYPE TKEPPLMEPAH-ID ,
ld_i_idtxt  TYPE TKEPPLMETHT-TEXT ,
ld_it_pllevc  TYPE KEPLB_YT_CHAR_SEL ,
ld_it_seltab  TYPE KEPLB_YT_CHAR_VALUE_SEL .


SELECT single PLLEV
FROM TKEPPLLEV
INTO ld_i_pllev.


SELECT single ID
FROM TKEPPLMEPAH
INTO ld_i_id.


SELECT single TEXT
FROM TKEPPLMETHT
INTO ld_i_idtxt.

ld_it_pllevc = 'Check type of data required'.
ld_it_seltab = 'Check type of data required'.

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 RKE_PLA_CORE_METHOD_EXEC_GET or its description.