Menu

SAP Function Module CONTROL_CREATE

Generate a Control at the Frontend

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 CONTROL_CREATE (Generate a Control at the Frontend) is a standard Function Module in SAP ERP and is part of the function group CNTL within the package SCET.

Technical Information

Function Module CONTROL_CREATE
Short Text Generate a Control at the Frontend
Function Group CNTL
Package SCET
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CLSID TYPE C Control Name
DYNPRO_NUMBER LIKE SY-DYNNR SY-DYNNR Screen Number (only for LIFETIME:DYNPRO)
DYNPRO_PROGRAM LIKE SY-REPID Screen Program Name (only for LIFETYPE:DYNPRO)
LIFETIME TYPE I CNTL_LIFETIME_IMODE Defined Lifetime
NO_OCX TYPE C 'x' : Object is ActiveX but not OCX
OWNER_REPID LIKE SY-REPID Report that Creates the Control
PARENTID TYPE I DYNPRO_DEFAULT Parent
SHELLSTYLE TYPE I Style
TRY TYPE C Internal use only
VERSION_CHECK TYPE C Internal use only

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
H_CONTROL TYPE CNTL_HANDLE Control Handle

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CONTROL_INSTALL_ERROR Control Could not be Installed
CREATE_ERROR Control Could not be Created
ILLEGAL_LIFETIME Illegal Lifetime Specification
INVALID_PARENTID Invalid Parent ID