SAP CIF_IMOD_DESTINATIONS_GENERIC Function Module for NOTRANSL: CIF generische Empfängerermittlung
CIF_IMOD_DESTINATIONS_GENERIC is a standard cif imod destinations generic 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: CIF generische Empfängerermittlung 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 destinations generic FM, simply by entering the name CIF_IMOD_DESTINATIONS_GENERIC into the relevant SAP transaction such as SE37 or SE38.
Function Group: CMOQ
Program Name: SAPLCMOQ
Main Program: SAPLCMOQ
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CIF_IMOD_DESTINATIONS_GENERIC 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_DESTINATIONS_GENERIC'"NOTRANSL: CIF generische Empfängerermittlung.
EXPORTING
IV_IMTYP = "Filter Object Type for Which Runtime Version is Generated
TABLES
IT_FILTER_OBJECT = "CIF: Generic Key Without a Type
* ET_FILTER_DESTINATIONS = "Generic Structure for Target System Filter Objects
* ET_DESTINATIONS = "CIF: Destinations
IMPORTING Parameters details for CIF_IMOD_DESTINATIONS_GENERIC
IV_IMTYP - Filter Object Type for Which Runtime Version is Generated
Data type: CIF_IMOD-IMTYPOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CIF_IMOD_DESTINATIONS_GENERIC
IT_FILTER_OBJECT - CIF: Generic Key Without a Type
Data type: CIF_KEYOptional: No
Call by Reference: No ( called with pass by value option)
ET_FILTER_DESTINATIONS - Generic Structure for Target System Filter Objects
Data type: CIF_GENDESOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_DESTINATIONS - CIF: Destinations
Data type: CIF_DESTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CIF_IMOD_DESTINATIONS_GENERIC 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_filter_object | TYPE STANDARD TABLE OF CIF_KEY, " | |||
| lt_et_filter_destinations | TYPE STANDARD TABLE OF CIF_GENDES, " | |||
| lt_et_destinations | TYPE STANDARD TABLE OF CIF_DEST. " |
|   CALL FUNCTION 'CIF_IMOD_DESTINATIONS_GENERIC' "NOTRANSL: CIF generische Empfängerermittlung |
| EXPORTING | ||
| IV_IMTYP | = lv_iv_imtyp | |
| TABLES | ||
| IT_FILTER_OBJECT | = lt_it_filter_object | |
| ET_FILTER_DESTINATIONS | = lt_et_filter_destinations | |
| ET_DESTINATIONS | = lt_et_destinations | |
| . " CIF_IMOD_DESTINATIONS_GENERIC | ||
ABAP code using 7.40 inline data declarations to call FM CIF_IMOD_DESTINATIONS_GENERIC
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