Fonction SAP CAVC_C_GET_INSTANCES - All Instances of a Configuration

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FL_ALL CAPIFLAG-FL_ALL C 1 SPACE X
FL_MASTER CAPIFLAG-FL_MASTER C 1 SPACE X Indicator for Reading Master Data
FL_STATUS CAPIFLAG-FL_STATUS C 1 SPACE X

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

Paramètre Reférence Long. Facultatif Description
INSTANCE_LIST BAPICUILST 191 List of Subordinate Instances

Functionality
Reads all instances of the configuration. The instances are returned asa list that contains both the unique instance number and the selecteditem data of the instance. The instance number is used to access theinstances that were found.
The FL_MASTER indicator specifies that the master data of the bill ofmaterial is to be read. If this indicator is not selected, the systemdelivers the results of the configuration.
The FL_ALL indicator returns all instances. If the indicator is notselected, the system only returns the instances that match the selectioncriteria. The FL_TRUE indicator is selected for these instances in thereturn list.
The FL_STATUS indicator specifies the status of the instance. Thefollowing statuses are possible:
FREE - Instance is free
LOCKED - Instance is locked
INCONSISTENT - Instance is inconsistent
INCOMPLETE - Instance is incomplete