KRN_TA_CHK_FOR_KEY_REDUNDANCY SAP Method Test for Redundant Keys in Passed Table Type









Below is documentation, parameters and attributes of ABAP Method KRN_TA_CHK_FOR_KEY_REDUNDANCY within SAP class CL_ABAP_DDIC_UTILITIES. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ABAP_DDIC_UTILITIES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method KRN_TA_CHK_FOR_KEY_REDUNDANCY can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method KRN_TA_CHK_FOR_KEY_REDUNDANCY

.

NameTypeData TypeDescriptionDefault Value
BOXED_TABLEImportingTYPE
BOXED_SLOT_ENTRIES
Description Boxed Structure
KEY_DESCR_TABLEImportingTYPE
KEY_DESCR_TABLE
Table with Secondary Keys
KEY_RANGE_TABLEImportingTYPE
KEY_RANGE_TABLE
Standardized Areas of Keys
RESULT_TABLEExportingTYPE
KEY_REDUNDANCY_RESULT_TAB
Table of Check Results



Exceptions of Method KRN_TA_CHK_FOR_KEY_REDUNDANCY

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_BOXED_TABLE TYPE BOXED_SLOT_ENTRIES,
lv_KEY_DESCR_TABLE TYPE KEY_DESCR_TABLE,
lv_KEY_RANGE_TABLE TYPE KEY_RANGE_TABLE,
lv_RESULT_TABLE TYPE KEY_REDUNDANCY_RESULT_TAB,
lv_other TYPE c.

CALL METHOD CL_ABAP_DDIC_UTILITIES=>KRN_TA_CHK_FOR_KEY_REDUNDANCY(
EXPORTING
BOXED_TABLE = lv_BOXED_TABLE
KEY_DESCR_TABLE = lv_KEY_DESCR_TABLE
KEY_RANGE_TABLE = lv_KEY_RANGE_TABLE
IMPORTING
RESULT_TABLE = lv_RESULT_TABLE ).

Links to Related Class(s)

CL_ABAP_...
Full list of available SAP object classes

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!