Fonction SAP BAPI_PROC_CHAR_GET_LIST - Read Process Characteristics, incl. Detail Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHARACTERISTICGROUP BAPI_RCABN_API-CHAR_GROUP C 10 SPACE X Import: Characteristics Group of Characteristics
INSTRCHARSFLAG BAPIFLAG-BAPIFLAG C 1 'X' X Import: "Select Process Instruction Characteristics" Indicator
LANGUAGE BAPI_RCABNT_API-LANGU C 1 SY-LANGU X Import: Language of Characteristic Texts
MESSAGECHARSFLAG BAPIFLAG-BAPIFLAG C 1 'X' X Import: "Select Message Characteristics" Indicator
PLANT BAPI_RCOCHAPI-PLANT C 4 Import: Plant

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Export: System Messages on Method Call

Paramètre Reférence Long. Facultatif Description
CHARACTERISTICDATA BAPI_RCABN_API 84 X Export: Characteristic Detail Data
CHARACTERISTICTEXTS BAPI_RCABNT_API 123 X Export: Language-Dependent Characteristic Short Texts

Functionality
Using this method, you read processmessage characteristics andprocess instructioncharacteristics defined in the SAP system as well as their detaildata.
For example, you obtain information on the characteristics group and theformat of a characteristic. This information is stored in Customizing inthe characteristics definition (see IMG for Process Management,Define characteristics for process messages andDefine characteristics for process instructions).

Notes
Authorizations
You need the following authorization to carry out the method:
Authorization object,,Field ,,Plant
C_CABN ,,Activity ,,03 (Displaycharacteristic)
Selection Criteria
In the parameters Plant, InstrCharsFlag,MessageCharsFlag, and CharacteristicGroup, you specify thecharacteristics for which detailed data is to be passed on.
In parameter Language, you specify the language of the texts tobe passed on.
Characteristics Data
The detailed data of the selected characteristics is returned inparameters CharacteristicData and CharacteristicTexts.
System Messages
System messages issued during message processing are returned inparameter Return. For information on possible messages and theirmeaning, see the parameter documentation.

Description
In this parameter, the SAP system returns the messages issued during themethod call.

Value range
Type,,ID ,,Number,,System message
E ,,CB1,,208 ,,No messages found for the selection criteria
,, ,, ,,you entered
E ,,CB1,,209 ,,Characteristic group & not released for
,, ,, ,,the desired use
E ,,CB ,,615 ,,No authorization to display characteristic data

Description
In this parameter, you pass on the characteristics group whosecharacteristics are to be selected.
For information on the characteristics group, see the IMG for Process Management, sections Define characteristicsgroups for process messages and Definecharacteristics groups for process instructions.

Value range
See the ABAP Dictionary
' ' (blank) ,,All characteristics groups

Description
Using this parameter, you specify whetherprocess instructioncharacteristics are to be selected.
X ,,Select process instruction characteristics
' ' (blank),,Do not select process instruction characteristics
X ,,Select process instruction characteristics

Description
Using this parameter, you specify the language in which the short textsof the characteristics are to be passed on.

Default
Logon language

Description
Using this parameter, you specify whetherprocess message characteristicsare to be selected.
X ,,Select process message characteristic
' ' (blank),,Do not select process message characteristic
X ,,Select process message characteristic

Description
In this parameter, you pass on the key of the plant forwhich characteristics are to be selected.

Value range
See the ABAP Dictionary

Description
In this table, the SAP system passes on the detailed data of theselected characteristics. For information on the meaning of the tablefields, see the documentation of the corresponding data elements.
Table Structure
NAME_CHAR ,,Characteristic name
DATA_TYPE ,,Data type of the characteristic
NUMBER_DIGITS ,,Max. number of characters forcharacteristic value
NUMBER_DECIMALS ,,Number of decimal places
SIGN ,,Ind.: Negative values allowed
TEMPLATE ,,Template for value
CASE_SENSITIVE ,,Ind.: Case sensitive value
EXPONENT ,,Exponent display
EXPONENT_TYPE ,,Exponent display format
CHAR_GROUP ,,Characteristics group
LONGTEXT_FLAG ,,Indicator: Characteristic value islong text
DATA_TYPE ,,CHAR ,,Alphanumeric character
,,NUM ,,Floating point number
,,DATE ,,Date
,,TIME ,,Time
EXPONENT_TYPE ,,See data element documentation

Description
In this table, the SAP system returns the short texts of the selectedcharacteristics. For information on the meaning of the table fields, seethe documentation of the corresponding data elements.
Table Structure
NAME_CHAR ,,Characteristic name
LANGU ,,Internal language key
LANGU_ISO ,,Language key according to ISO 639
DESCR_CHAR ,,Language-dependent characteristic description

HD_LINE1 ,,First line of heading
HD_LINE2 ,,Second line of heading