SAP CNV_MBT_PC_TCODE_START Function Module for Start transaction in a specified system
CNV_MBT_PC_TCODE_START is a standard cnv mbt pc tcode start SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Start transaction in a specified 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 pc tcode start FM, simply by entering the name CNV_MBT_PC_TCODE_START into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_MBT_PC
Program Name: SAPLCNV_MBT_PC
Main Program: SAPLCNV_MBT_PC
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CNV_MBT_PC_TCODE_START 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_PC_TCODE_START'"Start transaction in a specified system.
EXPORTING
TCODE = "
* VARIANT = "
* AND_RETURN = 'X' "
* NO_PARAMS = '' "flag
TABLES
* GT_BDCDATA = "
EXCEPTIONS
TRANSACTION_DOES_NOT_EXIST = 1 NO_AUTHORITY = 2
IMPORTING Parameters details for CNV_MBT_PC_TCODE_START
TCODE -
Data type: CNVMBTACTIVITY-TCODEOptional: No
Call by Reference: No ( called with pass by value option)
VARIANT -
Data type: CNVMBTACTIVITY-VARIANTOptional: Yes
Call by Reference: No ( called with pass by value option)
AND_RETURN -
Data type: CNVMBTRETSTR-AND_RETURNDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_PARAMS - flag
Data type: CNVMBTRETSTR-AND_RETURNDefault: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CNV_MBT_PC_TCODE_START
GT_BDCDATA -
Data type: BDCDATAOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
TRANSACTION_DOES_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CNV_MBT_PC_TCODE_START 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_tcode | TYPE CNVMBTACTIVITY-TCODE, " | |||
| lt_gt_bdcdata | TYPE STANDARD TABLE OF BDCDATA, " | |||
| lv_transaction_does_not_exist | TYPE BDCDATA, " | |||
| lv_variant | TYPE CNVMBTACTIVITY-VARIANT, " | |||
| lv_no_authority | TYPE CNVMBTACTIVITY, " | |||
| lv_and_return | TYPE CNVMBTRETSTR-AND_RETURN, " 'X' | |||
| lv_no_params | TYPE CNVMBTRETSTR-AND_RETURN. " '' |
|   CALL FUNCTION 'CNV_MBT_PC_TCODE_START' "Start transaction in a specified system |
| EXPORTING | ||
| TCODE | = lv_tcode | |
| VARIANT | = lv_variant | |
| AND_RETURN | = lv_and_return | |
| NO_PARAMS | = lv_no_params | |
| TABLES | ||
| GT_BDCDATA | = lt_gt_bdcdata | |
| EXCEPTIONS | ||
| TRANSACTION_DOES_NOT_EXIST = 1 | ||
| NO_AUTHORITY = 2 | ||
| . " CNV_MBT_PC_TCODE_START | ||
ABAP code using 7.40 inline data declarations to call FM CNV_MBT_PC_TCODE_START
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 TCODE FROM CNVMBTACTIVITY INTO @DATA(ld_tcode). | ||||
| "SELECT single VARIANT FROM CNVMBTACTIVITY INTO @DATA(ld_variant). | ||||
| "SELECT single AND_RETURN FROM CNVMBTRETSTR INTO @DATA(ld_and_return). | ||||
| DATA(ld_and_return) | = 'X'. | |||
| "SELECT single AND_RETURN FROM CNVMBTRETSTR INTO @DATA(ld_no_params). | ||||
| DATA(ld_no_params) | = ''. | |||
Search for further information about these or an SAP related objects