SAP REMD_IMKEY_TO_EMPGE Function Module for









REMD_IMKEY_TO_EMPGE is a standard remd imkey to empge 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 remd imkey to empge FM, simply by entering the name REMD_IMKEY_TO_EMPGE into the relevant SAP transaction such as SE37 or SE38.

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



Function REMD_IMKEY_TO_EMPGE 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 'REMD_IMKEY_TO_EMPGE'"
EXPORTING
I_IMKEY = "
* I_DABRZ = "
* I_LENGTH = "
* I_BUKRS = "

IMPORTING
E_EMPGE = "
E_TEXT = "Object Text
E_KONTY = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for REMD_IMKEY_TO_EMPGE

I_IMKEY -

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

I_DABRZ -

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

I_LENGTH -

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

I_BUKRS -

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

EXPORTING Parameters details for REMD_IMKEY_TO_EMPGE

E_EMPGE -

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

E_TEXT - Object Text

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

E_KONTY -

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

EXCEPTIONS details

NOT_FOUND - Object Not Found

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

Copy and paste ABAP code example for REMD_IMKEY_TO_EMPGE 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_empge  TYPE DKOBR-EMPGE, "   
lv_i_imkey  TYPE COBL-IMKEY, "   
lv_not_found  TYPE COBL, "   
lv_e_text  TYPE COBL, "   
lv_i_dabrz  TYPE COBL-DABRZ, "   
lv_e_konty  TYPE COBRB-KONTY, "   
lv_i_length  TYPE I, "   
lv_i_bukrs  TYPE COBL-BUKRS. "   

  CALL FUNCTION 'REMD_IMKEY_TO_EMPGE'  "
    EXPORTING
         I_IMKEY = lv_i_imkey
         I_DABRZ = lv_i_dabrz
         I_LENGTH = lv_i_length
         I_BUKRS = lv_i_bukrs
    IMPORTING
         E_EMPGE = lv_e_empge
         E_TEXT = lv_e_text
         E_KONTY = lv_e_konty
    EXCEPTIONS
        NOT_FOUND = 1
. " REMD_IMKEY_TO_EMPGE




ABAP code using 7.40 inline data declarations to call FM REMD_IMKEY_TO_EMPGE

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 EMPGE FROM DKOBR INTO @DATA(ld_e_empge).
 
"SELECT single IMKEY FROM COBL INTO @DATA(ld_i_imkey).
 
 
 
"SELECT single DABRZ FROM COBL INTO @DATA(ld_i_dabrz).
 
"SELECT single KONTY FROM COBRB INTO @DATA(ld_e_konty).
 
 
"SELECT single BUKRS FROM COBL INTO @DATA(ld_i_bukrs).
 


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!