SAP CK_F_KEKO_KEPH_DIRECT_READ Function Module for









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

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



Function CK_F_KEKO_KEPH_DIRECT_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 'CK_F_KEKO_KEPH_DIRECT_READ'"
EXPORTING
F_KEKOKEY = "
* READ_KEKO = 'X' "
* READ_KEPH = 'X' "
* READ_ONLY_BUFFER = ' ' "
* READ_ONLY_DB = ' ' "
* CACHED_READ = ' ' "
* KEPH_MANDATORY = 'X' "

IMPORTING
F_KEKO = "

TABLES
* I_KEPH = "

EXCEPTIONS
DATA_NOT_FOUND = 1 WRONG_CALL = 2
.



IMPORTING Parameters details for CK_F_KEKO_KEPH_DIRECT_READ

F_KEKOKEY -

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

READ_KEKO -

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

READ_KEPH -

Data type: XFLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

READ_ONLY_BUFFER -

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

READ_ONLY_DB -

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

CACHED_READ -

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

KEPH_MANDATORY -

Data type: XFLAG
Default: 'X'
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CK_F_KEKO_KEPH_DIRECT_READ

F_KEKO -

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

TABLES Parameters details for CK_F_KEKO_KEPH_DIRECT_READ

I_KEPH -

Data type: KEPH
Optional: Yes
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_CALL -

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

Copy and paste ABAP code example for CK_F_KEKO_KEPH_DIRECT_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_f_keko  TYPE KEKO, "   
lt_i_keph  TYPE STANDARD TABLE OF KEPH, "   
lv_f_kekokey  TYPE CKIKEKOKEY, "   
lv_data_not_found  TYPE CKIKEKOKEY, "   
lv_read_keko  TYPE XFLAG, "   'X'
lv_wrong_call  TYPE XFLAG, "   
lv_read_keph  TYPE XFLAG, "   'X'
lv_read_only_buffer  TYPE XFLAG, "   ' '
lv_read_only_db  TYPE CK_SELKZ1, "   SPACE
lv_cached_read  TYPE CK_SELKZ1, "   SPACE
lv_keph_mandatory  TYPE XFLAG. "   'X'

  CALL FUNCTION 'CK_F_KEKO_KEPH_DIRECT_READ'  "
    EXPORTING
         F_KEKOKEY = lv_f_kekokey
         READ_KEKO = lv_read_keko
         READ_KEPH = lv_read_keph
         READ_ONLY_BUFFER = lv_read_only_buffer
         READ_ONLY_DB = lv_read_only_db
         CACHED_READ = lv_cached_read
         KEPH_MANDATORY = lv_keph_mandatory
    IMPORTING
         F_KEKO = lv_f_keko
    TABLES
         I_KEPH = lt_i_keph
    EXCEPTIONS
        DATA_NOT_FOUND = 1
        WRONG_CALL = 2
. " CK_F_KEKO_KEPH_DIRECT_READ




ABAP code using 7.40 inline data declarations to call FM CK_F_KEKO_KEPH_DIRECT_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_read_keko) = 'X'.
 
 
DATA(ld_read_keph) = 'X'.
 
DATA(ld_read_only_buffer) = ' '.
 
DATA(ld_read_only_db) = ' '.
 
DATA(ld_cached_read) = ' '.
 
DATA(ld_keph_mandatory) = 'X'.
 


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!