SAP RSDU_CCMS_GET_KERNEL_REL Function Module for iSeries: Get Kernel release information









RSDU_CCMS_GET_KERNEL_REL is a standard rsdu ccms get kernel rel SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for iSeries: Get Kernel release information 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 rsdu ccms get kernel rel FM, simply by entering the name RSDU_CCMS_GET_KERNEL_REL into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSDU_CCMS_DB4
Program Name: SAPLRSDU_CCMS_DB4
Main Program: SAPLRSDU_CCMS_DB4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RSDU_CCMS_GET_KERNEL_REL 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 'RSDU_CCMS_GET_KERNEL_REL'"iSeries: Get Kernel release information
IMPORTING
KERN_REL = "Kernel Release
KERN_DBLIB = "Line with 80 characters
KERN_COMP_ON = "Line with 80 characters
KERN_COMP_TIME = "Line with 80 characters
KERN_PATCHLEVEL = "Line with 80 characters

TABLES
* SUPP_DB_SAP = "Table for unformatted text
* SUPP_DB_VENDOR = "Table for unformatted text
* SUPP_OP_SYS = "Table for unformatted text
* PATCHCOMMENT = "Table for unformatted text

EXCEPTIONS
PERMISSION_DENIED = 1
.



EXPORTING Parameters details for RSDU_CCMS_GET_KERNEL_REL

KERN_REL - Kernel Release

Data type: THLINES-THLINE
Optional: No
Call by Reference: No ( called with pass by value option)

KERN_DBLIB - Line with 80 characters

Data type: THLINES-THLINE
Optional: No
Call by Reference: No ( called with pass by value option)

KERN_COMP_ON - Line with 80 characters

Data type: THLINES-THLINE
Optional: No
Call by Reference: No ( called with pass by value option)

KERN_COMP_TIME - Line with 80 characters

Data type: THLINES-THLINE
Optional: No
Call by Reference: No ( called with pass by value option)

KERN_PATCHLEVEL - Line with 80 characters

Data type: THLINES-THLINE
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RSDU_CCMS_GET_KERNEL_REL

SUPP_DB_SAP - Table for unformatted text

Data type: THLINES
Optional: Yes
Call by Reference: Yes

SUPP_DB_VENDOR - Table for unformatted text

Data type: THLINES
Optional: Yes
Call by Reference: Yes

SUPP_OP_SYS - Table for unformatted text

Data type: THLINES
Optional: Yes
Call by Reference: Yes

PATCHCOMMENT - Table for unformatted text

Data type: THLINES
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

PERMISSION_DENIED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RSDU_CCMS_GET_KERNEL_REL 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_kern_rel  TYPE THLINES-THLINE, "   
lt_supp_db_sap  TYPE STANDARD TABLE OF THLINES, "   
lv_permission_denied  TYPE THLINES, "   
lv_kern_dblib  TYPE THLINES-THLINE, "   
lt_supp_db_vendor  TYPE STANDARD TABLE OF THLINES, "   
lt_supp_op_sys  TYPE STANDARD TABLE OF THLINES, "   
lv_kern_comp_on  TYPE THLINES-THLINE, "   
lt_patchcomment  TYPE STANDARD TABLE OF THLINES, "   
lv_kern_comp_time  TYPE THLINES-THLINE, "   
lv_kern_patchlevel  TYPE THLINES-THLINE. "   

  CALL FUNCTION 'RSDU_CCMS_GET_KERNEL_REL'  "iSeries: Get Kernel release information
    IMPORTING
         KERN_REL = lv_kern_rel
         KERN_DBLIB = lv_kern_dblib
         KERN_COMP_ON = lv_kern_comp_on
         KERN_COMP_TIME = lv_kern_comp_time
         KERN_PATCHLEVEL = lv_kern_patchlevel
    TABLES
         SUPP_DB_SAP = lt_supp_db_sap
         SUPP_DB_VENDOR = lt_supp_db_vendor
         SUPP_OP_SYS = lt_supp_op_sys
         PATCHCOMMENT = lt_patchcomment
    EXCEPTIONS
        PERMISSION_DENIED = 1
. " RSDU_CCMS_GET_KERNEL_REL




ABAP code using 7.40 inline data declarations to call FM RSDU_CCMS_GET_KERNEL_REL

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 THLINE FROM THLINES INTO @DATA(ld_kern_rel).
 
 
 
"SELECT single THLINE FROM THLINES INTO @DATA(ld_kern_dblib).
 
 
 
"SELECT single THLINE FROM THLINES INTO @DATA(ld_kern_comp_on).
 
 
"SELECT single THLINE FROM THLINES INTO @DATA(ld_kern_comp_time).
 
"SELECT single THLINE FROM THLINES INTO @DATA(ld_kern_patchlevel).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!