SAP CK2U_KEKO_KEPH_READ Function Module for









CK2U_KEKO_KEPH_READ is a standard ck2u keko keph 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 ck2u keko keph read FM, simply by entering the name CK2U_KEKO_KEPH_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function CK2U_KEKO_KEPH_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 'CK2U_KEKO_KEPH_READ'"
EXPORTING
I_KEKOKEY = "
* I_READ_KEKO = 'X' "
* I_READ_KEPH = 'X' "
* I_TYPE_READ = '0' "
* CACHED_READ = ' ' "

IMPORTING
EF_KEKO = "

TABLES
ET_KEPH = "

EXCEPTIONS
DATA_NOT_FOUND = 1 WRONG_TYPE_READ = 2
.



IMPORTING Parameters details for CK2U_KEKO_KEPH_READ

I_KEKOKEY -

Data type: CKKEKOKEY
Optional: No
Call by Reference: Yes

I_READ_KEKO -

Data type: CK_SELKZ1
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_READ_KEPH -

Data type: CK_SELKZ1
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_TYPE_READ -

Data type: CK_TYPE_KEKO_KEPH_READ
Default: '0'
Optional: Yes
Call by Reference: Yes

CACHED_READ -

Data type: CK_SELKZ1
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CK2U_KEKO_KEPH_READ

EF_KEKO -

Data type: KEKO
Optional: No
Call by Reference: Yes

TABLES Parameters details for CK2U_KEKO_KEPH_READ

ET_KEPH -

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

EXCEPTIONS details

DATA_NOT_FOUND -

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

WRONG_TYPE_READ -

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

Copy and paste ABAP code example for CK2U_KEKO_KEPH_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_ef_keko  TYPE KEKO, "   
lt_et_keph  TYPE STANDARD TABLE OF KEPH, "   
lv_i_kekokey  TYPE CKKEKOKEY, "   
lv_data_not_found  TYPE CKKEKOKEY, "   
lv_i_read_keko  TYPE CK_SELKZ1, "   'X'
lv_wrong_type_read  TYPE CK_SELKZ1, "   
lv_i_read_keph  TYPE CK_SELKZ1, "   'X'
lv_i_type_read  TYPE CK_TYPE_KEKO_KEPH_READ, "   '0'
lv_cached_read  TYPE CK_SELKZ1. "   SPACE

  CALL FUNCTION 'CK2U_KEKO_KEPH_READ'  "
    EXPORTING
         I_KEKOKEY = lv_i_kekokey
         I_READ_KEKO = lv_i_read_keko
         I_READ_KEPH = lv_i_read_keph
         I_TYPE_READ = lv_i_type_read
         CACHED_READ = lv_cached_read
    IMPORTING
         EF_KEKO = lv_ef_keko
    TABLES
         ET_KEPH = lt_et_keph
    EXCEPTIONS
        DATA_NOT_FOUND = 1
        WRONG_TYPE_READ = 2
. " CK2U_KEKO_KEPH_READ




ABAP code using 7.40 inline data declarations to call FM CK2U_KEKO_KEPH_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.

 
 
 
 
DATA(ld_i_read_keko) = 'X'.
 
 
DATA(ld_i_read_keph) = 'X'.
 
DATA(ld_i_type_read) = '0'.
 
DATA(ld_cached_read) = ' '.
 


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!