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

ParameterTypeDescriptionRequired
CHARACTNAMEBAPICHARACTKEY-CHARACTNAMECharacteristic nameYes
KEYDATEBAPICHARACTKEY-KEYDATEKey date—
LANGUAGEBAPIFIELDSCACL-BAPILANGUALanguage (empty = all languages)—

Exporting parameters

ParameterTypeDescription
CHARACTDETAILBAPICHARACTDETAILCharacteristic attributes

Tables parameters

ParameterTypeDescriptionRequired
CHARACTDESCRBAPICHARACTDESCRCharacteristic descriptions—
CHARACTVALUESNUMBAPICHARACTVALUESNUMAllowed numeric values—
CHARACTVALUESCHARBAPICHARACTVALUESCHARAllowed character values—
CHARACTVALUESCURRBAPICHARACTVALUESCURRAllowed currency values—
CHARACTVALUESDESCRBAPICHARACTVALUESDESCRValue descriptions—
CHARACTREFERENCESBAPICHARACTREFERENCESReference characteristic entries—
CHARACTRESTRICTIONSBAPICHARACTRESTRICTIONSRestrictions to class types—
RETURNBAPIRET2Return messagesYes

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.

Request a custom report