SAP CNV_MBT_DEX_FILESTAT_GET Function Module for DMIS PCL Data Extract Get File status entry
CNV_MBT_DEX_FILESTAT_GET is a standard cnv mbt dex filestat 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 DMIS PCL Data Extract Get File status entry 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 filestat get FM, simply by entering the name CNV_MBT_DEX_FILESTAT_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_MBT_DEX_FILESTAT
Program Name: SAPLCNV_MBT_DEX_FILESTAT
Main Program: SAPLCNV_MBT_DEX_FILESTAT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function CNV_MBT_DEX_FILESTAT_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_DEX_FILESTAT_GET'"DMIS PCL Data Extract Get File status entry.
EXPORTING
IM_DEXID = "DMIS PCL Data Extract ID
* IM_FILE_TYPE = "DMIS PCL Data Extract File type
* IM_FILE_SEQNO = "DMIS Data extract File Sequence number
IM_ACTION = "DMIS PCL Data Extract Action
* ALL_AS_TABLE = "Flag (X = yes, initial = no)
IMPORTING
EX_FILE_STATE = "DMIS PCL Status of Data Extract Files
TABLES
* EXT_STATE = "DMIS PCL Status of Data Extract Files
EXCEPTIONS
INVALID_DATA_EXTRACT_ID = 1 NO_STATE_FOUND = 2
IMPORTING Parameters details for CNV_MBT_DEX_FILESTAT_GET
IM_DEXID - DMIS PCL Data Extract ID
Data type: CNV_MBT_DEXIDOptional: No
Call by Reference: No ( called with pass by value option)
IM_FILE_TYPE - DMIS PCL Data Extract File type
Data type: CNV_MBT_DEXFILETYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
IM_FILE_SEQNO - DMIS Data extract File Sequence number
Data type: CNV_MBT_DEXFILESEQNOOptional: Yes
Call by Reference: No ( called with pass by value option)
IM_ACTION - DMIS PCL Data Extract Action
Data type: CNV_MBT_DEXACTIONOptional: No
Call by Reference: No ( called with pass by value option)
ALL_AS_TABLE - Flag (X = yes, initial = no)
Data type: CNV_MBT_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNV_MBT_DEX_FILESTAT_GET
EX_FILE_STATE - DMIS PCL Status of Data Extract Files
Data type: CNVMBTDEXFILSTATOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CNV_MBT_DEX_FILESTAT_GET
EXT_STATE - DMIS PCL Status of Data Extract Files
Data type: CNVMBTDEXFILSTATOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
INVALID_DATA_EXTRACT_ID -
Data type:Optional: No
Call by Reference: Yes
NO_STATE_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CNV_MBT_DEX_FILESTAT_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_im_dexid | TYPE CNV_MBT_DEXID, " | |||
lt_ext_state | TYPE STANDARD TABLE OF CNVMBTDEXFILSTAT, " | |||
lv_ex_file_state | TYPE CNVMBTDEXFILSTAT, " | |||
lv_invalid_data_extract_id | TYPE CNVMBTDEXFILSTAT, " | |||
lv_im_file_type | TYPE CNV_MBT_DEXFILETYPE, " | |||
lv_no_state_found | TYPE CNV_MBT_DEXFILETYPE, " | |||
lv_im_file_seqno | TYPE CNV_MBT_DEXFILESEQNO, " | |||
lv_im_action | TYPE CNV_MBT_DEXACTION, " | |||
lv_all_as_table | TYPE CNV_MBT_FLAG. " |
  CALL FUNCTION 'CNV_MBT_DEX_FILESTAT_GET' "DMIS PCL Data Extract Get File status entry |
EXPORTING | ||
IM_DEXID | = lv_im_dexid | |
IM_FILE_TYPE | = lv_im_file_type | |
IM_FILE_SEQNO | = lv_im_file_seqno | |
IM_ACTION | = lv_im_action | |
ALL_AS_TABLE | = lv_all_as_table | |
IMPORTING | ||
EX_FILE_STATE | = lv_ex_file_state | |
TABLES | ||
EXT_STATE | = lt_ext_state | |
EXCEPTIONS | ||
INVALID_DATA_EXTRACT_ID = 1 | ||
NO_STATE_FOUND = 2 | ||
. " CNV_MBT_DEX_FILESTAT_GET |
ABAP code using 7.40 inline data declarations to call FM CNV_MBT_DEX_FILESTAT_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.Search for further information about these or an SAP related objects