Ansicht
Dokumentation

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

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

BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function enables add-on developers to check whether a certain add-on component is active in the current client, or not.

By using this function when modifying standard sources, the developer can add the add-on specific coding in a way that it is deactivated automatically, when the add-on component is not present in table TBAON_CCHK in the current client (section Example).

In add-on development systems, the contents of table TBAON_CCHK are maintained by the person responsible for the final assembly of the add-on. The contents may differ from one client to the other.

In customer systems, the contents of table TBAON_CCHK are imported to all clients during the add-on installation. The contents will be the same in all clients.

Example

Before entering add-on specific coding in standard sources, the function should 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.

Notes

Further information

Please refer to OSS note 105973 for further information.





Parameters

COMPONENT

Exceptions

COMPONENT_NOT_ACTIVE

Function Group

BCA_US_ACTIVE

TXBHW - Original Tax Base Amount in Local Currency   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1638 Date: 20240523 Time: 170831     sap01-206 ( 31 ms )