CA
BAPI
RFC
Used the same way in S/4HANA
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.
- Function group
- CTBP
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
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)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
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
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.