Menu

SAP Function Module CLFM_HANG_OBJECT_TO_OTHER_CLAS

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_HANG_OBJECT_TO_OTHER_CLAS () 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_HANG_OBJECT_TO_OTHER_CLAS
Short Text
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
CHANGE_SERVICE_NUMBER LIKE RMCLF-AENNR1 Change number
CLASSTYPE LIKE KSSK-KLART Class type
DATE_OF_CHANGE LIKE RMCLF-DATUV1 Change date
MARA_MEINS TYPE MEINS Unit of measure if OBTAB - MARA
MARA_MTART TYPE MTART Material type if OBTAB - MARA
NEWCLASS LIKE KLAH-CLASS Class to be reallocated
NEWCL_IS_MPROF LIKE SY-DATAR ' '
NEWMATKL LIKE KLAH-CLASS ' ' New material group
OBJECT LIKE KSSK-OBJEK Object
OBJ_EQ_CLASS LIKE RMCLF-KREUZ X: if allocation of class to class
OBTAB LIKE TCLA-OBTAB Name of classifiable object
OLDCLASS LIKE KLAH-CLASS Class currently allocated
OLDCL_IS_MPROF LIKE SY-DATAR ' '
OLDMATKL LIKE KLAH-CLASS ' '

Exporting Parameters

This function module does not define any EXPORTING parameters.

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
ALLOCATION_NEW_CLASS Allocation to target class incorrect
ALLOCATION_OLD_CLASS Allocation to source class incorrect
CHAR_IS_OVERWRITTEN Characteristic overwritten only in source/target class
CHAR_NOT_IN_NEW_HIERARCHIE Characteristic does not exist in target hierarchy
DELETE_OLD_CLASSIF Error deleting the source allocation
MATERIAL_NOT_FOUND Only for MARA: mateiral not found
NO_CLASSTYPES No class type found for object
RELEV_NOT_IN_NEW_HIERARCHIE
VALUE_NOT_IN_NEW_HIERARCHIE Value does not exist in target hierarchy