SAP EXIT_RIMODGEN_001 Function Module for Exit for Automatic Creation of Integration Models









EXIT_RIMODGEN_001 is a standard exit rimodgen 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Exit for Automatic Creation of Integration Models 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 exit rimodgen 001 FM, simply by entering the name EXIT_RIMODGEN_001 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XCIF
Program Name: SAPLXCIF
Main Program: SAPLXCIF
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_RIMODGEN_001 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 'EXIT_RIMODGEN_001'"Exit for Automatic Creation of Integration Models
EXPORTING
* I_MARA = "
* I_MARC = "
* I_KNA1 = "
* I_KNVV = "
* I_LFA1 = "
* I_KUNNR = "
* I_LIFNR = "

TABLES
CT_GENKEY = "
.



IMPORTING Parameters details for EXIT_RIMODGEN_001

I_MARA -

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

I_MARC -

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

I_KNA1 -

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

I_KNVV -

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

I_LFA1 -

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

I_KUNNR -

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

I_LIFNR -

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

TABLES Parameters details for EXIT_RIMODGEN_001

CT_GENKEY -

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

Copy and paste ABAP code example for EXIT_RIMODGEN_001 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_i_mara  TYPE MARA, "   
lt_ct_genkey  TYPE STANDARD TABLE OF CIF_GENKEY, "   
lv_i_marc  TYPE MARC, "   
lv_i_kna1  TYPE KNA1, "   
lv_i_knvv  TYPE KNVV, "   
lv_i_lfa1  TYPE LFA1, "   
lv_i_kunnr  TYPE KNA1-KUNNR, "   
lv_i_lifnr  TYPE LFA1-LIFNR. "   

  CALL FUNCTION 'EXIT_RIMODGEN_001'  "Exit for Automatic Creation of Integration Models
    EXPORTING
         I_MARA = lv_i_mara
         I_MARC = lv_i_marc
         I_KNA1 = lv_i_kna1
         I_KNVV = lv_i_knvv
         I_LFA1 = lv_i_lfa1
         I_KUNNR = lv_i_kunnr
         I_LIFNR = lv_i_lifnr
    TABLES
         CT_GENKEY = lt_ct_genkey
. " EXIT_RIMODGEN_001




ABAP code using 7.40 inline data declarations to call FM EXIT_RIMODGEN_001

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 KUNNR FROM KNA1 INTO @DATA(ld_i_kunnr).
 
"SELECT single LIFNR FROM LFA1 INTO @DATA(ld_i_lifnr).
 


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!