SAP Reports / Programs | Supply Chain Management | SCM Basis(SCM-BAS) SAP SCM

RIMODGEN SAP ABAP Report - Create Integration Model







RIMODGEN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Construct integration model...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RIMODGEN into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CFM1 - Create Integration Model


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RIMODGEN. "Basic submit
SUBMIT RIMODGEN AND RETURN. "Return to original report after report execution complete
SUBMIT RIMODGEN VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: I_PPMINC = Production Process Model
Selection Text: I_PPM_PP = PPM for PP/PI
Selection Text: I_PPM_SM = PPM for Service Management
Selection Text: I_RESINC = Work Center
Selection Text: I_RSVINC = Reservation
Selection Text: I_SLSINC = Sales Order
Selection Text: I_VENINC = Vendor
Selection Text: MA_DISMM = MRP Type
Selection Text: MA_DISPO = MRP Controller
Selection Text: MA_MAABC = ABC Indicator
Selection Text: MA_MATNR = Material
Selection Text: MA_MMSTA = Plant-Specific Material Status
Selection Text: MA_MTART = Material Type
Selection Text: MA_WERKS = Plant
Selection Text: MB_STLAL = Alternative BOM
Selection Text: MB_STLAN = BOM Usage
Selection Text: MR_BERID = MRP area
Selection Text: MR_LGORT = Storage location
Selection Text: MR_MATNR = Material
Selection Text: MR_WERKS = Plant
Selection Text: MS_MATNR = Material
Selection Text: MS_PRMOD = Forecast Indicator
Selection Text: MS_WERKS = Plant
Selection Text: PI_MATNR = Material
Selection Text: PI_WERKS = Plant
Selection Text: PL_MATNR = Material
Selection Text: PL_WERKS = Plant
Selection Text: PM_DAY = Selection Date
Selection Text: PM_DETL = Detailed Planning
Selection Text: PM_MATNR = Material
Selection Text: PM_PLNS = Planning Status
Selection Text: PM_PLNV = Task List Usage
Selection Text: PM_RATE = Rate-Based Planning
Selection Text: PM_SEL = Determine Selection Date
Selection Text: CL_ASICH = Organizational Area
Selection Text: CL_ATNAM = Additional Characteristics
Selection Text: CL_KLART = Class Type
Selection Text: CL_SICHT = Old: Application View





Selection Text: CU_BUKRS = Company Code
Selection Text: CU_KTOKD = Account Group
Selection Text: CU_KUKLA = Customer Classification
Selection Text: CU_KUNNR = Customer Number
Selection Text: CU_PARVW = Partner Role
Selection Text: CU_SORTL = Search Term
Selection Text: CU_VKORG = Sales Organization
Selection Text: EC_AENNR = Change number
Selection Text: ICS_MRPA = MRP Area Data
Selection Text: ICS_SRC = Sources of Supply
Selection Text: IR_MATNR = MATERIAL
Selection Text: IR_VERID = Production Version
Selection Text: IR_WERKS = PLANT
Selection Text: I_APPL = Application
Selection Text: I_ATPCH = Availability Check
Selection Text: I_ATPCS = ATP Customizing
Selection Text: I_CHRINC = Classes and Characteristics
Selection Text: I_CUSINC = Customer
Selection Text: I_GSTINC = Info Structure
Selection Text: I_KSCINC = Procedure
Selection Text: I_LOGSYS = Logical Target System
Selection Text: I_MATINC = Material Master
Selection Text: I_MODID = Model Name
Selection Text: I_MSLINC = Consumption Data
Selection Text: I_ORDINC = Production Order
Selection Text: I_PCMINC = Production Campaigns
Selection Text: I_PIRINC = Planned Indep. Requirements
Selection Text: I_PLOINC = Planned Order
Selection Text: I_PLTINC = Plant
Selection Text: I_POINC = Purchase Order
Selection Text: SH_TPLST = Transportation Planning Point
Selection Text: SI_EKORG = Purchasing organization
Selection Text: SI_INFNR = Info record number
Selection Text: SI_LIFNR = Vendor
Selection Text: SI_MATNR = Material
Selection Text: SI_WERKS = Plant
Selection Text: SL_MATNR = Material
Selection Text: SL_WERKS = Plant
Selection Text: SP_BSART = Document Type





