SAP CLCM_CLASS_FEATURE_KNOWL_OVWR Function Module for Overwrite Object Dependencies for Characteristic of Class
CLCM_CLASS_FEATURE_KNOWL_OVWR is a standard clcm class feature knowl ovwr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Overwrite Object Dependencies for Characteristic of Class processing and below is the pattern details for this FM, 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 clcm class feature knowl ovwr FM, simply by entering the name CLCM_CLASS_FEATURE_KNOWL_OVWR into the relevant SAP transaction such as SE37 or SE38.
Function Group: CLCM
Program Name: SAPLCLCM
Main Program: SAPLCLCM
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CLCM_CLASS_FEATURE_KNOWL_OVWR 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 'CLCM_CLASS_FEATURE_KNOWL_OVWR'"Overwrite Object Dependencies for Characteristic of Class.
EXPORTING
CLASSNAME = "Class Name / Class Number
CLASSTYPE = "Class Type
* CHANGE_NUMBER = "Change Number
* KEY_DATE = SY-DATUM "Valid-From Date
IMPORTING
ERROR = "Error (Message is Being Logged)
TABLES
TCABN_O = "Characteristics to be Overwritten
* ALLOCATIONS_O = "Assignment Data for Dependencies
* BASIC_DATA_O = "Basis and Assignment Data of Several Local Dependencies
* NAMES_O = "Descriptions of Several Local Dependencies
* DOCUS_O = "Documentation of Several Local Dependencies
* SOURCES_O = "Content of Several Local Dependencies
EXCEPTIONS
CLASS_INVALID_CHANGE = 1 NO_RETAIL_CLASS = 2
IMPORTING Parameters details for CLCM_CLASS_FEATURE_KNOWL_OVWR
CLASSNAME - Class Name / Class Number
Data type: KLAH-CLASSOptional: No
Call by Reference: No ( called with pass by value option)
CLASSTYPE - Class Type
Data type: KLAH-KLARTOptional: No
Call by Reference: No ( called with pass by value option)
CHANGE_NUMBER - Change Number
Data type: KSML-AENNROptional: Yes
Call by Reference: No ( called with pass by value option)
KEY_DATE - Valid-From Date
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CLCM_CLASS_FEATURE_KNOWL_OVWR
ERROR - Error (Message is Being Logged)
Data type: SY-BINPTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CLCM_CLASS_FEATURE_KNOWL_OVWR
TCABN_O - Characteristics to be Overwritten
Data type: CLA_CH_CHGOptional: No
Call by Reference: No ( called with pass by value option)
ALLOCATIONS_O - Assignment Data for Dependencies
Data type: RCUOB1Optional: Yes
Call by Reference: No ( called with pass by value option)
BASIC_DATA_O - Basis and Assignment Data of Several Local Dependencies
Data type: RCUKB1Optional: Yes
Call by Reference: No ( called with pass by value option)
NAMES_O - Descriptions of Several Local Dependencies
Data type: RCUKBT1Optional: Yes
Call by Reference: No ( called with pass by value option)
DOCUS_O - Documentation of Several Local Dependencies
Data type: RCUKDOC1Optional: Yes
Call by Reference: No ( called with pass by value option)
SOURCES_O - Content of Several Local Dependencies
Data type: RCUKN1Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CLASS_INVALID_CHANGE - Change Class Without Commit Work First
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_RETAIL_CLASS - No Processing of SAP Retail Classes
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CLCM_CLASS_FEATURE_KNOWL_OVWR 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_error | TYPE SY-BINPT, " | |||
| lt_tcabn_o | TYPE STANDARD TABLE OF CLA_CH_CHG, " | |||
| lv_classname | TYPE KLAH-CLASS, " | |||
| lv_class_invalid_change | TYPE KLAH, " | |||
| lv_classtype | TYPE KLAH-KLART, " | |||
| lt_allocations_o | TYPE STANDARD TABLE OF RCUOB1, " | |||
| lv_no_retail_class | TYPE RCUOB1, " | |||
| lt_basic_data_o | TYPE STANDARD TABLE OF RCUKB1, " | |||
| lv_change_number | TYPE KSML-AENNR, " | |||
| lt_names_o | TYPE STANDARD TABLE OF RCUKBT1, " | |||
| lv_key_date | TYPE SY-DATUM, " SY-DATUM | |||
| lt_docus_o | TYPE STANDARD TABLE OF RCUKDOC1, " | |||
| lt_sources_o | TYPE STANDARD TABLE OF RCUKN1. " |
|   CALL FUNCTION 'CLCM_CLASS_FEATURE_KNOWL_OVWR' "Overwrite Object Dependencies for Characteristic of Class |
| EXPORTING | ||
| CLASSNAME | = lv_classname | |
| CLASSTYPE | = lv_classtype | |
| CHANGE_NUMBER | = lv_change_number | |
| KEY_DATE | = lv_key_date | |
| IMPORTING | ||
| ERROR | = lv_error | |
| TABLES | ||
| TCABN_O | = lt_tcabn_o | |
| ALLOCATIONS_O | = lt_allocations_o | |
| BASIC_DATA_O | = lt_basic_data_o | |
| NAMES_O | = lt_names_o | |
| DOCUS_O | = lt_docus_o | |
| SOURCES_O | = lt_sources_o | |
| EXCEPTIONS | ||
| CLASS_INVALID_CHANGE = 1 | ||
| NO_RETAIL_CLASS = 2 | ||
| . " CLCM_CLASS_FEATURE_KNOWL_OVWR | ||
ABAP code using 7.40 inline data declarations to call FM CLCM_CLASS_FEATURE_KNOWL_OVWR
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 BINPT FROM SY INTO @DATA(ld_error). | ||||
| "SELECT single CLASS FROM KLAH INTO @DATA(ld_classname). | ||||
| "SELECT single KLART FROM KLAH INTO @DATA(ld_classtype). | ||||
| "SELECT single AENNR FROM KSML INTO @DATA(ld_change_number). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_key_date). | ||||
| DATA(ld_key_date) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects