SAP CIF_IMOD_MAP_TEMPLATE Function Module for NOTRANSL: Template für Baustein zum Mappen von Objekten in Modell-Vektor









CIF_IMOD_MAP_TEMPLATE is a standard cif imod map template 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: Template für Baustein zum Mappen von Objekten in Modell-Vektor 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 map template FM, simply by entering the name CIF_IMOD_MAP_TEMPLATE into the relevant SAP transaction such as SE37 or SE38.

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



Function CIF_IMOD_MAP_TEMPLATE 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_MAP_TEMPLATE'"NOTRANSL: Template für Baustein zum Mappen von Objekten in Modell-Vektor
EXPORTING
IV_IMTYP = "Filter Object Type for Which Runtime Version is Generated
* IV_READONLY = "Generic Type

TABLES
* IT_KEYVALUES = "Generic Structure for Filter Object Keys
* OT_SEGPOS = "Structure for Log. System, Segment and Itm Integration Model
* IT_SEGPOS = "Structure for Log. System, Segment and Itm Integration Model
* OT_KEYVALUES = "Generic Structure for Filter Object Keys

EXCEPTIONS
IMTYP_UNKNOWN = 1
.



IMPORTING Parameters details for CIF_IMOD_MAP_TEMPLATE

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)

IV_READONLY - Generic Type

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

TABLES Parameters details for CIF_IMOD_MAP_TEMPLATE

IT_KEYVALUES - Generic Structure for Filter Object Keys

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

OT_SEGPOS - Structure for Log. System, Segment and Itm Integration Model

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

IT_SEGPOS - Structure for Log. System, Segment and Itm Integration Model

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

OT_KEYVALUES - Generic Structure for Filter Object Keys

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

EXCEPTIONS details

IMTYP_UNKNOWN -

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

Copy and paste ABAP code example for CIF_IMOD_MAP_TEMPLATE 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_iv_imtyp  TYPE CIF_IMOD-IMTYP, "   
lt_it_keyvalues  TYPE STANDARD TABLE OF CIF_GENKEY, "   
lv_imtyp_unknown  TYPE CIF_GENKEY, "   
lt_ot_segpos  TYPE STANDARD TABLE OF CIF_SEGPOS, "   
lv_iv_readonly  TYPE C, "   
lt_it_segpos  TYPE STANDARD TABLE OF CIF_SEGPOS, "   
lt_ot_keyvalues  TYPE STANDARD TABLE OF CIF_GENKEY. "   

  CALL FUNCTION 'CIF_IMOD_MAP_TEMPLATE'  "NOTRANSL: Template für Baustein zum Mappen von Objekten in Modell-Vektor
    EXPORTING
         IV_IMTYP = lv_iv_imtyp
         IV_READONLY = lv_iv_readonly
    TABLES
         IT_KEYVALUES = lt_it_keyvalues
         OT_SEGPOS = lt_ot_segpos
         IT_SEGPOS = lt_it_segpos
         OT_KEYVALUES = lt_ot_keyvalues
    EXCEPTIONS
        IMTYP_UNKNOWN = 1
. " CIF_IMOD_MAP_TEMPLATE




ABAP code using 7.40 inline data declarations to call FM CIF_IMOD_MAP_TEMPLATE

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 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!