Fonction SAP CAVC_I_GET_CHARS - Read Characteristics of an Instance

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INSTANCE CAPIPARMS-INSTANCE N 8 Instance for Which Characteristics Are Read
WITH_ASSIGNED CAPIFLAG-WTH_ASS_CH C 1 SPACE X Indicator: Values Assigned
WITH_OPTIONAL CAPIFLAG-WTH_OPT_CH C 1 SPACE X Indicator: Not Required
WITH_REQUIRED CAPIFLAG-WTH_REQ_CH C 1 SPACE X Indicator: Required
WITH_UNASSIGNED CAPIFLAG-WTH_UAS_CH C 1 SPACE X Indicator: No Values Assigned (Indicators Linked by AND Operation)

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Code

Paramètre Reférence Long. Facultatif Description
CHARACTERISTICS BAPICUCH02 62 List of Characteristics Found

Functionality
The characteristics of an instance are read. The indicators are linkedby an AND operation for the characteristic search. If no indicator isselected, the system displays all characteristics. If, for example, theWITH_ASSIGNED indicator is selected, the system only reads thecharacteristics with values assigned. Therefore, the WITH_OPTIONAL andWITH_REQUIRED indicators or the WITH_ASSIGNED and WITH_UNASSIGNEDindicators cancel each other out. If both indicators of a pair wereselected, no characteristics can be found because a characteristiccannot have values assigned and no values assigned at the same time.
This module does not deliver any characteristic attributes or values.Compare: CAVC_I_CHARS_GET_ATTRIBUTES and CAVC_I_CHARS_GET_ASSIGNED_VALSand so on.