SAP RKC_COMMENT_TAB_INFO Function Module for
RKC_COMMENT_TAB_INFO is a standard rkc comment tab info 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 rkc comment tab info FM, simply by entering the name RKC_COMMENT_TAB_INFO 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 RKC_COMMENT_TAB_INFO 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 'RKC_COMMENT_TAB_INFO'".
EXPORTING
COMTAB = "
* STATUS = 'A' "
IMPORTING
ATEXT = "
TABCL = "
TABNM = "
TBSTA = "
STATX = "
CHDAT = "
CHTIM = "
CHNAM = "
SAPRL = "
EXCEPTIONS
NOT_EXIST = 1 NOT_IN_STATE = 2
IMPORTING Parameters details for RKC_COMMENT_TAB_INFO
COMTAB -
Data type: TKCCO-COMTABOptional: No
Call by Reference: No ( called with pass by value option)
STATUS -
Data type: DD03L-AS4LOCALDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RKC_COMMENT_TAB_INFO
ATEXT -
Data type: CDITHE-TXT_MOptional: No
Call by Reference: No ( called with pass by value option)
TABCL -
Data type: CDITHE-TABCLOptional: No
Call by Reference: No ( called with pass by value option)
TABNM -
Data type: TKCCO-TABNMOptional: No
Call by Reference: No ( called with pass by value option)
TBSTA -
Data type: CDITHE-TBSTAOptional: No
Call by Reference: No ( called with pass by value option)
STATX -
Data type: CDITHE-STATXOptional: No
Call by Reference: No ( called with pass by value option)
CHDAT -
Data type: CDITHE-CHDATOptional: No
Call by Reference: No ( called with pass by value option)
CHTIM -
Data type: CDITHE-CHTIMOptional: No
Call by Reference: No ( called with pass by value option)
CHNAM -
Data type: CDITHE-CHNAMOptional: No
Call by Reference: No ( called with pass by value option)
SAPRL -
Data type: TKCCO-SAPRLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_IN_STATE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RKC_COMMENT_TAB_INFO 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_atext | TYPE CDITHE-TXT_M, " | |||
| lv_comtab | TYPE TKCCO-COMTAB, " | |||
| lv_not_exist | TYPE TKCCO, " | |||
| lv_tabcl | TYPE CDITHE-TABCL, " | |||
| lv_status | TYPE DD03L-AS4LOCAL, " 'A' | |||
| lv_not_in_state | TYPE DD03L, " | |||
| lv_tabnm | TYPE TKCCO-TABNM, " | |||
| lv_tbsta | TYPE CDITHE-TBSTA, " | |||
| lv_statx | TYPE CDITHE-STATX, " | |||
| lv_chdat | TYPE CDITHE-CHDAT, " | |||
| lv_chtim | TYPE CDITHE-CHTIM, " | |||
| lv_chnam | TYPE CDITHE-CHNAM, " | |||
| lv_saprl | TYPE TKCCO-SAPRL. " |
|   CALL FUNCTION 'RKC_COMMENT_TAB_INFO' " |
| EXPORTING | ||
| COMTAB | = lv_comtab | |
| STATUS | = lv_status | |
| IMPORTING | ||
| ATEXT | = lv_atext | |
| TABCL | = lv_tabcl | |
| TABNM | = lv_tabnm | |
| TBSTA | = lv_tbsta | |
| STATX | = lv_statx | |
| CHDAT | = lv_chdat | |
| CHTIM | = lv_chtim | |
| CHNAM | = lv_chnam | |
| SAPRL | = lv_saprl | |
| EXCEPTIONS | ||
| NOT_EXIST = 1 | ||
| NOT_IN_STATE = 2 | ||
| . " RKC_COMMENT_TAB_INFO | ||
ABAP code using 7.40 inline data declarations to call FM RKC_COMMENT_TAB_INFO
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 TXT_M FROM CDITHE INTO @DATA(ld_atext). | ||||
| "SELECT single COMTAB FROM TKCCO INTO @DATA(ld_comtab). | ||||
| "SELECT single TABCL FROM CDITHE INTO @DATA(ld_tabcl). | ||||
| "SELECT single AS4LOCAL FROM DD03L INTO @DATA(ld_status). | ||||
| DATA(ld_status) | = 'A'. | |||
| "SELECT single TABNM FROM TKCCO INTO @DATA(ld_tabnm). | ||||
| "SELECT single TBSTA FROM CDITHE INTO @DATA(ld_tbsta). | ||||
| "SELECT single STATX FROM CDITHE INTO @DATA(ld_statx). | ||||
| "SELECT single CHDAT FROM CDITHE INTO @DATA(ld_chdat). | ||||
| "SELECT single CHTIM FROM CDITHE INTO @DATA(ld_chtim). | ||||
| "SELECT single CHNAM FROM CDITHE INTO @DATA(ld_chnam). | ||||
| "SELECT single SAPRL FROM TKCCO INTO @DATA(ld_saprl). | ||||
Search for further information about these or an SAP related objects