SAP CNV_MBT_DEX_IMP_DATA_FILE Function Module for DMIS Data Extract Data File import









CNV_MBT_DEX_IMP_DATA_FILE is a standard cnv mbt dex imp data file SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DMIS Data Extract Data File import 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 dex imp data file FM, simply by entering the name CNV_MBT_DEX_IMP_DATA_FILE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNV_MBT_DEX
Program Name: SAPLCNV_MBT_DEX
Main Program: SAPLCNV_MBT_DEX
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CNV_MBT_DEX_IMP_DATA_FILE 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_DEX_IMP_DATA_FILE'"DMIS Data Extract Data File import
EXPORTING
IM_DEXID = "DMIS PCL Data Extract ID
* IM_FILE_SEQNO = '000000' "DMIS Data extract File Sequence number
IM_PACKID = "Package Number to Specify CMIS and TDMS Packages
IM_MTID = "Identification of MBT Mass Transfer
* IM_WORK_MODE = "

IMPORTING
EX_SUBRC = "Return value, return value after ABAP statements
EX_FILESIZE = "Length of a file in bytes

TABLES
* EXT_MSG_LOG = "Return parameter table

EXCEPTIONS
NO_IMPORT_PATH = 1
.



IMPORTING Parameters details for CNV_MBT_DEX_IMP_DATA_FILE

IM_DEXID - DMIS PCL Data Extract ID

Data type: CNV_MBT_DEXID
Optional: No
Call by Reference: Yes

IM_FILE_SEQNO - DMIS Data extract File Sequence number

Data type: CNV_MBT_DEXFILESEQNO
Default: '000000'
Optional: Yes
Call by Reference: Yes

IM_PACKID - Package Number to Specify CMIS and TDMS Packages

Data type: CNV_MBT_PACKID
Optional: No
Call by Reference: Yes

IM_MTID - Identification of MBT Mass Transfer

Data type: CNV_MBT_MTID
Optional: No
Call by Reference: Yes

IM_WORK_MODE -

Data type: C
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CNV_MBT_DEX_IMP_DATA_FILE

EX_SUBRC - Return value, return value after ABAP statements

Data type: SYSUBRC
Optional: No
Call by Reference: Yes

EX_FILESIZE - Length of a file in bytes

Data type: FILESIZE
Optional: No
Call by Reference: Yes

TABLES Parameters details for CNV_MBT_DEX_IMP_DATA_FILE

EXT_MSG_LOG - Return parameter table

Data type: BAPIRET2_T
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_IMPORT_PATH -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CNV_MBT_DEX_IMP_DATA_FILE 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_ex_subrc  TYPE SYSUBRC, "   
lv_im_dexid  TYPE CNV_MBT_DEXID, "   
lt_ext_msg_log  TYPE STANDARD TABLE OF BAPIRET2_T, "   
lv_no_import_path  TYPE BAPIRET2_T, "   
lv_ex_filesize  TYPE FILESIZE, "   
lv_im_file_seqno  TYPE CNV_MBT_DEXFILESEQNO, "   '000000'
lv_im_packid  TYPE CNV_MBT_PACKID, "   
lv_im_mtid  TYPE CNV_MBT_MTID, "   
lv_im_work_mode  TYPE C. "   

  CALL FUNCTION 'CNV_MBT_DEX_IMP_DATA_FILE'  "DMIS Data Extract Data File import
    EXPORTING
         IM_DEXID = lv_im_dexid
         IM_FILE_SEQNO = lv_im_file_seqno
         IM_PACKID = lv_im_packid
         IM_MTID = lv_im_mtid
         IM_WORK_MODE = lv_im_work_mode
    IMPORTING
         EX_SUBRC = lv_ex_subrc
         EX_FILESIZE = lv_ex_filesize
    TABLES
         EXT_MSG_LOG = lt_ext_msg_log
    EXCEPTIONS
        NO_IMPORT_PATH = 1
. " CNV_MBT_DEX_IMP_DATA_FILE




ABAP code using 7.40 inline data declarations to call FM CNV_MBT_DEX_IMP_DATA_FILE

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.

 
 
 
 
 
DATA(ld_im_file_seqno) = '000000'.
 
 
 
 


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!