SAP CNV_TDMS_BW_GET_INFOCUBE Function Module for Get InfoCube details from BW sender system
CNV_TDMS_BW_GET_INFOCUBE is a standard cnv tdms bw get infocube SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get InfoCube details from BW sender 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 tdms bw get infocube FM, simply by entering the name CNV_TDMS_BW_GET_INFOCUBE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNVTDMS_BW_FUNCTIONS_REM
Program Name: SAPLCNVTDMS_BW_FUNCTIONS_REM
Main Program: SAPLCNVTDMS_BW_FUNCTIONS_REM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CNV_TDMS_BW_GET_INFOCUBE 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_TDMS_BW_GET_INFOCUBE'"Get InfoCube details from BW sender system.
EXPORTING
IV_PACK = "Package Number to Specify CMIS and TDMS Packages
* IV_AGGREGATE = "boolean variable (X=true, -=false, space=unknown)
TABLES
ET_CNVMBTCOBJ = "conversion objects
ET_SELGRPDEF = "MBT PCL Selection group definition
ET_HANDI = "Handicap Factors for the Selection Groups
ET_SELMEMTYPE = "MBT PCL Selection group member types
ET_CNVTDMS_03_CONFR = "Confrontation of org-independent group IDs
ET_CNVMBTTABLES = "explicite list of tables to be handled during migration
ET_CNVMBTTREE = "Structure of conversion object / hierachy
ET_CNVMBTFORKEY = "Foreign key releations in structure + fixed values
ET_CNVMBTSELREF = "MBT PCL Selection group reference
ET_CNVTDMS_03_GROUP = "Possible Reduction groups
ET_CNVTDMS_BW_OBDT = "Objects in BW system and conversion object mapping
ET_CNVTDMS_BW_OBDTT = "Objects Text Description
ET_TIME_SEQ = "Time characteristic sequence
IMPORTING Parameters details for CNV_TDMS_BW_GET_INFOCUBE
IV_PACK - Package Number to Specify CMIS and TDMS Packages
Data type: CNV_MBT_PACKIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_AGGREGATE - boolean variable (X=true, -=false, space=unknown)
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CNV_TDMS_BW_GET_INFOCUBE
ET_CNVMBTCOBJ - conversion objects
Data type: CNVMBTCOBJOptional: No
Call by Reference: No ( called with pass by value option)
ET_SELGRPDEF - MBT PCL Selection group definition
Data type: CNVMBTSELGRPDEFOptional: No
Call by Reference: Yes
ET_HANDI - Handicap Factors for the Selection Groups
Data type: CNVTDMS_03_HANDIOptional: No
Call by Reference: Yes
ET_SELMEMTYPE - MBT PCL Selection group member types
Data type: CNVMBTSELMEMTYPEOptional: No
Call by Reference: Yes
ET_CNVTDMS_03_CONFR - Confrontation of org-independent group IDs
Data type: CNVTDMS_03_CONFROptional: No
Call by Reference: Yes
ET_CNVMBTTABLES - explicite list of tables to be handled during migration
Data type: CNVMBTTABLESOptional: No
Call by Reference: No ( called with pass by value option)
ET_CNVMBTTREE - Structure of conversion object / hierachy
Data type: CNVMBTTREEOptional: No
Call by Reference: No ( called with pass by value option)
ET_CNVMBTFORKEY - Foreign key releations in structure + fixed values
Data type: CNVMBTFORKEYOptional: No
Call by Reference: No ( called with pass by value option)
ET_CNVMBTSELREF - MBT PCL Selection group reference
Data type: CNVMBTSELREFOptional: No
Call by Reference: No ( called with pass by value option)
ET_CNVTDMS_03_GROUP - Possible Reduction groups
Data type: CNVTDMS_03_GROUPOptional: No
Call by Reference: No ( called with pass by value option)
ET_CNVTDMS_BW_OBDT - Objects in BW system and conversion object mapping
Data type: CNVTDMSBW_OBJDTOptional: No
Call by Reference: No ( called with pass by value option)
ET_CNVTDMS_BW_OBDTT - Objects Text Description
Data type: CNVTDMSBW_OBJDTTOptional: No
Call by Reference: No ( called with pass by value option)
ET_TIME_SEQ - Time characteristic sequence
Data type: CNVTDMSBW_TIMSEQOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CNV_TDMS_BW_GET_INFOCUBE 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_pack | TYPE CNV_MBT_PACKID, " | |||
| lt_et_cnvmbtcobj | TYPE STANDARD TABLE OF CNVMBTCOBJ, " | |||
| lt_et_selgrpdef | TYPE STANDARD TABLE OF CNVMBTSELGRPDEF, " | |||
| lt_et_handi | TYPE STANDARD TABLE OF CNVTDMS_03_HANDI, " | |||
| lt_et_selmemtype | TYPE STANDARD TABLE OF CNVMBTSELMEMTYPE, " | |||
| lt_et_cnvtdms_03_confr | TYPE STANDARD TABLE OF CNVTDMS_03_CONFR, " | |||
| lv_iv_aggregate | TYPE BOOLEAN, " | |||
| lt_et_cnvmbttables | TYPE STANDARD TABLE OF CNVMBTTABLES, " | |||
| lt_et_cnvmbttree | TYPE STANDARD TABLE OF CNVMBTTREE, " | |||
| lt_et_cnvmbtforkey | TYPE STANDARD TABLE OF CNVMBTFORKEY, " | |||
| lt_et_cnvmbtselref | TYPE STANDARD TABLE OF CNVMBTSELREF, " | |||
| lt_et_cnvtdms_03_group | TYPE STANDARD TABLE OF CNVTDMS_03_GROUP, " | |||
| lt_et_cnvtdms_bw_obdt | TYPE STANDARD TABLE OF CNVTDMSBW_OBJDT, " | |||
| lt_et_cnvtdms_bw_obdtt | TYPE STANDARD TABLE OF CNVTDMSBW_OBJDTT, " | |||
| lt_et_time_seq | TYPE STANDARD TABLE OF CNVTDMSBW_TIMSEQ. " |
|   CALL FUNCTION 'CNV_TDMS_BW_GET_INFOCUBE' "Get InfoCube details from BW sender system |
| EXPORTING | ||
| IV_PACK | = lv_iv_pack | |
| IV_AGGREGATE | = lv_iv_aggregate | |
| TABLES | ||
| ET_CNVMBTCOBJ | = lt_et_cnvmbtcobj | |
| ET_SELGRPDEF | = lt_et_selgrpdef | |
| ET_HANDI | = lt_et_handi | |
| ET_SELMEMTYPE | = lt_et_selmemtype | |
| ET_CNVTDMS_03_CONFR | = lt_et_cnvtdms_03_confr | |
| ET_CNVMBTTABLES | = lt_et_cnvmbttables | |
| ET_CNVMBTTREE | = lt_et_cnvmbttree | |
| ET_CNVMBTFORKEY | = lt_et_cnvmbtforkey | |
| ET_CNVMBTSELREF | = lt_et_cnvmbtselref | |
| ET_CNVTDMS_03_GROUP | = lt_et_cnvtdms_03_group | |
| ET_CNVTDMS_BW_OBDT | = lt_et_cnvtdms_bw_obdt | |
| ET_CNVTDMS_BW_OBDTT | = lt_et_cnvtdms_bw_obdtt | |
| ET_TIME_SEQ | = lt_et_time_seq | |
| . " CNV_TDMS_BW_GET_INFOCUBE | ||
ABAP code using 7.40 inline data declarations to call FM CNV_TDMS_BW_GET_INFOCUBE
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