SAP CUKB_API_SCE_RT_MAINTAIN Function Module for NOTRANSL: API zum Ändern der Laufzeitversion eines Wissensbasisobjekts
CUKB_API_SCE_RT_MAINTAIN is a standard cukb api sce rt maintain 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: API zum Ändern der Laufzeitversion eines Wissensbasisobjekts 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 cukb api sce rt maintain FM, simply by entering the name CUKB_API_SCE_RT_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.
Function Group: CURT
Program Name: SAPLCURT
Main Program: SAPLCURT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CUKB_API_SCE_RT_MAINTAIN 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 'CUKB_API_SCE_RT_MAINTAIN'"NOTRANSL: API zum Ändern der Laufzeitversion eines Wissensbasisobjekts.
EXPORTING
I_KBOBJNAME = "Knowledge-Base Object
* I_COMMIT = ' ' "Execute Update
* I_ALLOW_POPUP = ' ' "
I_VERSION = "Runtime Version of SCE Knowledge Base
* I_SCE_MODUS = ' ' "SCE mode or compatibility mode
* I_FROMDATE = SY-DATUM "Valid From Date
I_RTSTATUS = "Dependency status
* I_LAISO = ' ' "
I_PLANT = "Plant
I_BOMAPPL = "Application
* I_ACTIONFLAG = ' ' "Indicator for loading actions (as procedures)
IMPORTING
E_ERROR = "Error Indicator
TABLES
* ET_RETURN = "Return Table
IMPORTING Parameters details for CUKB_API_SCE_RT_MAINTAIN
I_KBOBJNAME - Knowledge-Base Object
Data type: KBOBJNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_COMMIT - Execute Update
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ALLOW_POPUP -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VERSION - Runtime Version of SCE Knowledge Base
Data type: RTVERSIONOptional: No
Call by Reference: No ( called with pass by value option)
I_SCE_MODUS - SCE mode or compatibility mode
Data type: SCE_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FROMDATE - Valid From Date
Data type: DATUVDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RTSTATUS - Dependency status
Data type: KNSTAOptional: No
Call by Reference: No ( called with pass by value option)
I_LAISO -
Data type: LAISODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PLANT - Plant
Data type: WERKS_DOptional: No
Call by Reference: No ( called with pass by value option)
I_BOMAPPL - Application
Data type: CAPIDOptional: No
Call by Reference: No ( called with pass by value option)
I_ACTIONFLAG - Indicator for loading actions (as procedures)
Data type: SCE_ACTIONDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CUKB_API_SCE_RT_MAINTAIN
E_ERROR - Error Indicator
Data type: CHAR1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CUKB_API_SCE_RT_MAINTAIN
ET_RETURN - Return Table
Data type: BAPIRET2_TOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CUKB_API_SCE_RT_MAINTAIN 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_e_error | TYPE CHAR1, " | |||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRET2_T, " | |||
| lv_i_kbobjname | TYPE KBOBJNAME, " | |||
| lv_i_commit | TYPE CHAR1, " SPACE | |||
| lv_i_allow_popup | TYPE CHAR1, " SPACE | |||
| lv_i_version | TYPE RTVERSION, " | |||
| lv_i_sce_modus | TYPE SCE_FLAG, " SPACE | |||
| lv_i_fromdate | TYPE DATUV, " SY-DATUM | |||
| lv_i_rtstatus | TYPE KNSTA, " | |||
| lv_i_laiso | TYPE LAISO, " SPACE | |||
| lv_i_plant | TYPE WERKS_D, " | |||
| lv_i_bomappl | TYPE CAPID, " | |||
| lv_i_actionflag | TYPE SCE_ACTION. " SPACE |
|   CALL FUNCTION 'CUKB_API_SCE_RT_MAINTAIN' "NOTRANSL: API zum Ändern der Laufzeitversion eines Wissensbasisobjekts |
| EXPORTING | ||
| I_KBOBJNAME | = lv_i_kbobjname | |
| I_COMMIT | = lv_i_commit | |
| I_ALLOW_POPUP | = lv_i_allow_popup | |
| I_VERSION | = lv_i_version | |
| I_SCE_MODUS | = lv_i_sce_modus | |
| I_FROMDATE | = lv_i_fromdate | |
| I_RTSTATUS | = lv_i_rtstatus | |
| I_LAISO | = lv_i_laiso | |
| I_PLANT | = lv_i_plant | |
| I_BOMAPPL | = lv_i_bomappl | |
| I_ACTIONFLAG | = lv_i_actionflag | |
| IMPORTING | ||
| E_ERROR | = lv_e_error | |
| TABLES | ||
| ET_RETURN | = lt_et_return | |
| . " CUKB_API_SCE_RT_MAINTAIN | ||
ABAP code using 7.40 inline data declarations to call FM CUKB_API_SCE_RT_MAINTAIN
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_i_commit) | = ' '. | |||
| DATA(ld_i_allow_popup) | = ' '. | |||
| DATA(ld_i_sce_modus) | = ' '. | |||
| DATA(ld_i_fromdate) | = SY-DATUM. | |||
| DATA(ld_i_laiso) | = ' '. | |||
| DATA(ld_i_actionflag) | = ' '. | |||
Search for further information about these or an SAP related objects