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

Function CNV_MBT_L_SUBPROT_SHOW 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_L_SUBPROT_SHOW'"Show local protocol.
EXPORTING
* EXTNUMBER = "
* LOGNUMBER = "
* STARTTIME = "
* ENDTIME = "
TABLES
* LOGNUMBERS = "
EXCEPTIONS
DIFFERENT_APPLICATIONS = 1 NO_LOG_FOUND = 2
IMPORTING Parameters details for CNV_MBT_L_SUBPROT_SHOW
EXTNUMBER -
Data type: CNVMBTSUBSTATE-PROTIDOptional: Yes
Call by Reference: No ( called with pass by value option)
LOGNUMBER -
Data type: CNVMBTLOGNUMBERS-ITEMOptional: Yes
Call by Reference: No ( called with pass by value option)
STARTTIME -
Data type: CNVMBTSUBSTATE-STARTTIMEOptional: Yes
Call by Reference: No ( called with pass by value option)
ENDTIME -
Data type: CNVMBTSUBSTATE-ENDTIMEOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CNV_MBT_L_SUBPROT_SHOW
LOGNUMBERS -
Data type: CNVMBTLOGNUMBERSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DIFFERENT_APPLICATIONS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_LOG_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CNV_MBT_L_SUBPROT_SHOW 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_extnumber | TYPE CNVMBTSUBSTATE-PROTID, " | |||
| lt_lognumbers | TYPE STANDARD TABLE OF CNVMBTLOGNUMBERS, " | |||
| lv_different_applications | TYPE CNVMBTLOGNUMBERS, " | |||
| lv_lognumber | TYPE CNVMBTLOGNUMBERS-ITEM, " | |||
| lv_no_log_found | TYPE CNVMBTLOGNUMBERS, " | |||
| lv_starttime | TYPE CNVMBTSUBSTATE-STARTTIME, " | |||
| lv_endtime | TYPE CNVMBTSUBSTATE-ENDTIME. " |
|   CALL FUNCTION 'CNV_MBT_L_SUBPROT_SHOW' "Show local protocol |
| EXPORTING | ||
| EXTNUMBER | = lv_extnumber | |
| LOGNUMBER | = lv_lognumber | |
| STARTTIME | = lv_starttime | |
| ENDTIME | = lv_endtime | |
| TABLES | ||
| LOGNUMBERS | = lt_lognumbers | |
| EXCEPTIONS | ||
| DIFFERENT_APPLICATIONS = 1 | ||
| NO_LOG_FOUND = 2 | ||
| . " CNV_MBT_L_SUBPROT_SHOW | ||
ABAP code using 7.40 inline data declarations to call FM CNV_MBT_L_SUBPROT_SHOW
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 PROTID FROM CNVMBTSUBSTATE INTO @DATA(ld_extnumber). | ||||
| "SELECT single ITEM FROM CNVMBTLOGNUMBERS INTO @DATA(ld_lognumber). | ||||
| "SELECT single STARTTIME FROM CNVMBTSUBSTATE INTO @DATA(ld_starttime). | ||||
| "SELECT single ENDTIME FROM CNVMBTSUBSTATE INTO @DATA(ld_endtime). | ||||
Search for further information about these or an SAP related objects