The Function Module CTAP_CHARACTERISTIC_CREATE () is a standard Function Module in SAP ERP and is part of the function group CTAP within the package CL.
Function Module | CTAP_CHARACTERISTIC_CREATE |
Short Text | |
Function Group | CTAP |
Package | CL |
Module Type | Normal Module |
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 | Characteristics 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 |
F_WITH_INPUT_CHECK | LIKE | 'X' | Control: with/without checks | |
INTERNAL_COUNTER | LIKE | CABN-ADZHL | SPACE | |
INTERNAL_NUMBER | LIKE | CABN-ATINN | SPACE | Internal characteristic number |
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 for characteristic value assignment |
This function module does not define any EXPORTING parameters.
This function module does not define any CHANGING 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 of global characteristics |
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 invalid for value |
DOCUMENT_INVALID | 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 | Number of characters missing |
PROPOSE_EDIT_FORMAT_INVALID | Propose template invalid for CHAR characteristic |
SELECTION_CHOICE_INVALID | Invalid selected set |
STATUS_INVALID | |
UNIT_INVALID | Invalid unit |
VALUE_DEVIATION_FROM_DATATYPE | Value does not match data type |
VALUE_MULTIPLE_EXISTS | Value exists more than once |