SAP CLEF_AENNR_CHK_CLASSIFY Function Module for Checks Whether Change Number is Necessary in Classification
CLEF_AENNR_CHK_CLASSIFY is a standard clef aennr chk classify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Checks Whether Change Number is Necessary in Classification 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 clef aennr chk classify FM, simply by entering the name CLEF_AENNR_CHK_CLASSIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: CLEF
Program Name: SAPLCLEF
Main Program: SAPLCLEF
Appliation area:
Release date: 01-Jan-1970
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CLEF_AENNR_CHK_CLASSIFY 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 'CLEF_AENNR_CHK_CLASSIFY'"Checks Whether Change Number is Necessary in Classification.
EXPORTING
I_AENNR = "Change Number
I_TCLA = "Class Type
* I_OBJEKT = "Key of Object to be Classified
EXCEPTIONS
AENNR_REQUIRED = 1
IMPORTING Parameters details for CLEF_AENNR_CHK_CLASSIFY
I_AENNR - Change Number
Data type: AENNROptional: No
Call by Reference: Yes
I_TCLA - Class Type
Data type: TCLAOptional: No
Call by Reference: Yes
I_OBJEKT - Key of Object to be Classified
Data type: KSSK-OBJEKOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
AENNR_REQUIRED - Change Number Required
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CLEF_AENNR_CHK_CLASSIFY 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_aennr | TYPE AENNR, " | |||
| lv_aennr_required | TYPE AENNR, " | |||
| lv_i_tcla | TYPE TCLA, " | |||
| lv_i_objekt | TYPE KSSK-OBJEK. " |
|   CALL FUNCTION 'CLEF_AENNR_CHK_CLASSIFY' "Checks Whether Change Number is Necessary in Classification |
| EXPORTING | ||
| I_AENNR | = lv_i_aennr | |
| I_TCLA | = lv_i_tcla | |
| I_OBJEKT | = lv_i_objekt | |
| EXCEPTIONS | ||
| AENNR_REQUIRED = 1 | ||
| . " CLEF_AENNR_CHK_CLASSIFY | ||
ABAP code using 7.40 inline data declarations to call FM CLEF_AENNR_CHK_CLASSIFY
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 OBJEK FROM KSSK INTO @DATA(ld_i_objekt). | ||||
Search for further information about these or an SAP related objects