Fonction SAP BCA_US_COMPONENT_ACTIVATION - Check whether a certain add-on component is active in the current client

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPONENT 0 'EA-FINSERV' X ADDON component to be checked

Exception Description
COMPONENT_NOT_ACTIVE Component is not active in current client.

Functionality
This function enables add-on developers to check whether a certainadd-on component is active in the current client, or not.
By using this function when modifying standard sources, the developercan add the add-on specific coding in a way that it is deactivatedautomatically, when the add-on component is not present in tableTBAON_CCHK in the current client (section Example).
In add-on development systems, the contents of table TBAON_CCHK aremaintained by the person responsible for the final assembly of theadd-on. The contents may differ from one client to the other.
In customer systems, the contents of table TBAON_CCHK are imported toall clients during the add-on installation. The contents will be thesame in all clients.

Example
Before entering add-on specific coding in standard sources, the functionshould be called in the following way:
call function 'CCHK_ADDON_COMPONENT_INSTALLED'
exporting
component = 'IS-PS'
exceptions
component_not_installed = 1
component_invalid = 2
others = 3.
if sy-subrc = 0.
*
* The add-on specific coding can be included here.
*
endif.

Further information
Please refer to OSS note 105973 for further information.