Selection Text: SP_EBELN = Document number
Selection Text: SP_LIFNR = Vendor
Selection Text: SP_MATNR = Material
Selection Text: SP_PSTYP = Item category
Selection Text: SP_RESWK = Supplying Plant
Selection Text: SP_WERKS = Plant
Selection Text: SR_LIFNR = Vendor
Selection Text: SR_MATNR = Material
Selection Text: SR_RESWK = Supplying Plant
Selection Text: ST_MATNR = Material
Selection Text: ST_WERKS = Plant
Selection Text: VE_BUKRS = Company Code
Selection Text: VE_EKGRP = Purchasing Group
Selection Text: VE_EKORG = Purchasing Organization
Selection Text: VE_KTOKK = Account Group
Selection Text: VE_LIFNR = Vendor Number
Selection Text: VE_PARVW = Partner Role
Selection Text: VE_SORTL = Search Term
Selection Text: VM_KUNNR = Customer Number
Selection Text: VM_MATNR = Material
Selection Text: VM_WERKS = Plant
Selection Text: WC_ARBPL = Work Center
Selection Text: WC_VERAN = Person Responsible
Selection Text: WC_VERWE = Work Center Category
Selection Text: WC_WERKS = Plant
Selection Text: PM_STLAL = Alternative BOM
Selection Text: PM_STLAN = BOM Usage
Selection Text: PM_VERID = Production Version
Selection Text: PM_WERKS = Plant
Selection Text: PO_MATNR = Material
Selection Text: PO_WERKS = Plant
Selection Text: PP_MATNR = Material
Selection Text: PP_VTNAM = Planning Table
Selection Text: PP_WERKS = Plant
Selection Text: PQ_IFSRC = InfoSource
Selection Text: PQ_MATNR = Material
Selection Text: PQ_WERKS = Plant
Selection Text: PR_MATNR = Material
Selection Text: PR_WERKS = Plant



Selection Text: PS_MATNR = Material
Selection Text: PS_VERID = Production Version
Selection Text: PS_WERKS = Plant
Selection Text: SC_WERKS = Plant
Selection Text: SC_RESWK = Supplying Plant
Selection Text: SC_PSTYP = Item category
Selection Text: SC_MATNR = Material
Selection Text: SC_LIFNR = Vendor
Selection Text: SC_EBELN = Document number
Selection Text: SC_BSART = Document Type
Selection Text: RV_WERKS = Plant
Selection Text: RV_MATNR = Material
Selection Text: P_MARC = Stock in Transit
Selection Text: P_MARD = Storage Location Stock
Selection Text: P_MSKA = Sales Order Stock
Selection Text: P_MSKU = Special Stock at the Customer
Selection Text: QU_KOSCH = Procedure
Selection Text: QI_GSTRU = Info Structure
Selection Text: P_MSPR = Project Stock
Selection Text: P_MSLB = Special Stock at the Vendor
Title: Create Integration Model
Text Symbol: 902 = No
Text Symbol: 903 = Dependent Objects Found
Text Symbol: 904 = Also include dependent material masters?
Text Symbol: 901 = Yes
Text Symbol: 414 = Valid for All Sources of Supply
Text Symbol: 413 = Contracts
Text Symbol: 905 = Also include dependent classes/characteristics?
Text Symbol: 906 = Also include dependent change numbers?
Text Symbol: 907 = Also include dependent resources (APO)?
Text Symbol: 908 = Also include dependent supply areas?
Text Symbol: 909 = Also include dependent change numbers?
Text Symbol: SLC = Material-Dependent Source of Supply Selection
Text Symbol: SLV = Include Dependent Vendors and Issuing Plants
Text Symbol: 039 = MRP Areas
Text Symbol: 040 = Production Process Models: Subcontracting
Text Symbol: 041 = Requirement Reduction
Text Symbol: 042 = Sales Order Scheduling
Text Symbol: 050 = Storage Loc. Stock
Text Symbol: 051 = Batch Stock
Text Symbol: 052 = Consignment Stock
Text Symbol: 053 = Sales Order Stock
Text Symbol: 054 = Special Cust. Stock
Text Symbol: 055 = Special Vendor Stock
Text Symbol: 056 = Project Stock
Text Symbol: 057 = Classes and Characteristics
Text Symbol: 058 = Consumption Data
Text Symbol: 059 = Service Plans
Text Symbol: 060 = For Production Plans
Text Symbol: 061 = For Maintenance Task Lists
Text Symbol: 062 = Detailed Planning
Text Symbol: 063 = Rate-Based Planning
Text Symbol: 064 = For Subcontracting
Text Symbol: 065 = Classes
Text Symbol: 066 = Characteristics
Text Symbol: 100 = Material
Text Symbol: 101 = Capacity
Text Symbol: 102 = Stock
Text Symbol: 103 = Purchase Order
Text Symbol: 104 = Planned Order
Text Symbol: 105 = Sales Order
Text Symbol: 106 = Production/Process Order
Text Symbol: 107 = Plant
Text Symbol: 108 = Customer
Text Symbol: 109 = Vendor
Text Symbol: 110 = Product Allocation Information
Text Symbol: 111 = Product Allocation Procedure
Text Symbol: 112 = ATP Check
Text Symbol: 113 = Reservation
Text Symbol: 114 = Classes and Characteristics
Text Symbol: 115 = Production Process Model
Text Symbol: 038 = Product Allocations
Text Symbol: 001 = Model Name
Text Symbol: 002 = Target System
Text Symbol: 003 = Application
Text Symbol: 004 = User
Text Symbol: 005 = Set to Active
Text Symbol: 006 = Active
Text Symbol: 007 = Created
Text Symbol: 008 = Scheduling Horizon
Text Symbol: 009 = Release:
Text Symbol: 010 = Relevant Materials
Text Symbol: 011 = Selections
Text Symbol: 012 = Material Masters
Text Symbol: 013 = Work Centers
Text Symbol: 014 = Classes + Characteristics(CDP)
Text Symbol: 015 = Stock Types
Text Symbol: 016 = Batches
Text Symbol: 017 = Stock
Text Symbol: 018 = POs and PReqs
Text Symbol: 019 = Planned Orders
Text Symbol: 020 = Sales Orders
Text Symbol: 021 = Production/Process Orders
Text Symbol: 022 = Plants
Text Symbol: 023 = Customers
Text Symbol: 024 = Vendors
Text Symbol: 025 = Manual Reservations
Text Symbol: 026 = Production Process Models
Text Symbol: 027 = Planned Independent Requirements
Text Symbol: 028 = Repetitive Manufacturing
Text Symbol: 029 = Production Campaigns
Text Symbol: 030 = Storage Location Stocks
Text Symbol: 031 = Sales Order Stocks
Text Symbol: 032 = Special Stocks with Customer
Text Symbol: 033 = Special Stocks with Vendor
Text Symbol: 034 = Project Stocks
Text Symbol: 035 = Product Allocation Customizing
Text Symbol: 036 = Product Allocation
Text Symbol: 037 = Stock in Transit
Text Symbol: 229 = BOMAlt.
Text Symbol: 230 = BOM Use
Text Symbol: 231 = PPM Type
Text Symbol: 232 = Cat
Text Symbol: 233 = Pool:
Text Symbol: 234 = WrkCtr
Text Symbol: 235 = Work Center/Pool Cap.
Text Symbol: 236 = Class. System
Text Symbol: 237 = Not Spec.
Text Symbol: 238 = APO Default
Text Symbol: 239 = CDP
Text Symbol: 240 = VC Config.
Text Symbol: 300 = Include in Integration Model
Text Symbol: 301 = Activate/Deactivate Version
Text Symbol: 302 = Only Transfer New Objects
Text Symbol: 303 = Transfer All Objects
Text Symbol: 304 = Mode of Initial Data Supply
Text Symbol: 305 = Objects to be Found
Text Symbol: 310 = Availability Check
Text Symbol: 311 = ATP Customizing
Text Symbol: 313 = Only Active Models
Text Symbol: 314 = Before
Text Symbol: 315 = After
Text Symbol: 316 = Inactive
Text Symbol: 400 = Sources of Supply
Text Symbol: 401 = Contract
Text Symbol: 402 = Scheduling Agreement
Text Symbol: 403 = Purchasing info record
Text Symbol: 404 = Contracts without plant
Text Symbol: 405 = Category of info rec
Text Symbol: 406 = Standard
Text Symbol: 407 = Subcontracting
Text Symbol: 408 = Pipeline
Text Symbol: 409 = Consignment
Text Symbol: 410 = Desired Selection
Text Symbol: 411 = Info Records
Text Symbol: 412 = Scheduling Agreements
Text Symbol: 228 = GrpCr
Text Symbol: 116 = Planned Indep. Requirements
Text Symbol: 117 = Consumption Data
Text Symbol: 119 = Production Campaign
Text Symbol: 120 = Save
Text Symbol: 130 = Filter Object
Text Symbol: 131 = Number
Text Symbol: 132 = Organizational Areas
Text Symbol: 133 = Characteristics
Text Symbol: 134 = Change Number
Text Symbol: 200 = No.
Text Symbol: 201 = Material
Text Symbol: 202 = Plant
Text Symbol: 203 = Stor.Loc
Text Symbol: 204 = Batch
Text Symbol: 205 = Special Stock Ind.
Text Symbol: 206 = Vendor Number
Text Symbol: 207 = Customer Number
Text Symbol: 208 = SD Document No.
Text Symbol: 209 = Item No. of SD Document
Text Symbol: 210 = Project Plan
Text Symbol: 211 = Type
Text Symbol: 212 = Capacity ID
Text Symbol: 213 = Plant
Text Symbol: 214 = Customer Number
Text Symbol: 215 = Vendor Number
Text Symbol: 216 = Procedure
Text Symbol: 217 = Info Structure
Text Symbol: 218 = Class Type
Text Symbol: 219 = Class
Text Symbol: 220 = Char.
Text Symbol: 221 = Type
Text Symbol: 222 = Material
Text Symbol: 223 = Plant
Text Symbol: 224 = PVers
Text Symbol: 225 = Key Date
Text Symbol: 226 = PlType
Text Symbol: 227 = PlGrp


