SAP Function Module CLVM_CLASS_BOOK

Update Class

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 CLVM_CLASS_BOOK (Update Class) is a standard Function Module in SAP ERP and is part of the function group CLVM within the package CL.

Technical Information

Function Module CLVM_CLASS_BOOK
Short Text Update Class
Function Group CLVM
Package CL
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACTIVITY_TYPE LIKE RMCLM-BASISD SPACE Activity category: 0-Create 1-Change 3-Delete
CHANGE_DOCUMENT LIKE RMCLM-BASISD SPACE Create change documents
CHANGE_NUMBER LIKE KSML-AENNR SPACE Change number
KEY_DATE LIKE SY-DATUM SY-DATUM Valid from
KLAH_UPDATE LIKE RMCLM-BASISD SPACE Indicator: Change to class header
KLAS_UPDATE LIKE RMCLM-BASISD SPACE Indicator: New class (get internal number)
KLAT_UPDATE LIKE RMCLM-BASISD SPACE Indicator: Change to Descriptions
KSML_UPDATE LIKE RMCLM-BASISD SPACE Indicator: Change to characteristics
KSSK_UPDATE LIKE RMCLM-BASISD SPACE Indicator: Change status (reqd char.)
SWOR_UPDATE LIKE RMCLM-BASISD SPACE Indicator: Change to keywords
VIEW LIKE RMCLM-BASISD SPACE Indicator: characteristics per org. area
XKLAH LIKE KLAH Class header structure

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
OKSML LIKE KSML Old characteristic records (KSML) before change
SMERKAE LIKE CLSMERKAE Table: New/deleted characteristics
TKLAT LIKE KLAT Table structure: descriptions
TKSML LIKE KSML Table structure: characteristics
TSWOR LIKE SWOR Table structure: keywords

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ERROR_DELETE_KLAH Update: error deleting KLAH
ERROR_DELETE_KSML Update: error deleting KSML
ERROR_INSERT_KLAH Update: error creating KLAH
ERROR_INSERT_KLAT Update: error creating KLAT
ERROR_INSERT_KSML Update: error creating KSML
ERROR_INSERT_SWOR Update: error creating SWOR
ERROR_NUMBER_RANGE Number assignment: error
ERROR_UPDATE_KLAH Update: error changing KLAH
ERROR_UPDATE_KLAT Update: error changing KLAT
ERROR_UPDATE_SWOR Update: error changing SWOR
NO_NUMBER_RANGE Number assignment: number range not found
NO_NUMBER_RANGE_OBJECT Number assignment: object KLASSE not found