# BAPI_CHARACT_GETDETAIL — Get Characteristic Details

> Reads the attributes, descriptions and allowed values of a characteristic. It is used to validate characteristic values before calling the classification BAPIs and to build value helps in external applications. Leave LANGUAGE empty to get descriptions in all languages and check RETURN for errors.

- Modules: CA
- Type: BAPI
- Function group: CTBP
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-charact-getdetail/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| CHARACTNAME | BAPICHARACTKEY-CHARACTNAME | Characteristic name | Yes |
| KEYDATE | BAPICHARACTKEY-KEYDATE | Key date | - |
| LANGUAGE | BAPIFIELDSCACL-BAPILANGUA | Language (empty = all languages) | - |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| CHARACTDETAIL | BAPICHARACTDETAIL | Characteristic attributes |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| CHARACTDESCR | BAPICHARACTDESCR | Characteristic descriptions | - |
| CHARACTVALUESNUM | BAPICHARACTVALUESNUM | Allowed numeric values | - |
| CHARACTVALUESCHAR | BAPICHARACTVALUESCHAR | Allowed character values | - |
| CHARACTVALUESCURR | BAPICHARACTVALUESCURR | Allowed currency values | - |
| CHARACTVALUESDESCR | BAPICHARACTVALUESDESCR | Value descriptions | - |
| CHARACTREFERENCES | BAPICHARACTREFERENCES | Reference characteristic entries | - |
| CHARACTRESTRICTIONS | BAPICHARACTRESTRICTIONS | Restrictions to class types | - |
| RETURN | BAPIRET2 | Return messages | Yes |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_CHARACT_GETDETAIL'
  EXPORTING
    charactname = lv_charactname
  IMPORTING
    charactdetail = lv_charactdetail
  TABLES
    charactdescr = lt_charactdescr
    charactvaluesnum = lt_charactvaluesnum
    charactvalueschar = lt_charactvalueschar
    charactvaluescurr = lt_charactvaluescurr
    charactvaluesdescr = lt_charactvaluesdescr
    charactreferences = lt_charactreferences
    charactrestrictions = lt_charactrestrictions
    return = lt_return.
```

## Related tables

CABN, CABNT, CAWN

