Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Characterstic problem

Former Member
0 Likes
364

Hi Experts,

I wanted to create a characterstic using BAPI_CHARACT_CREATE. I am trying to create a characterstic using this BAPI but I am getting error i.e. not able to create bapi sucessfully.

Anybody will suggest me how I can create the characterstic using this BAPI??

1 REPLY 1
Read only

Former Member
0 Likes
321

This BAPI creates a characteristic that does not yet exist. The following fields must contain data:

Charact_Name (characteristic name)

Data_Type (data type)

Length (number of characters)

Decimals (number of decimal places)

Status (status) in structure CharactDetail

Description (description) in structure CharactDescription

Either Language_Int (internal language format, 1 character) or Language_ISO (external language format, 2 characters)

ISO format overrides internal format. If there is more than one entry for the same language, the last is relevant.

The values must be entered in the following values tables, according to data type: numeric, time, and date values in

CharactValuesNum , character and boolean values in CharactValuesChar, and currency values in CharactValuesCurr. The value descriptions are in table CharactValuesDescr, regardless of data type. Check tables are entered in table CharactReferences and restrictions to class types are in table CharactRestrictions. If the BAPI runs successfully, table RETURN contains no messages of type 'E'.

Caution

This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.