SAP COCKPIT_DELETE_RUNTIME Function Module for NOTRANSL: ProcessOperatorCockpit: Löschen der Laufzeitobjekte von der DB
COCKPIT_DELETE_RUNTIME is a standard cockpit delete runtime SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: ProcessOperatorCockpit: Löschen der Laufzeitobjekte von der DB 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 cockpit delete runtime FM, simply by entering the name COCKPIT_DELETE_RUNTIME into the relevant SAP transaction such as SE37 or SE38.
Function Group: POC_ENTRY
Program Name: SAPLPOC_ENTRY
Main Program: SAPLPOC_ENTRY
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function COCKPIT_DELETE_RUNTIME 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 'COCKPIT_DELETE_RUNTIME'"NOTRANSL: ProcessOperatorCockpit: Löschen der Laufzeitobjekte von der DB.
EXPORTING
COCKPIT_ID = "Cockpit Name
PLANT = "Plant
* APPL_KEY = 'PI' "Application ID
EXCEPTIONS
LOCKED = 1
IMPORTING Parameters details for COCKPIT_DELETE_RUNTIME
COCKPIT_ID - Cockpit Name
Data type: CO_POCIDOptional: No
Call by Reference: Yes
PLANT - Plant
Data type: WERKS_DOptional: No
Call by Reference: Yes
APPL_KEY - Application ID
Data type: CO_APPLKEYDefault: 'PI'
Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
LOCKED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for COCKPIT_DELETE_RUNTIME 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_locked | TYPE STRING, " | |||
| lv_cockpit_id | TYPE CO_POCID, " | |||
| lv_plant | TYPE WERKS_D, " | |||
| lv_appl_key | TYPE CO_APPLKEY. " 'PI' |
|   CALL FUNCTION 'COCKPIT_DELETE_RUNTIME' "NOTRANSL: ProcessOperatorCockpit: Löschen der Laufzeitobjekte von der DB |
| EXPORTING | ||
| COCKPIT_ID | = lv_cockpit_id | |
| PLANT | = lv_plant | |
| APPL_KEY | = lv_appl_key | |
| EXCEPTIONS | ||
| LOCKED = 1 | ||
| . " COCKPIT_DELETE_RUNTIME | ||
ABAP code using 7.40 inline data declarations to call FM COCKPIT_DELETE_RUNTIME
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_appl_key) | = 'PI'. | |||
Search for further information about these or an SAP related objects