ECTR shows generic objects with some data like Object Key and Object Type.
Examples forgeneric objects in ECTR are object links (DRAD) for Documents in the container "Linked Objects".
This example show a linked Quality Notification to a Document. The Quality Notification itself is not a "BrowseObject" in ECTR, it`s a generic object. In the standard there are no configuration-possibilties to define icons or functions (Call of SAP GUI Transaction) for this generic objects.
To enable the definition of icons and the call of transactions in SAP GUI you have the configure the following steps.
Practical Example: Quality Notification (Object Type = QMQMEL)
Define DisplayGroup, FunctionGroup and Icon
Note that QMQMEL is the Object Type which is shown in the ECTR Obejct Browser (Highlighting in Screenshot above).
<ECTR_InstallationDirectory>\customize\config\default.txt
#Definition of FunctionGroup
plm.brobj.generic.fgroup.QMQMEL = myQMQMEL
#Definition of DisplayGroup
plm.brobj.generic.dgroup.QMQMEL = myQMQMEL
#Definition of Icon
plm.brobj.generic.icon.myQMQMEL = {0}/sap/notification
Define an API-Function
Note: All BrGenericObjects have the following parameters which can be used in the API-Definition:
- KEY
- TYPE
- DESCRIPTION
<ECTR_InstallationDirectory>\customize\aux-files\api_definitions2.xml
<Generic_API_Calls>
<function apiname="/DSCSAG/TRANSACTION_CALL2" name="QMQMEL_DISPLAY" refresh="true" transaction="bright" type="GENERIC">
<import>
<parameter name="TCODE" string="QM03"/>
</import>
<tables>
<table foreach_object="false" name="IT_PARAMETERS">
<parameter name="NAME" string="IQM"/>
<parameter name="VALUE" value="KEY"/>
</table>
</tables>
</function>
</Generic_API_Calls>
Define Function
<ECTR_InstallationDirectory>\customize\config\menu.guidef
+ om.popup.menu.generic.myQMQMEL = fnc.api.generic2(QMQMEL_DISPLAY)
Define Icons and Dictionaries for Function
Icons:
<ECTR_InstallationDirectory>\customize\aux-files\customer_icons.txt
fnc.api.generic2(QMQMEL_DISPLAY) = {0}/sap/display
Dictionary:
<ECTR_InstallationDirectory>\customize\dictionary\<language>\customer.txt
fnc.api.generic2(QMQMEL_DISPLAY) = Display myQMQMEL
Result
After the configurations (as described above) the Object Quality Notification is as follow:
Quality Notification with specified Icon:
Quality Notification with specified Functions: