SAP K_KKRC_CL_INFO_READ Function Module for









K_KKRC_CL_INFO_READ is a standard k kkrc cl info read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 k kkrc cl info read FM, simply by entering the name K_KKRC_CL_INFO_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: KKRC
Program Name: SAPLKKRC
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function K_KKRC_CL_INFO_READ 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 'K_KKRC_CL_INFO_READ'"
EXPORTING
* CLINT = ' ' "Class (internal number)
* KLART = ' ' "Class type
* KLASS = ' ' "Class (external number)
* NO_BUFFER = ' ' "In: Do not access buffered data
* I_F4 = "

IMPORTING
IKLAH = "Class header
ISWOR = "Class header name (key word item 1)
ALLOCATION_EXIST = "

TABLES
* ICABN = "Table of characteristics
* ICABNT = "Table of characteristic texts
* IKSML = "Table of feature allocations

EXCEPTIONS
CLASS_NOT_FOUND = 1 NO_CLASS_ADDRESS = 2 NO_FEATURE = 3 SYSTEM_FAILURE = 4
.



IMPORTING Parameters details for K_KKRC_CL_INFO_READ

CLINT - Class (internal number)

Data type: KLAH-CLINT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

KLART - Class type

Data type: KLAH-KLART
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

KLASS - Class (external number)

Data type: KLAH-CLASS
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

NO_BUFFER - In: Do not access buffered data

Data type: SY-BATCH
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_F4 -

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

EXPORTING Parameters details for K_KKRC_CL_INFO_READ

IKLAH - Class header

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

ISWOR - Class header name (key word item 1)

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

ALLOCATION_EXIST -

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

TABLES Parameters details for K_KKRC_CL_INFO_READ

ICABN - Table of characteristics

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

ICABNT - Table of characteristic texts

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

IKSML - Table of feature allocations

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

EXCEPTIONS details

CLASS_NOT_FOUND - Class does not exist

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

NO_CLASS_ADDRESS - Class is not addressed

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

NO_FEATURE - Class has no characteristics

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

SYSTEM_FAILURE - Internal error

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

Copy and paste ABAP code example for K_KKRC_CL_INFO_READ 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_clint  TYPE KLAH-CLINT, "   SPACE
lt_icabn  TYPE STANDARD TABLE OF CABN, "   
lv_iklah  TYPE KLAH, "   
lv_class_not_found  TYPE KLAH, "   
lv_iswor  TYPE SWOR, "   
lv_klart  TYPE KLAH-KLART, "   SPACE
lt_icabnt  TYPE STANDARD TABLE OF CABNT, "   
lv_no_class_address  TYPE CABNT, "   
lt_iksml  TYPE STANDARD TABLE OF KSML, "   
lv_klass  TYPE KLAH-CLASS, "   SPACE
lv_no_feature  TYPE KLAH, "   
lv_allocation_exist  TYPE RMCLM-ANZUKZ, "   
lv_no_buffer  TYPE SY-BATCH, "   SPACE
lv_system_failure  TYPE SY, "   
lv_i_f4  TYPE SYBATCH. "   

  CALL FUNCTION 'K_KKRC_CL_INFO_READ'  "
    EXPORTING
         CLINT = lv_clint
         KLART = lv_klart
         KLASS = lv_klass
         NO_BUFFER = lv_no_buffer
         I_F4 = lv_i_f4
    IMPORTING
         IKLAH = lv_iklah
         ISWOR = lv_iswor
         ALLOCATION_EXIST = lv_allocation_exist
    TABLES
         ICABN = lt_icabn
         ICABNT = lt_icabnt
         IKSML = lt_iksml
    EXCEPTIONS
        CLASS_NOT_FOUND = 1
        NO_CLASS_ADDRESS = 2
        NO_FEATURE = 3
        SYSTEM_FAILURE = 4
. " K_KKRC_CL_INFO_READ




ABAP code using 7.40 inline data declarations to call FM K_KKRC_CL_INFO_READ

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 CLINT FROM KLAH INTO @DATA(ld_clint).
DATA(ld_clint) = ' '.
 
 
 
 
 
"SELECT single KLART FROM KLAH INTO @DATA(ld_klart).
DATA(ld_klart) = ' '.
 
 
 
 
"SELECT single CLASS FROM KLAH INTO @DATA(ld_klass).
DATA(ld_klass) = ' '.
 
 
"SELECT single ANZUKZ FROM RMCLM INTO @DATA(ld_allocation_exist).
 
"SELECT single BATCH FROM SY INTO @DATA(ld_no_buffer).
DATA(ld_no_buffer) = ' '.
 
 
 


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!