Fonction SAP BAPI_CHARACT_GETDETAIL - BAPI for Characteristics - Read Attributes

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHARACTNAME BAPICHARACTKEY-CHARACTNAME C 30 Characteristic Name
KEYDATE BAPICHARACTKEY-KEYDATE D 8 SY-DATUM X Date
LANGUAGE BAPIFIELDSCACL-BAPILANGUA C 1 X Language: Empty = All Languages

Paramètre Reférence Type Long. Description
CHARACTDETAIL BAPICHARACTDETAIL u 254 Characteristic Attributes

Paramètre Reférence Long. Facultatif Description
CHARACTDESCR BAPICHARACTDESCR 93 X Characteristic Descriptions
CHARACTREFERENCES BAPICHARACTREFERENCES 60 X Entries for Reference Characteristics
CHARACTRESTRICTIONS BAPICHARACTRESTRICTIONS 3 X Restrictions to Class Types
CHARACTVALUESCHAR BAPICHARACTVALUESCHAR 94 X Allowed Values for CHAR Characteristics
CHARACTVALUESCURR BAPICHARACTVALUESCURR 72 X Allowed Values for CURR Characteristics
CHARACTVALUESDESCR BAPICHARACTVALUESDESCR 63 X Value Descriptions
CHARACTVALUESNUM BAPICHARACTVALUESNUM 64 X Allowed Values for NUM Characteristics
RETURN BAPIRET2 548 Error Messages

Functionality
This BAPI returns detail information on a characteristic, which isidentified by its name and optionally by a date (default value is thesystem date).

Transfer Structures
CharactDetail contains the basic data of the characteristic.CharactDescr contains the descriptions. According to thecharacteristic format, one of the export tables is filled:CharactValuesNum, CharactValuesChar, orCharactValuesCurr. Numeric, time, and date characteristics arein CharactValuesNum, character and boolean characteristics arein CharactValuesChar and currency characteristics are inCharactValuesCurr.
Value descriptions are all in table CHARACTVALUESDESCR, regardless ofthe characteristic format.
Check tables are in CharactReferences.
CharactRestrictions contains the restrictions to class types.
Note
Messages are logged in table RETURN. If the BAPI runs successfully,there are no messages of type 'E'.

Description
To improve system performance, the result can be restricted to onelanguage. If this parameter is empty, all languages are returned.