Menu

SAP Function Module CAPI_CHARACT_CREATE

API: Create Characteristic

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 CAPI_CHARACT_CREATE (API: Create Characteristic) is a standard Function Module in SAP ERP and is part of the function group CAPI within the package CL.

Technical Information

Function Module CAPI_CHARACT_CREATE
Short Text API: Create Characteristic
Function Group CAPI
Package CL
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHANGE_NUMBER LIKE CABN-AENNR SPACE Change Number
CHARACT LIKE CABN-ATNAM Characteristic Name
CHARACT_GROUP LIKE CABN-ATKLA SPACE Chars Group
CLIENT LIKE SY-MANDT SY-MANDT Client
DATATYPE LIKE RCTMV-FORMAT Data Type
DECIMAL_PLACES LIKE CABN-ANZDZ 0 Number of Decimal Places
DOCUMENT LIKE CABN-DOKNR SPACE Document
DOCUMENT_PART LIKE CABN-DOKTL SPACE Document Part
DOCUMENT_TYPE LIKE CABN-DOKAR SPACE Document Type
DOCUMENT_VERSION LIKE CABN-DOKVR SPACE Document Version
EDIT_FORMAT LIKE CABN-ATSCH SPACE Template
ENTRY_REQUIRED LIKE CABN-ATERF SPACE Entry Required
EXPONENT LIKE CABN-ATDIM 0 Exponent
EXPONENT_DISPLAY_FORMAT LIKE CABN-ATDEX SPACE Exponent Display Format (0,1,2,3)
F_WITH_INPUT_CHECK LIKE CAPIFLAG-FLDIRCHAR 'X' Control: With/Without Checks
INTERVAL_VALS_ALLOWED LIKE CABN-ATINT SPACE Intervals Allowed
KEY_DATE LIKE SY-DATUM SY-DATUM Date
LOWERCASE LIKE CABN-ATKLE SPACE Case Sensitive
MULTIPLE_VALUES LIKE CABN-ATEIN SPACE Multiple Values Allowed
NEGATIVE_VALS_ALLOWED LIKE CABN-ATVOR SPACE Negative Values Allowed
NUMBER_OF_CHARS LIKE CABN-ANZST Number of Characters
PROPOSE_EDIT_FORMAT LIKE CABN-ATVSC SPACE Propose Template
SELECTION_CHOICE LIKE CABN-AUSWAHLMGE SPACE Selected Set
STATUS LIKE CABN-ATMST SPACE Status
UNFORMATTED_ENTRY LIKE CABN-ATFOD SPACE Unformatted Entry
UNIT LIKE RCTMV-EINH2 SPACE Unit
VALUE_ASSIGNMENT LIKE CABN-ATWRD SPACE Display Allowed Values During Characteristic Value Assignment

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
E_APICABNT LIKE APICABNT Description and Headings for Characteristic
E_APICAWN LIKE APICAWN Allowed Values and Value Descriptions
E_APITCME LIKE APITCME Validity for Global Characteristics

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
CHARACT_ALREADY_EXISTS Characteristic Already Exists
CHARACT_NAME_INVALID Characteristic Name Invalid
CHARACT_TEXT_MISSING Characteristic Description Missing
DECIMAL_PLACES_TOO_LONG Too Many Decimal Places
DEFAULT_VALUE_MULTIPLE Default Value Occurs More than Once
DOCUMENT_FOR_VALUE_INVALID Document for Value Invalid
DOCUMENT_NOT_FOUND Document Invalid
EDIT_FORMAT_INVALID Template Invalid
EXPONENT_LENGTH_CONFLICT Conflict Between Exponent Entry and Length
EXPONENT_NOT_POSSIBLE Exponent Entry not Allowed
FORMAT_INVALID Invalid Format
INTERNAL_NUMBER_ERROR Error in Internal Number Assignment
NUMBER_OF_CHARS_INVALID Invalid Number of Characters
NUMBER_OF_CHARS_MISSING Do Not Enter Number of Characters
PROPOSE_EDIT_FORMAT_INVALID Propose Template Invalid for CHAR Characteristic
SELECTION_CHOICE_INVALID Invalid Selected Set
STATUS_INVALID Status Invalid or Not Entered
UNIT_INVALID Invalid Unit
VALUE_DEVIATION_FROM_DATATYPE Value Does Not Match Data Type
VALUE_MULTIPLE_EXISTS Value Occurs More Than Once