How to create a new SAP 3D Visual Enterprise Viewer Search Query and use this as a new Visual Analytics Function for SAP ECTR.
Relevant configuration-files:
<ECTR_INSTDIR>\addons\sapvev\customize\config\default.txt
<ECTR_INSTDIR>\customize\dictionary\<language>\customer.txt
Relevant standard scripts:
<ECTR_INSTDIR>\addons\sapvev\customize\scripts\...
- Define attributes which are relevant for Visual Anaytics
- Open default.txt
- Define attributes
Example for Status and User from DRAW and Materialtype from MARA
plm.viewer.transfer.properties=DRAW-24;DRAW-7;MARA-MARA-MTART
Example for all attributes from DRAW and MARA
plm.viewer.transfer.properties=DRAW-*;MARA-*
- Create a new query in SAP 3D Visual Enterprise Viewer (VEV)
- Create a Search Query in VEV
- Define Metadata for Filter
- Select relevant Metadata (e.g. Status)
- Add Action and additional Statements
(here we make a coloration for all released “FR” documents in green and for all other documents in pink) - Save Query (here XXX.rhq)
Save Query as a new rhq-file under the relvant path for standard scripts.
- Create new function in the Menu for the Query
- Open default.txt
Cretae a new entry for the new function in the following preference:
plm.viewer.popupmenuNew entry:
fnc.execute.visual.enterprise.query(XXX.rhq)
- Define a dictionary key for the new function
- Open customer.txt
- Add a new entry:
fnc.execute.visual.enterprise.query(XXX.rhq) = New Function XXX
- Save all changes in the files and restart SAP ECTR
Result is a new Visual Analytics Function in the SAP 3D VEV menu: