SAP Function CFG_API_GET_INSTANCES - CFG: Get Instances

Parameter Reference Type Length Default Optional Text
CONFIG_ID COMT_CFGM_CONFIG_ID g 8 Configuration Identifier
GET_MIME_OBJECTS COMT_CFGM_BOOLEAN C 1 'F' X Get Mime Objects (F=False, T=True, ""=False)

Parameter Reference Type Length Text
INSTANCES COMT_CFGM_INSTANCE_I h 128 Table with instances

Exception Text
EXCEPTION_CONFIG_NULL Configuration not found

Functionality
This function moduke returns instances within the configurationaccording to the provided CONFIG_ID.
Via the input parameter GET_MIME_OBJECTS can be triggered if themime objects of the instances of the configuration should be gathered.
If no suitable configuration exists for the given CONFIG_ID thefunction module will return an empty INSTANCES table and a returnvalue different 0.
CONFIG_ID is the identification of a configuration session. It isthe result of a succesfull CFG_API_CREATE_CONFIG call.

966929Performance: Lazy load of instances