Ansicht
Dokumentation
BCA_US_COMPONENT_ACTIVATION - Check whether a certain add-on component is active in the current client
BAL Application Log Documentation General Material DataThis documentation is copyright by SAP AG.
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
COMPONENTExceptions
COMPONENT_NOT_ACTIVEFunction Group
BCA_US_ACTIVETXBHW - 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 )