Menu

SAP Function Module CLFM_HANG_OBJECT_TO_OTHER_CLAS

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