SAP KCD_EXCEL_SHEET_KEY_CREAT Function Module for









KCD_EXCEL_SHEET_KEY_CREAT is a standard kcd excel sheet key creat 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 kcd excel sheet key creat FM, simply by entering the name KCD_EXCEL_SHEET_KEY_CREAT into the relevant SAP transaction such as SE37 or SE38.

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



Function KCD_EXCEL_SHEET_KEY_CREAT 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 'KCD_EXCEL_SHEET_KEY_CREAT'"
EXPORTING
I_FILE_ID = "
I_APPL = "
I_OL_ROW = "
I_OL_COL = "
I_UR_ROW = "
I_UR_COL = "

CHANGING
C_DATAR = "
C_KEY = "

TABLES
C_R_H = "

EXCEPTIONS
ABBORT = 1
.



IMPORTING Parameters details for KCD_EXCEL_SHEET_KEY_CREAT

I_FILE_ID -

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

I_APPL -

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

I_OL_ROW -

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

I_OL_COL -

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

I_UR_ROW -

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

I_UR_COL -

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

CHANGING Parameters details for KCD_EXCEL_SHEET_KEY_CREAT

C_DATAR -

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

C_KEY -

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

TABLES Parameters details for KCD_EXCEL_SHEET_KEY_CREAT

C_R_H -

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

EXCEPTIONS details

ABBORT -

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

Copy and paste ABAP code example for KCD_EXCEL_SHEET_KEY_CREAT 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:
lt_c_r_h  TYPE STANDARD TABLE OF KCDER_H, "   
lv_abbort  TYPE KCDER_H, "   
lv_c_datar  TYPE KCDU_DATAR_TAB, "   
lv_i_file_id  TYPE KCDEHEAD-FILE_ID, "   
lv_c_key  TYPE KCDU_KEY_TAB, "   
lv_i_appl  TYPE KCDU_EXCEL_APPL, "   
lv_i_ol_row  TYPE KCDE_ROW_COL, "   
lv_i_ol_col  TYPE KCDE_ROW_COL, "   
lv_i_ur_row  TYPE KCDE_ROW_COL, "   
lv_i_ur_col  TYPE KCDE_ROW_COL. "   

  CALL FUNCTION 'KCD_EXCEL_SHEET_KEY_CREAT'  "
    EXPORTING
         I_FILE_ID = lv_i_file_id
         I_APPL = lv_i_appl
         I_OL_ROW = lv_i_ol_row
         I_OL_COL = lv_i_ol_col
         I_UR_ROW = lv_i_ur_row
         I_UR_COL = lv_i_ur_col
    CHANGING
         C_DATAR = lv_c_datar
         C_KEY = lv_c_key
    TABLES
         C_R_H = lt_c_r_h
    EXCEPTIONS
        ABBORT = 1
. " KCD_EXCEL_SHEET_KEY_CREAT




ABAP code using 7.40 inline data declarations to call FM KCD_EXCEL_SHEET_KEY_CREAT

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 FILE_ID FROM KCDEHEAD INTO @DATA(ld_i_file_id).
 
 
 
 
 
 
 


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!