SAP KCK_COMMENT_MAINTAIN_LIST Function Module for









KCK_COMMENT_MAINTAIN_LIST is a standard kck comment maintain list 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 kck comment maintain list FM, simply by entering the name KCK_COMMENT_MAINTAIN_LIST into the relevant SAP transaction such as SE37 or SE38.

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



Function KCK_COMMENT_MAINTAIN_LIST 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 'KCK_COMMENT_MAINTAIN_LIST'"
EXPORTING
I_ASPET = "
I_SEL_OPT = "
* I_FUNCTION = '2' "
* I_ON_POPUP = 'X' "
* I_WITH_SEL_POPUP = ' ' "

IMPORTING
E_NUMBER_OF_COMMENTS = "

TABLES
* I_OPEN_FIELDS = "

EXCEPTIONS
EXIT_WANTED = 1
.



IMPORTING Parameters details for KCK_COMMENT_MAINTAIN_LIST

I_ASPET -

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

I_SEL_OPT -

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

I_FUNCTION -

Data type: CDIFIE-TFLAG
Default: '2'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ON_POPUP -

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

I_WITH_SEL_POPUP -

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

EXPORTING Parameters details for KCK_COMMENT_MAINTAIN_LIST

E_NUMBER_OF_COMMENTS -

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

TABLES Parameters details for KCK_COMMENT_MAINTAIN_LIST

I_OPEN_FIELDS -

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

EXCEPTIONS details

EXIT_WANTED -

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

Copy and paste ABAP code example for KCK_COMMENT_MAINTAIN_LIST 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_i_aspet  TYPE TKCA-ASPET, "   
lv_exit_wanted  TYPE TKCA, "   
lt_i_open_fields  TYPE STANDARD TABLE OF KCCO_OPEN_FIELDS, "   
lv_e_number_of_comments  TYPE KCDU_NUMC06, "   
lv_i_sel_opt  TYPE KCCO_FIELD_VALUE_TAB, "   
lv_i_function  TYPE CDIFIE-TFLAG, "   '2'
lv_i_on_popup  TYPE C, "   'X'
lv_i_with_sel_popup  TYPE C. "   SPACE

  CALL FUNCTION 'KCK_COMMENT_MAINTAIN_LIST'  "
    EXPORTING
         I_ASPET = lv_i_aspet
         I_SEL_OPT = lv_i_sel_opt
         I_FUNCTION = lv_i_function
         I_ON_POPUP = lv_i_on_popup
         I_WITH_SEL_POPUP = lv_i_with_sel_popup
    IMPORTING
         E_NUMBER_OF_COMMENTS = lv_e_number_of_comments
    TABLES
         I_OPEN_FIELDS = lt_i_open_fields
    EXCEPTIONS
        EXIT_WANTED = 1
. " KCK_COMMENT_MAINTAIN_LIST




ABAP code using 7.40 inline data declarations to call FM KCK_COMMENT_MAINTAIN_LIST

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 ASPET FROM TKCA INTO @DATA(ld_i_aspet).
 
 
 
 
 
"SELECT single TFLAG FROM CDIFIE INTO @DATA(ld_i_function).
DATA(ld_i_function) = '2'.
 
DATA(ld_i_on_popup) = 'X'.
 
DATA(ld_i_with_sel_popup) = ' '.
 


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!