Menu

SAP Function Module CLFM_OBJECT_CLASSIFICATION

Classification: Allocate Object to Classes

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module CLFM_OBJECT_CLASSIFICATION (Classification: Allocate Object to Classes) is a standard Function Module in SAP ERP and is part of the function group CLFM within the package CLCL.

Technical Information

Function Module CLFM_OBJECT_CLASSIFICATION
Short Text Classification: Allocate Object to Classes
Function Group CLFM
Package CLCL
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BATCH LIKE SPACE Value ass. w/o dialog
BI_DIALOG LIKE RMCLF-KREUZ SPACE Batch input: screen 501 not displayed
CHANGE_SERVICE_NUMBER LIKE RMCLF-AENNR1 Change number
CLASS LIKE RMCLF-CLASS SPACE Class entered -> go directly to characteristics
CLASSTYPE LIKE RMCLF-KLART SPACE Class type
CONFIRM_CLASS TYPE C Class screen processed despite CLASS
DATE_OF_CHANGE LIKE RMCLF-DATUV1 Change date
DYNPRO_HEADER LIKE RMCL1 SPACE Sub-screen
HIERARCHY_ALLOWED LIKE TCLA-HIERARCHIE Hierarchy allowed for current class type
INITFLAG LIKE SPACE X during first call of classif. in transaction
INTERNAL_NUMBER_RANGE TYPE C Internal number assignment active
I_ASSGNMNT_SCREEN LIKE RMCLF-KREUZ SPACE
I_CUA_DELIMITER LIKE RMCLF-KREUZ ':'
I_EFFECTIVITY_USED LIKE TCLA-EFFE_ACT SPACE
I_OBJ_NAVIGATION LIKE RMCLF-KREUZ SPACE
LANGUAGE LIKE SY-LANGU SY-LANGU Language key
LANGUAGE_BY_DIALOG TYPE C Read text tables if dialog
MEINS TYPE MEINS SPACE Only for material: unit of measure
MULTI_CLASSIF LIKE SPACE X multiple classification allowed
NO_CHANGE_TYPE LIKE SPACE X no change of class type possible
NO_DISPLAY LIKE SPACE X valuation screen is dark
NO_F11 LIKE SPACE X no F11 in classification possible
NO_F8 LIKE SPACE X no F8 in classification possible
OBJECT LIKE RMCLF-OBJEK Object number
OBJTXT LIKE RMCLF-OBTXT SPACE Object description
OBJ_HAS_CHANGE_SERVICE LIKE ECM allowed for object
OLD_CLASS LIKE RMCLF-CLASS SPACE Assignment is deleted and new one created for CLASS
PTABLE LIKE TCLAO-OBTAB SPACE Physical classification table
REF_AENNR LIKE RMCLF-AENNR SPACE
REF_ALL_TYPE LIKE SPACE X-All class types are selected
REF_CUOBJ LIKE INOB-CUOBJ Internal object number (INOB) of source
REF_DATUV LIKE RMCLF-DATUV1 Date for copying
REF_OBJECT LIKE RMCLF-OBJEK SPACE Copy from master record
STATUS LIKE 1-Add 2-Change 3-Display
TABLE LIKE TCLA-OBTAB Table name of classifiable object
TYPETEXT LIKE RMCLF-ARTXT SPACE Class type text
VARIANT_KLART LIKE TCLA-VARKLART Indicator: variant class type

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CLASS LIKE RMCLF-CLASS Class entered -> go directly to characteristics
CLASSTYPE LIKE RMCLF-KLART Class type
CLASS_TEXT LIKE RMCLF-KTEXT Class description
INTERNAL_OBJ_NUMBER LIKE INOB-CUOBJ Internal object number from INOB
OK_CODE LIKE SY-UCOMM OK_CODE in classification
SAME_CLASSIFY_BY_COPY LIKE RMCLF-KLART Copy: check for same classification
TYPETEXT LIKE RMCLF-ARTXT Class type text
UPDATEFLAG LIKE RMCLK-UPDAT X if changes to classification data
UPDATE_PER_CALL LIKE RMCLK-UPDAT Update indicator: newly set for each call

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CHANGE_NR_NOT_COMPATIBLE Change number object <-> classification
CLASSIFICATION_NOT_FOUND Class entered, but no objects allocated
CLASS_NOT_FOUND CLASS and OLD_CLASS entered, CLASS does not exist
CLASS_NOT_VALID The class is invalid
FOREIGN_LOCK Class already blocked
NO_AUTH_KLART No authorization for this class type
NO_MULTI_CLASSIF Multiple classification not supported
ONLY_WITH_CHANGE_NUMBER Enter change number to start
SYSTEM_FAILURE System lock error