INCLUDES used within this REPORT RIMODGEN

INCLUDE RIMODGLB.
INCLUDE RIMODGI1.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

AUTHORITY_CHECK_TCODE call function 'AUTHORITY_CHECK_TCODE' exporting tcode = 'CFM1' exceptions ok = 0 not_ok = 2 others = 3.

ENQUEUE_ECIF_IMOD call function 'ENQUEUE_ECIF_IMOD' exporting mode_cif_imod = 'S' modelname = 'IM-DEFRAG-' logsys = '0000000001' apoapp = 'MENTATION.'

FUNCTION_EXISTS call function 'FUNCTION_EXISTS' exporting funcname = l_funcname_di exceptions function_not_exist = 1 others = 2.

CIF_IMODEL_SAVE call function 'CIF_IMODEL_SAVE' exporting is_cif_imodk = ls_cif_imodk iv_atpcs = l_atpcs iv_active = l_active iv_delete_oldversions = space tables it_matwrk_key = lt_matmas_key it_ppm_key = lt_ppm_key it_res_key = lt_res_key it_plant_key = lt_plant_key it_cus_key = lt_cus_key it_ven_key = lt_ven_key it_stock_key = lt_stock_key it_msl_key = lt_msl_key it_pir_key = lt_pir_key it_po_key = lt_po_key it_plo_key = lt_plo_key it_sls_key = lt_sls_key it_rsv_key = lt_rsv_key it_pcm_key = lt_pcm_key it_ord_key = lt_ord_key it_kosch_key = lt_kosch_key it_gstru_key = lt_gstru_key it_atp_key = lt_atp_key it_char_key = lt_char_key it_key_generic = pt_key_generic exceptions others = 1.

CIF_IMODEL_CHECK_BY_KEYS call function 'CIF_IMODEL_CHECK_BY_KEYS' exporting is_test_model_keys = ls_cif_imodk iv_active = g_true_con iv_strict = space tables ot_messages = lt_messages it_mat_key = lt_matmas_key it_ppm_key = lt_ppm_key it_res_key = lt_res_key it_plt_key = lt_plant_key it_cus_key = lt_cus_key it_ven_key = lt_ven_key it_stock_key = lt_stock_key it_msl_key = lt_msl_key it_pir_key = lt_pir_key it_po_key = lt_po_key it_plo_key = lt_plo_key it_sls_key = lt_sls_key it_rsv_key = lt_rsv_key it_pcm_key = lt_pcm_key it_ord_key = lt_ord_key it_gst_key = lt_gstru_key it_ksc_key = lt_kosch_key it_atp_key = lt_atp_key it_char_key = lt_char_key it_key_generic = gt_key_generic exceptions others = 1.

RS_CREATE_VARIANT call function 'RS_CREATE_VARIANT' exporting curr_report = lv_repname curr_variant = lv_variant_name vari_desc = lv_variant_desc tables vari_contents = lt_params vari_text = lt_texts exceptions illegal_report_or_variant = 1 illegal_variantname = 2 not_authorized = 3 not_executed = 4 report_not_existent = 5 report_not_supplied = 6 variant_exists = 7 variant_locked = 8 others = 9.

RS_VARIANT_INFO call function 'RS_VARIANT_INFO' * EXPORTING * BATCH_OR_ONLINE = 'A' tables prog_range = lt_prog_range var_range = lt_var_range text_range = lt_text_range " not used by function! created_by = lt_created_range changed_by = lt_changed_range creadate = lt_creadate_range changedate = lt_changedate_range variant_info = lt_info exceptions others = 1.

RS_SUPPORT_SELECTIONS call function 'RS_SUPPORT_SELECTIONS' exporting report = lv_repname variant = lv_variant_name exceptions variant_not_existent = 1 variant_obsolete = 2 others = 3.

MATERIAL_KEY_SELECTION call function 'MATERIAL_KEY_SELECTION' exporting read_mara_keys = g_true_con read_marc_keys = g_true_con tables in_matnr_range = ma_matnr in_werks_range = ma_werks in_mtart_range = ma_mtart in_mmsta_range = ma_mmsta in_dispo_range = ma_dispo in_dismm_range = ma_dismm in_abckz_range = ma_maabc * out_matnr_list = lt_matwrk_key out_werks_list = lt_matwrk_key exceptions others = 1.

PPM_KEY_SELECTION call function 'PPM_KEY_SELECTION' exporting in_day = pm_day in_detail_pln_flg = pm_detl in_rate_pln_flg = pm_rate in_selection_date = pm_sel tables in_mat_werks_key = lt_matwrk_key in_mat_range = pm_matnr in_werks_range = pm_werks in_verid_range = pm_verid in_stlal_range = pm_stlal in_stlan_range = pm_stlan in_plnv_range = pm_plnv in_plns_range = pm_plns out_ppm_key = lt_ppm_key exceptions others = 2.

CUSTOMER_KEY_SELECTION call function 'CUSTOMER_KEY_SELECTION' tables in_kunnr_range = cu_kunnr in_ktokd_range = cu_ktokd in_sortl_range = cu_sortl in_kukla_range = cu_kukla in_vkorg_range = cu_vkorg in_bukrs_range = cu_bukrs in_parvw_range = cu_parvw out_kunnr_list = lt_cus_key exceptions others = 1.

VENDOR_KEY_SELECTION call function 'VENDOR_KEY_SELECTION' tables in_lifnr_range = ve_lifnr in_ktokk_range = ve_ktokk in_sortl_range = ve_sortl in_ekorg_range = ve_ekorg in_bukrs_range = ve_bukrs in_ekgrp_range = ve_ekgrp in_parvw_range = ve_parvw out_lifnr_list = lt_ven_key exceptions others = 1.

CIF_IMODEL_CONVERT_FILTEROBJS call function 'CIF_IMODEL_CONVERT_FILTEROBJS' tables ct_matwrk_key = lt_matmas_key ct_ppm_key = lt_ppm_key * CT_RES_KEY = * CT_PLANT_KEY = ct_cus_key = lt_cus_key ct_ven_key = lt_ven_key ct_stock_key = lt_stock_key ct_msl_key = lt_msl_key ct_pir_key = lt_pir_key ct_po_key = lt_po_key ct_plo_key = lt_plo_key ct_sls_key = lt_sls_key ct_rsv_key = lt_rsv_key * CT_PCM_KEY = ct_ord_key = lt_ord_key * CT_GST_KEY = * CT_KSC_KEY = ct_atp_key = lt_atp_key * CT_CHAR_KEY = ct_key_generic = lt_genkey * CHANGING * CV_ATPCS = exceptions error_message = 98 error_imtyp = 1 others = 2.

VB_BATCH_DEFINITION call function 'VB_BATCH_DEFINITION' importing kzdch = lv_batch_level.

DEQUEUE_ECIF_IMOD call function 'DEQUEUE_ECIF_IMOD' exporting mode_cif_imod = 'E' modelname = ls_cif_imodk-modelname logsys = ls_cif_imodk-logsys apoapp = ls_cif_imodk-apoapp.

CIF_IMODEL_ADD_FILTEROBJECTS call function 'CIF_IMODEL_ADD_FILTEROBJECTS' exporting is_cif_imodk = ls_cif_imodk iv_activate = 'X' " lv_activate iv_action = l_action iv_ignore_fqentry = 'X' " lignfqety ignore faulty queue for CIFIMODGEN tables it_key_generic = lt_genkey exceptions objects_no_change = 1 error_model = 2 error_wrong_action = 3 error_message = 98 others = 4.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RIMODGEN or its description.