Fonction SAP BAPI_CFGINST_CHARCS_VALS_READ - Displays current values or allowed values of chars of an instance

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ALLOWED_VALUES BAPICU-CHECKED C 1 'X' X Ind. for search criterion "allowed char. vals"
ASSIGNED_VALUES BAPICU-CHECKED C 1 ' ' X Ind. for search criterion "characteristic values"
DEFAULT_VALUES BAPICU-CHECKED C 1 ' ' X Ind. for search criterion "defined default values"
DEFINED_VALUES BAPICU-CHECKED C 1 ' ' X Ind. for search criterion "defined allowed values"
INSTANCE BAPICU-INSTANCE N 8 Instance to which the call refers
LANGUAGE BAPICU-LANGU C 1 SY-LANGU X Language required for characteristic values
OBJECT_ID BAPICU-MATERIAL C 18

Paramètre Reférence Long. Facultatif Description
CHARACTS BAPICUCHD 30 Characteristics to be found
CHARACTS_VALS BAPICUCHV 339 Values per characteristic (search result)

Functionality
With this function module, you can display values and value sets forparticular characteristics of an instance.
If you do not enter any characteristics, you see the values of all thecharacteristics of the instance.
This function module is typically called to display the current valuesof a characteristic and then called again to display the values thatare currently allowed for the characteristics of an instance.
The most important information that you find on a value is:
- characteristic name (language-independent)
- characteristic description (language-dependent)
- unit of measure of the value
- allocated document (can be used, for example, for ICON names)

Notes
You can only use this function module if you are currently processing aconfiguration.