SAP CNV_MBT_CWB_TABLES_SET Function Module for Set CWB Table Content in Remote System









CNV_MBT_CWB_TABLES_SET is a standard cnv mbt cwb tables set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set CWB Table Content in Remote System 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 tables set FM, simply by entering the name CNV_MBT_CWB_TABLES_SET 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_TABLES_SET 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_TABLES_SET'"Set CWB Table Content in Remote System
EXPORTING
IV_PACKID = "CWB conversion package number
* IT_CNV_INDX_FIELDS = "Standard table of CNV_INDX_FIELDS
* IT_CNV_INDX_FIPARS = "Standard table of CNV_INDX_FIPARS
* IT_CNV_INDX_STEPS = "INDX conversion: List of steps
* IT_CNV_INDX_STPARS = "INDX conversion: Step parameters
* IT_CNV_INDX_INCL = "INDX conversion: includes
* IT_CNV_INDX_PACKCNF = "Hash table of version configuration for a package
* IT_CNVSTEPS = "Standard table of CNVSTEPS
* IT_CNVSTPARS = "Standard table of CNVSTPARS
* IT_CNVORDER = "Standard table of CNVORDER
* IT_CNVINCL = "Standard table of CNVINCL
* IT_CNVINCLTAB = "Standard table of CNVINCLTAB
* IT_CNVDOMS = "Standard table of CNVDOMS
* IT_CNVDOPARS = "Standard table of CNVDOPARS
* IT_CNVTABLES = "Standard table of CNVTABLES
* IT_CNVFIELDS = "Standard table of CNVFIELDS
* IT_CNVFIPARS = "Standard table of CNVFIPARS
* IT_CNV_INDX_TABLES = "Standard table of CNV_INDX_TABLES

IMPORTING
ET_MSG = "List of BAL_S_MSG messages
.



IMPORTING Parameters details for CNV_MBT_CWB_TABLES_SET

IV_PACKID - CWB conversion package number

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

IT_CNV_INDX_FIELDS - Standard table of CNV_INDX_FIELDS

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

IT_CNV_INDX_FIPARS - Standard table of CNV_INDX_FIPARS

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

IT_CNV_INDX_STEPS - INDX conversion: List of steps

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

IT_CNV_INDX_STPARS - INDX conversion: Step parameters

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

IT_CNV_INDX_INCL - INDX conversion: includes

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

IT_CNV_INDX_PACKCNF - Hash table of version configuration for a package

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

IT_CNVSTEPS - Standard table of CNVSTEPS

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

IT_CNVSTPARS - Standard table of CNVSTPARS

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

IT_CNVORDER - Standard table of CNVORDER

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

IT_CNVINCL - Standard table of CNVINCL

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

IT_CNVINCLTAB - Standard table of CNVINCLTAB

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

IT_CNVDOMS - Standard table of CNVDOMS

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

IT_CNVDOPARS - Standard table of CNVDOPARS

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

IT_CNVTABLES - Standard table of CNVTABLES

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

IT_CNVFIELDS - Standard table of CNVFIELDS

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

IT_CNVFIPARS - Standard table of CNVFIPARS

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

IT_CNV_INDX_TABLES - Standard table of CNV_INDX_TABLES

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

EXPORTING Parameters details for CNV_MBT_CWB_TABLES_SET

ET_MSG - List of BAL_S_MSG messages

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

Copy and paste ABAP code example for CNV_MBT_CWB_TABLES_SET 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_et_msg  TYPE CNV_MBT_T_BAL_S_MSG, "   
lv_iv_packid  TYPE CNV_PACK, "   
lv_it_cnv_indx_fields  TYPE CNV_INDX_T_FIELD, "   
lv_it_cnv_indx_fipars  TYPE CNV_INDX_T_FIPAR, "   
lv_it_cnv_indx_steps  TYPE CNV_INDX_T_STEP, "   
lv_it_cnv_indx_stpars  TYPE CNV_INDX_T_STPAR, "   
lv_it_cnv_indx_incl  TYPE CNV_INDX_T_INCLUDE, "   
lv_it_cnv_indx_packcnf  TYPE CNV_INDX_HT_PACKCNF, "   
lv_it_cnvsteps  TYPE CNV_00001_STEPS_TT, "   
lv_it_cnvstpars  TYPE CNV_00001_STPARS_TT, "   
lv_it_cnvorder  TYPE CNV_00001_T_ORDER, "   
lv_it_cnvincl  TYPE CNV_00001_INCL_TT, "   
lv_it_cnvincltab  TYPE CNV_00001_INCLTAB_TT, "   
lv_it_cnvdoms  TYPE CNV_00001_DOMS_TT, "   
lv_it_cnvdopars  TYPE CNV_00001_DOPARS_TT, "   
lv_it_cnvtables  TYPE CNV_00001_TABLES_TT, "   
lv_it_cnvfields  TYPE CNV_00001_FIELDS_TT, "   
lv_it_cnvfipars  TYPE CNV_00001_FIPARS_TT, "   
lv_it_cnv_indx_tables  TYPE CNV_INDX_T_TABLE. "   

  CALL FUNCTION 'CNV_MBT_CWB_TABLES_SET'  "Set CWB Table Content in Remote System
    EXPORTING
         IV_PACKID = lv_iv_packid
         IT_CNV_INDX_FIELDS = lv_it_cnv_indx_fields
         IT_CNV_INDX_FIPARS = lv_it_cnv_indx_fipars
         IT_CNV_INDX_STEPS = lv_it_cnv_indx_steps
         IT_CNV_INDX_STPARS = lv_it_cnv_indx_stpars
         IT_CNV_INDX_INCL = lv_it_cnv_indx_incl
         IT_CNV_INDX_PACKCNF = lv_it_cnv_indx_packcnf
         IT_CNVSTEPS = lv_it_cnvsteps
         IT_CNVSTPARS = lv_it_cnvstpars
         IT_CNVORDER = lv_it_cnvorder
         IT_CNVINCL = lv_it_cnvincl
         IT_CNVINCLTAB = lv_it_cnvincltab
         IT_CNVDOMS = lv_it_cnvdoms
         IT_CNVDOPARS = lv_it_cnvdopars
         IT_CNVTABLES = lv_it_cnvtables
         IT_CNVFIELDS = lv_it_cnvfields
         IT_CNVFIPARS = lv_it_cnvfipars
         IT_CNV_INDX_TABLES = lv_it_cnv_indx_tables
    IMPORTING
         ET_MSG = lv_et_msg
. " CNV_MBT_CWB_TABLES_SET




ABAP code using 7.40 inline data declarations to call FM CNV_MBT_CWB_TABLES_SET

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!