SAP CIF_IMOD_RETRIEVE_GENKEY Function Module for NOTRANSL: Ermittelt zu einem Modell die Filterobjekte mit generischen Typ









CIF_IMOD_RETRIEVE_GENKEY is a standard cif imod retrieve genkey SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ermittelt zu einem Modell die Filterobjekte mit generischen Typ 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 cif imod retrieve genkey FM, simply by entering the name CIF_IMOD_RETRIEVE_GENKEY into the relevant SAP transaction such as SE37 or SE38.

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



Function CIF_IMOD_RETRIEVE_GENKEY 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 'CIF_IMOD_RETRIEVE_GENKEY'"NOTRANSL: Ermittelt zu einem Modell die Filterobjekte mit generischen Typ
EXPORTING
IV_MODELNAME = "Integration Model Name for APO Interface
IV_LOGSYS = "Logical system
IV_APOAPP = "Name of APO Application
IV_CRDATE = "Created On
IV_CRTIME = "Calendar: Creation or change time
IV_IMTYP = "Filter Object Type for Which Runtime Version is Generated

TABLES
OT_GENKEY = "Generic Structure for Filter Object Keys

EXCEPTIONS
ERROR_UNKNOWN_IMTYP = 1
.



IMPORTING Parameters details for CIF_IMOD_RETRIEVE_GENKEY

IV_MODELNAME - Integration Model Name for APO Interface

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

IV_LOGSYS - Logical system

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

IV_APOAPP - Name of APO Application

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

IV_CRDATE - Created On

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

IV_CRTIME - Calendar: Creation or change time

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

IV_IMTYP - Filter Object Type for Which Runtime Version is Generated

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

TABLES Parameters details for CIF_IMOD_RETRIEVE_GENKEY

OT_GENKEY - Generic Structure for Filter Object Keys

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

EXCEPTIONS details

ERROR_UNKNOWN_IMTYP -

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

Copy and paste ABAP code example for CIF_IMOD_RETRIEVE_GENKEY 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:
lt_ot_genkey  TYPE STANDARD TABLE OF CIF_GENKEY, "   
lv_iv_modelname  TYPE CIF_IMOD-MODELNAME, "   
lv_error_unknown_imtyp  TYPE CIF_IMOD, "   
lv_iv_logsys  TYPE CIF_IMOD-LOGSYS, "   
lv_iv_apoapp  TYPE CIF_IMOD-APOAPP, "   
lv_iv_crdate  TYPE CIF_IMOD-CRDATE, "   
lv_iv_crtime  TYPE CIF_IMOD-CRTIME, "   
lv_iv_imtyp  TYPE CIF_IMOD-IMTYP. "   

  CALL FUNCTION 'CIF_IMOD_RETRIEVE_GENKEY'  "NOTRANSL: Ermittelt zu einem Modell die Filterobjekte mit generischen Typ
    EXPORTING
         IV_MODELNAME = lv_iv_modelname
         IV_LOGSYS = lv_iv_logsys
         IV_APOAPP = lv_iv_apoapp
         IV_CRDATE = lv_iv_crdate
         IV_CRTIME = lv_iv_crtime
         IV_IMTYP = lv_iv_imtyp
    TABLES
         OT_GENKEY = lt_ot_genkey
    EXCEPTIONS
        ERROR_UNKNOWN_IMTYP = 1
. " CIF_IMOD_RETRIEVE_GENKEY




ABAP code using 7.40 inline data declarations to call FM CIF_IMOD_RETRIEVE_GENKEY

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 MODELNAME FROM CIF_IMOD INTO @DATA(ld_iv_modelname).
 
 
"SELECT single LOGSYS FROM CIF_IMOD INTO @DATA(ld_iv_logsys).
 
"SELECT single APOAPP FROM CIF_IMOD INTO @DATA(ld_iv_apoapp).
 
"SELECT single CRDATE FROM CIF_IMOD INTO @DATA(ld_iv_crdate).
 
"SELECT single CRTIME FROM CIF_IMOD INTO @DATA(ld_iv_crtime).
 
"SELECT single IMTYP FROM CIF_IMOD INTO @DATA(ld_iv_imtyp).
 


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!