SAP CNV_MBT_CWB_IMG_GET Function Module for Load package
CNV_MBT_CWB_IMG_GET is a standard cnv mbt cwb img get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Load package 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 cnv mbt cwb img get FM, simply by entering the name CNV_MBT_CWB_IMG_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_MBT_CWB_INTERFACE
Program Name: SAPLCNV_MBT_CWB_INTERFACE
Main Program: SAPLCNV_MBT_CWB_INTERFACE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CNV_MBT_CWB_IMG_GET 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 'CNV_MBT_CWB_IMG_GET'"Load package.
EXPORTING
PCLPACK = "Package Number to Specify CMIS and TDMS Packages
* PACKAGE_TAKEOVER = "General fields to be used in RFC interfaces
IMPORTING
E_FIRST_PHASE = "Phase of the Migration Project
TABLES
ET_CNVMBTACTIVITY = "Unique ID for all activities,information about execution
ET_CNVMBTACTREL = "Activity relationship (Predecessor/Successor)
ET_CNVMBTACTDOC = "Parameters for Activities
ET_MIFV_ASSOCIATIONS = "Interface-Variant Associations
ET_CNVMBTACTIVITYT = "Text table for CNVMBTACTIVITIES
ET_CNVMBTIMG = "Process plan, order of activities to be executed
ET_CNVMBTSTATE = "Status table for execution of all activities and history
ET_CNVMBTACTPARAMS = "Parameters for Activities
ET_CNVMBTTSH = "MBT PCL Trouble shooting processes header
ET_CNVMBTTSHTX = "text table for CNVMBTTSH
ET_CNVMBTTSDEF = "MBT PCL Trouble shooting process definition
ET_CNVMBTACTTSREF = "MBT PCL Reference between Activity and TS process
IMPORTING Parameters details for CNV_MBT_CWB_IMG_GET
PCLPACK - Package Number to Specify CMIS and TDMS Packages
Data type: CNVMBTCWB_STATE-PACKIDOptional: No
Call by Reference: No ( called with pass by value option)
PACKAGE_TAKEOVER - General fields to be used in RFC interfaces
Data type: CNVMBTCWB_GENERAL-FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNV_MBT_CWB_IMG_GET
E_FIRST_PHASE - Phase of the Migration Project
Data type: CNVMBTCWB_IMG-PHASEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CNV_MBT_CWB_IMG_GET
ET_CNVMBTACTIVITY - Unique ID for all activities,information about execution
Data type: CNVMBTACTIVITYOptional: No
Call by Reference: Yes
ET_CNVMBTACTREL - Activity relationship (Predecessor/Successor)
Data type: CNVMBTACTRELOptional: No
Call by Reference: Yes
ET_CNVMBTACTDOC - Parameters for Activities
Data type: CNVMBTACTDOCOptional: No
Call by Reference: Yes
ET_MIFV_ASSOCIATIONS - Interface-Variant Associations
Data type: CNV_MBT_PIFD_MIF_S_ASSOCIATIONOptional: No
Call by Reference: Yes
ET_CNVMBTACTIVITYT - Text table for CNVMBTACTIVITIES
Data type: CNVMBTACTIVITYTOptional: No
Call by Reference: Yes
ET_CNVMBTIMG - Process plan, order of activities to be executed
Data type: CNVMBTIMGOptional: No
Call by Reference: Yes
ET_CNVMBTSTATE - Status table for execution of all activities and history
Data type: CNVMBTSTATEOptional: No
Call by Reference: Yes
ET_CNVMBTACTPARAMS - Parameters for Activities
Data type: CNVMBTACTPARAMSOptional: No
Call by Reference: Yes
ET_CNVMBTTSH - MBT PCL Trouble shooting processes header
Data type: CNVMBTTSHOptional: No
Call by Reference: Yes
ET_CNVMBTTSHTX - text table for CNVMBTTSH
Data type: CNVMBTTSHTXOptional: No
Call by Reference: Yes
ET_CNVMBTTSDEF - MBT PCL Trouble shooting process definition
Data type: CNVMBTTSDEFOptional: No
Call by Reference: Yes
ET_CNVMBTACTTSREF - MBT PCL Reference between Activity and TS process
Data type: CNVMBTACTTSREFOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CNV_MBT_CWB_IMG_GET 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_pclpack | TYPE CNVMBTCWB_STATE-PACKID, " | |||
| lv_e_first_phase | TYPE CNVMBTCWB_IMG-PHASE, " | |||
| lt_et_cnvmbtactivity | TYPE STANDARD TABLE OF CNVMBTACTIVITY, " | |||
| lt_et_cnvmbtactrel | TYPE STANDARD TABLE OF CNVMBTACTREL, " | |||
| lt_et_cnvmbtactdoc | TYPE STANDARD TABLE OF CNVMBTACTDOC, " | |||
| lt_et_mifv_associations | TYPE STANDARD TABLE OF CNV_MBT_PIFD_MIF_S_ASSOCIATION, " | |||
| lv_package_takeover | TYPE CNVMBTCWB_GENERAL-FLAG, " | |||
| lt_et_cnvmbtactivityt | TYPE STANDARD TABLE OF CNVMBTACTIVITYT, " | |||
| lt_et_cnvmbtimg | TYPE STANDARD TABLE OF CNVMBTIMG, " | |||
| lt_et_cnvmbtstate | TYPE STANDARD TABLE OF CNVMBTSTATE, " | |||
| lt_et_cnvmbtactparams | TYPE STANDARD TABLE OF CNVMBTACTPARAMS, " | |||
| lt_et_cnvmbttsh | TYPE STANDARD TABLE OF CNVMBTTSH, " | |||
| lt_et_cnvmbttshtx | TYPE STANDARD TABLE OF CNVMBTTSHTX, " | |||
| lt_et_cnvmbttsdef | TYPE STANDARD TABLE OF CNVMBTTSDEF, " | |||
| lt_et_cnvmbtacttsref | TYPE STANDARD TABLE OF CNVMBTACTTSREF. " |
|   CALL FUNCTION 'CNV_MBT_CWB_IMG_GET' "Load package |
| EXPORTING | ||
| PCLPACK | = lv_pclpack | |
| PACKAGE_TAKEOVER | = lv_package_takeover | |
| IMPORTING | ||
| E_FIRST_PHASE | = lv_e_first_phase | |
| TABLES | ||
| ET_CNVMBTACTIVITY | = lt_et_cnvmbtactivity | |
| ET_CNVMBTACTREL | = lt_et_cnvmbtactrel | |
| ET_CNVMBTACTDOC | = lt_et_cnvmbtactdoc | |
| ET_MIFV_ASSOCIATIONS | = lt_et_mifv_associations | |
| ET_CNVMBTACTIVITYT | = lt_et_cnvmbtactivityt | |
| ET_CNVMBTIMG | = lt_et_cnvmbtimg | |
| ET_CNVMBTSTATE | = lt_et_cnvmbtstate | |
| ET_CNVMBTACTPARAMS | = lt_et_cnvmbtactparams | |
| ET_CNVMBTTSH | = lt_et_cnvmbttsh | |
| ET_CNVMBTTSHTX | = lt_et_cnvmbttshtx | |
| ET_CNVMBTTSDEF | = lt_et_cnvmbttsdef | |
| ET_CNVMBTACTTSREF | = lt_et_cnvmbtacttsref | |
| . " CNV_MBT_CWB_IMG_GET | ||
ABAP code using 7.40 inline data declarations to call FM CNV_MBT_CWB_IMG_GET
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 PACKID FROM CNVMBTCWB_STATE INTO @DATA(ld_pclpack). | ||||
| "SELECT single PHASE FROM CNVMBTCWB_IMG INTO @DATA(ld_e_first_phase). | ||||
| "SELECT single FLAG FROM CNVMBTCWB_GENERAL INTO @DATA(ld_package_takeover). | ||||
Search for further information about these or an SAP related objects