Professional Documents
Culture Documents
Icon Guide
Icon Guide
Note
Before you start the implementation, make sure you have the latest version of this document.
This guide is valid as of SAP Engineering Control Center 5.2.7.0
The latest version is available on SAP Service Marketplace at
https://help.sap.com/viewer/p/SAP_ENGINEERING_CONTROL_CENTER
2
TABLE OF CONTENTS
1 SAP ECTR ICONS .................................................................................................................................. 4
1.1 DOCUMENT ICONS AND THEIR STATUSES ....................................................................................... 4
1.1.1 SPECIAL CASES .................................................................................................................................... 6
1.2 MATERIAL ICONS AND THEIR STATUSES ......................................................................................... 6
1.3 FOLDER ICONS AND THEIR STATUSES ............................................................................................. 7
1.4 CHANGE NUMBER ICONS AND THEIR STATUSES ........................................................................... 7
1.5 APPLICATION STRUCTURE ................................................................................................................. 8
2 CONFIGURATION OF ICONS ................................................................................................................ 9
2.1 ICONS FOR DOCUMENTS .................................................................................................................... 9
2.2 ICONS FOR MATERIALS ..................................................................................................................... 14
2.3 ICONS FOR CHANGE NUMBERS ....................................................................................................... 15
2.4 ICONS FOR BILLS OF MATERIALS .................................................................................................... 16
2.5 ICONS FOR EQUIPMENT .................................................................................................................... 16
2.6 ICONS FOR FUNCTIONAL LOCATIONS ............................................................................................ 17
2.7 ICONS FOR FOLDERS ........................................................................................................................ 18
2.8 ICON COLOR CHANGE FOR STATUS CHANGE ............................................................................... 20
2.8.1 COLOR DEFINITIONS FOR DOCUMENTS ......................................................................................... 20
2.8.2 COLOR DEFINITIONS FOR MATERIALS ............................................................................................ 20
2.8.3 COLOR DEFINITIONS FOR EQUIPMENT ........................................................................................... 21
2.9 ICON MAPPING USING A TEXT FILE ................................................................................................. 21
Icon Guide 3
1 SAP ECTR ICONS
PNG or GIF graphics in the formats 16x16, 24x24, 32x32, 48x48 or 64x64 pixels are used for icons. You
receive a large set of icons that can be combined. Customer-specific icons can be created with any graphics
program.
Please note that the file names of the graphics may not contain special characters or umlauts and must be
written in lower case.
1 2 3 4 5 6 7
Dirty flag
SAP ECTR allows you to create documents without starting an authoring system and creating an original
document there. Documents that are created without the direct use of an authoring system are denoted by a
dirty flag. The dirty flag is a yellow overlay triangle in the document icon.
This indicates that the integration with the authoring system still has to update the document. The update
involves the attributes and/or internal references to the original document. Authoring system integration
automatically updates the document when opening it and subsequently when saving it.
The document does not have more recent The document has more recent (unreleased)
versions or external references. versions but does not have external references.
Icon Guide 4
Icon Description Icon Description
Icon Description
A material has been assigned to the Multiple materials have been assigned to the
document. document. None are denoted as exclusive.
Icon Guide 5
Icon position 7: Notes
Icon Description
Assemblies window
In the Assemblies window, the document icons can indicate further statuses.
Icon Description
This position is marked in the "Sort String" of the position or in the "Reserve Field 4" of the object in
such a way that it can be suppressed when deriving the material BOM.
By "Sort String" is meant the STPO-SORTF field. "
Reserve Field 4" means the DRAW-RES4 field.
If one of these fields contains a value from the preference variable plm.docstructure.sortfield.ignoreChar
(default "U") after the ":", the X overlay is displayed.
The flag "EXCLUDE_INCLUSIVE_CHILDREN" on DMU / instance level has no effect on this overlay
icon.
Missing authorization
If there are no authorizations to view a document, the documents are marked with triangle icons.
Icon Description
1 2 3 4
Icon Guide 6
Icon position 1: Material icon (Depending on the material type)
Icon Description
Icon Description
Icon Description
Icon Description
Folder icons
Icon Guide 7
Change number icons
Menu bar
Linked material for DIR doesn`t exists. Shows all originals with a green traffic light
Document icons
An additional icon indicating the loading status of the assembly or components is displayed in the application
structure.
Icon Description Icon Description
The document is fully loaded in the The document is partially loaded in the
application. application.
Icon Guide 8
2 CONFIGURATION OF ICONS
Example
<icon>
<icondef icon_position="1"
icon_group="default"
icon_identifier="tree/ugs/$(TYPE)$(SUBTYPE)$(FAMILY)"/>
<icondef icon_position="2"
icon_group="default"
icon_identifier="flag/flag_version_$(HER)$(HNV)$(HRV)"/>
<icondef icon_position="3"
icon_group="default"
icon_identifier="flag/flag_primaryfiles_moe$(MOE)
_moc$(MOC)_iu$(IN_USE_BY_OTHER)"/>
<icondef icon_position="4"
icon_group="default"
icon_identifier="flag/flag_addfiles_aoe$(AOE)_aoc$(AOC)
_iu$(IN_USE_BY_OTHER)"/>
<icondef icon_position="5"
icon_group="default"
icon_identifier="flag/flag_material_$(MATX)$(MSTA)"/>
</icon>
The icon ID read from the DType must be fully qualified. The ID must contain the path and the icon name.
The icons are stored in the images.jar Java archive in the following directory:
%PLM_INSTDIR%/basis/classes
%PLM_INSTDIR%/<appl>/basis/classes
The directory is located in the CLASSPATH. For customer-specific icons, a corresponding Java archive is
provided in the following directory:
%PLM_INSTDIR%/customize/classes
%PLM_INSTDIR%/<appl>/customize/classes
Within the icon name, you can use placeholders, which the program replaces dynamically.
Icon Guide 9
Placeholder Description Values after conversion
$(APPLROLE) Returns the object type, information Valid values can be taken from the
in the RES4 field after the colon description of the RES4 field in this
guide.
Icon Guide 10
Placeholder Description Values after conversion
$(VALID) Validity of the document. Validity ' ' (empty string) = document is
statements can be made for not released, no statement can be
released documents. made in relation to the validity.
v (valid) = valid today, the
current date is between "Valid
from" and "Valid to"
f (future) = not valid yet, the
current date is before "Valid from."
p (past) = no longer valid, the
current date is after "Valid to."
$(RES1) RES1 field (DRAW table) Value of the RES1 field for the
document
Icon Guide 11
Placeholder Description Values after conversion
$(RES2) RES2 field (DRAW table) Value of the RES2 field for the
document
$(RES3) RES3 field (DRAW table) Value of the RES3 field for the
document
Examples
Once the placeholders have been replaced, the resulting icon names are available in lower case letters. The
system searches for these icon names within the CLASSPATH. If customer-specific images are integrated
using the cust classpath, for example, a customer-specific icon called mp.gif must be available in the
following path:
%PLM_INSTDIR%/customize/classes
Icon Guide 12
If the definition of the first icon is missing in the DType or the icon cannot be found, the default_<doctype>
is used for this document icon. The file is located in the "tree" directory. If an application type is stored in the
document, it is stored in directory tree/<appl.type>.
Icon Group
Example
plm.icon.group.doc.FR = released
plm.icon.group.doc.ER = engrel
In the DType definition, the assignment of the icons is then specified dependent on the status as in
the following example:
<icondef icon_position="3"
icon_group="default"
icon_identifier="flag/flag_lock_$(AOE)$(AOC)$(IN_USE_BY_OTHER)"/>
<icondef icon_position="3"
icon_group="released"
icon_identifier="flag/flag_released"/>
<icondef icon_position="3"
icon_group="engrel"
icon_identifier="flag/flag_engrel"/>
In the above example, it was defined that the third icon shows a different icon depending on the icon group.
If the document is in status FR, icon group released is determined. From the DType, the following definition
is used instead of the default definition:
<icondef icon_position="3"
icon_group="released"
icon_identifier="flag/flag_released"/>
Note
The icon groups are of a general nature and only depend on the status. If an icon group is defined in
the preference variables, the icon group must be defined in every DType.
SAP ECTR generically determines the icon name for the files in the Originals container according to the
following pattern:
tree/file/obr_tree_file_<Workstationapplication der Datei>
Example of an icon name for a PDF file as an additional original with workstation application "PDF":
tree/file/obr_tree_file_pdf
The Java archive images.jar contains the icons for some workstation applications. If additional icons are
required for customer-specific workstation applications, you can add the icons using an icon mapping entry in
the customer mapping table.
Icon Guide 13
2.2 Icons for materials
A material can have up to five icons that are defined using preference variables.
They are defined in the following preference file:
%PLM_INSTDIR%/customize/config/default.txt
The following preference variables are used:
plm.mat.icon.1 = flag/flag_mat_$(MTYPE)_$(LVORM)
plm.mat.icon.2 = flag/flag_obj_links_$(HOL)
plm.mat.icon.3 = flag/flag_bom_$(ANY_BOM)$(VAR_BOM)
plm.mat.icon.4 = flag/flag_variant_$(CL200)$(CL300)
plm.mat.icon.5 = flag/flag_preferred_$(PREF)
plm.mat.icon.6 = gos_note_flag_$(HGN)
The fifth material icon is reserved for the display of the preferred material in the linked objects container
and is only displayed in the container.
The icon ID read from the preference variable must be fully qualified. The icons are stored in the images.jar
Java archive in the following directory:
%PLM_INSTDIR%/basis/classes
The directory is located in the CLASSPATH. For customer-specific icons, a corresponding Java archive is
provided in the following directory:
%PLM_INSTDIR%/customize/classes
Within the icon name, you can use placeholders, which the program replaces dynamically.
Icon Guide 14
Placeholder Description Values after conversion
Here, <1...n> is the sequence number of the icons, which are arranged from the left to the right. The first
icon is always the main icon that represents the object type change number. Additional icons from the
second icon position onwards are used to display the additional properties of the change number.
Example
plm.ecm.icon.1 = obr_ecm
plm.ecm.icon.2 = statusicon_$(STATUS)
plm.ecm.icon.3 = relkeyicon_$(RELKEY)
If no icon mapping is used, the icon ID read from the preference variable must be fully qualified. The icons
are stored in the images.jar Java archive in the following directory:
%PLM_INSTDIR%/basis/classes
The directory is located in the CLASSPATH. For customer-specific icons, a corresponding Java archive is
provided in the following directory:
%PLM_INSTDIR%/customize/classes
Within the icon name, you can use placeholders, which the program replaces dynamically.
Icon Guide 15
Placeholder Description Values after conversion
You can use the icon mapping tables to convert the icon names from the preference variables into icon
names from Java archive images.jar.
If the main icon is redefined, you must make a corresponding entry in the icon mapping table. Otherwise the
default icon will always be used.
Example
plm.bom.icon.1 = tree/bom
The icon ID read from the preference variable must be fully qualified. The icons are stored in the images.jar
Java archive in the following directory:
%PLM_INSTDIR%/basis/classes
The directory is located in the CLASSPATH. For customer-specific icons, a corresponding Java archive is
provided in the following directory:
%PLM_INSTDIR%/customize/classes
You can use the mapping tables to convert the icon names from the preference variables into icon names
from Java archive images.jar.
Here, <1...n> is the sequence number of the icons, which are arranged from the left to the right. The first
icon here is always the main icon that represents the object type equipment. Additional icons from the
second icon position onwards are used to display the additional properties of the equipment. If no icon
definition is available, SAP ECTR uses a default icon for the equipment.
Example
plm.equi.icon.1 = flag/flag_equi_$(EQTYPE)_$(SYSSTATUS[INAK])
plm.equi.icon.2 = flag/flag_userstatus_$(USRSTATUS[0003])
If no icon mapping is used, the icon ID read from the preference variable must be fully qualified. The icons
are stored in the images.jar Java archive in the following directory:
Icon Guide 16
%PLM_INSTDIR%/basis/classes
The directory is located in the CLASSPATH. For customer-specific icons, a corresponding Java archive is
provided in the following directory:
%PLM_INSTDIR%/customize/classes
You can use placeholders, which the program converts dynamically.
You can use the icon mapping table to convert the icon names from the preference variables into icon names
from Java archive images.jar.
<1...n> is the sequence number of the icon. The numbers are counted from left to right. The first icon is
always the main icon that represents the Functional Location object type. The other icons display other
properties of the functional location. If an icon is not defined, SAP ECTR uses a standard icon for the
functional location.
Example
plm.floc.icon.1 = flag/flag_floc_$(FLOCTYPE)
If icon mapping is not used, the icon ID read from the preference variable must be fully qualified. The icons
are stored in the Java archive images.jar in the following directory:
%PLM_INSTDIR%/basis/classes
The directory is in the CLASSPATH. Customer-specific icons can be stored in a corresponding Java archive
under:
%PLM_INSTDIR%/customize/classes
You can use placeholders that the program converts dynamically.
Icon Guide 17
Placeholder Description Values after conversion
The value in
<customer_property> is used to
define the icon.
To define a customer-specific icon,
any information from the SAP
system can be used.
The icon mapping table is used to convert the icon names from the preference variables to icon names from
the Java archive images.jar.
<1...n> is the sequence number of the icon. The numbers are counted from left to right. The first icon is
always the main icon that represents the Folder object type. The other icons display other properties of the
folder. If an icon is not defined, SAP ECTR uses a standard icon for the folder.
Example
plm.fld.icon.1 = tree.folder_ACT$(ACTIVE)_OWN$(OWNER)_LOCK$(IS_LOCKED)
If icon mapping is not used, the icon ID read from the preference variable must be fully qualified. The icons
are stored in the Java archive images.jar in the following directory:
%PLM_INSTDIR%/basis/classes
The directory is in the CLASSPATH. Customer-specific icons can be stored in a corresponding Java archive
under:
%PLM_INSTDIR%/customize/classes
You can use placeholders that the program converts dynamically.
Icon Guide 18
Placeholder Description Values after conversion
The icon mapping table can be used to convert the icon names from the preference variables to icon names
from the Java archive images.jar.
Configuration Examples
Definition in the file default.txt:
# Definition of the folder icons. If at least plm.fld.icon.1 is defined this icon
# definition replaces the implicit setting of the folder icon.
# This definition applies only to standard ECTR folders and doesn't affect task folders
# or classification folders.
# The following placeholders can be used to define icon names for the different
# folder states:
# $(FLDTYPE) Folder type (possible value: document type of the folder DIR)
# $(STATUS) Folder status (possible value: status of the folder DIR)
# $(OWNER) Own folder in ECTR -> folder owner = current SAP user (possible values:
0/1)
# $(ACTIVE) Active folder (possible values: 0/1)
# $(HGN) Folder has GOS notes (possible values: 0/1)
# $(IS_LOCKED) Folder has lock status (possible values: 0/1)
# $(CUSTOM[<customer_property>])
# Any customer property can be used as placeholder for icon definition
# (possible value: value of the customer property)
plm.fld.icon.1 = tree.folder_ACT$(ACTIVE)_OWN$(OWNER)_LOCK$(IS_LOCKED)
plm.fld.icon.2 = gos_note_flag_$(HGN)
Icon Guide 19
2.8 Icon color change for status change
For the following SAP objects in SAP ECTR, the color of the icon is set dependent on the status:
Document
Material
Equipment
Here, the pixels with the color value from the following table are dynamically replaced with the color that is
specified in the preference variables.
RGB: 100 200 200
HEX: 64 C8 C8
Example
The color is specified as a hexadecimal using the RGB value, for example
FFFFFF = white
FF0000 = red
The color for each status is defined using the preference variable in the default settings file default.txt:
Example
Status = FR → read preference variable: plm.icon.colorForStatus.FR = 00FF00
The value for the icon color is '00FF00'.
Note
For documents, the color change can be controlled using the document status or the material status.
This is specified using the DType definition of the icon for the document. In the <icondef> statement,
use the attribute referenced_object="document" or "material" to define the status to be used.
Example
Status = BP → read preference variable: plm.maticon.colorForStatus.BP = FF0000
The value for the icon color is 'FF0000'.
Instead of the cross-plant material status, any other property can also be used to define the icon color. The
property to be used is defined using the following preference variable:
plm.mat.set.maticon.color.by.property = <Materialproperty>
Icon Guide 20
Specify the <Materialproperty> as it is returned from the function module in the SAP system. You can
also specify a customer property.
This allows you to make the icon color dependent on a cross-plant material status, for example:
plm.mat.set.maticon.color.by.property = MMSTA
Properties from other tables also explicitly require the table name:
plm.mat.set.maticon.color.by.property = MARC-MMSTA
In the same way as for the cross-plant material status, you can define a color as described above for any
status or any value that the property can accommodate. If no color definition exists, the color from the default
definition is also used in this case.
In the case of equipment, multiple system and user statuses can be set simultaneously. For this reason, you
define an evaluation sequence in the preference variables for defining the icon color. You do this by
numbering the sequence (<n>).
To determine the icon color, the preference variables are evaluated in the sequence specified. The status in
the preference variables is compared with the equipment status. If the status in the preference variables
exists for the equipment, the variable value is used as the icon color and the evaluation is terminated.
Otherwise, the evaluation continues with the next preference variables in the sequence. If no preference
variable with a suitable status is defined, plm.equi.icon.colorForStatus.default = <color> is
evaluated and used.
Example
Status = INAK → the preference variable read:
plm.equi.icon.colorForStatus.1.sys.INAK = FF0000
The value for the icon color is 'FF0000'.
Note
Because, as a result of color replacement, icons with different colors can have the same icon ID, the
icon color used is added to the icon ID internally. This allows the icons to be distinguished for filtering
in the active list, for example. If the color ID is added to the icon ID when color replacement is not
supported for the icon, the same icon is displayed multiple times in the filter list. This primarily affects
the icons in positions 2 to 6. To prevent this, you can deactivate the addition of the icon color to the
icon ID. To do this, set the use_status_color ="no" attribute in the <icondef> statement in the
DType definition. As a result, icons that look identical have the same icon ID and are displayed only
once in the filter list.
Icon Guide 21
makes it possible to compile icons. The required changes are made in a text file ( standard_icons.txt).
SAP ECTR evaluates the text file.
The default file standard_icons.txt is located in the folder:
%PLM_INSTDIR%\basis\aux-files
Example
{0}/pencil<<{0}/glasses
A combined icon where glasses are laid over a pencil and the right size and file extension are used
automatically.
The text files that assign the icons are processed in the following sequence:
Standard icons
%PLM_INSTDIR%\basis\aux-files\standard_icons.txt
Application icons
%PLM_INSTDIR%/applications/<app>/basis/aux-files/standard_icons.txt
Add-on icons
%PLM_INSTDIR%/addons/<addon>/basis/aux-files/standard_icons.txt
Customer-specific icons
%PLM_INSTDIR%/customize/aux-files/customer_icons.txt
To define folder icons, the following entries are possible in the icon mapping table:
Icon key Description
tree.folder.default If no other more precise information is entered, the key defines the
default icon for the folders in SAP ECTR.
Example
tree.folder.default = {0}/folder
tree.folder.<FOLDER_TYPE> Defines the icon for the specified folder type in SAP ECTR.
Example
tree.folder.FOL = {0}/folder
tree.folder.<FOLDER_TYPE>.<STATUS> Defines the icon for folders in SAP ECTR with a certain folder type
and a certain status.
Example
Folder with document type FOL and lock status (SP)
tree.folder.FOL.SP = {0}/folder<<{0}/o_locked_rb
Example
Icon Guide 22
Icon key Description
tree.myfolder.default = {0}/folder_blue
tree.myfolder.<FOLDER_TYPE> Defines the icon for your own folders for the specified folder type
in SAP ECTR.
Example
Own folder as a document with folder type (= document type) FOL
tree.myfolder.FOL = {0}/folder_blue
tree.myfolder.<FOLDER_TYPE>.<STATUS> Defines the icon for your own folders in SAP ECTR with a certain
folder type and a certain status.
Example
Folder with document type FOL and lock status (SP)
tree.myfolder.FOL.SP =
{0}/folder_blue<<{0}/o_locked_rb
tree.folder.active Defines the icon for the active folder in SAP ECTR.
Example
tree.folder.active = {0}/folder_green
tree.folder.whereused Defines the icon for the folders in the container for where-used
lists In Folders.
Example
tree.folder.whereused=
{0}/folder<<small/arrow_up_black
tree.folder.<FOLDER_CLASS> Defines the icon for the specified folder class for SAP PLM folders
in SAP ECTR.
Example
SAP PLM folder as a classification with folder type (= class type)
Z01
tree.folder.Z01 = {0}/folder_zitrone
Definition of Overlay Icons for the Class Status via Icon Mapping
To define the overlay icons for the class status, the following entries are possible in the icon mapping table:
Icon key Description
flag/flag_classif_stat_<CLASS_STATUS> Defines the icon for the class status. The icon is displayed in
case of an error in the classification.
Example
Define overlay icons for locked (CLASS_STATUS=2) and
incomplete (CLASS_STATUS=3) classifications.
flag/flag_classif_stat_2 =
flag/obr_tree_attention
flag/flag_classif_stat_3 =
flag/obr_tree_attention
Example
Icon Guide 23
Icon key Description
flag/flag_bom_ignored = {0}/sap/o_delete
Icon Guide 24
www.sap.com/contactsap
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable
for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality
mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are
all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation
to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are
cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the trademarks of their respective companies. See www.sap.com/copyright for additional trademark information and
notices.