SAP ECTR Interface To PTC CREO Userguide 2018 01 en
SAP ECTR Interface To PTC CREO Userguide 2018 01 en
User Guide
2018 - 01
SAP ECTR interface to PTC Creo
Contact: www.riess.de
Version: 2018 - 01
Validity: SAP Engineering Control Center interface to PTC Creo ≥ 1.1.15.xxx
Author(s): Andreas Stein - .riess engineering europe gmbh
Symbols
The symbols in the margin have the following meaning:
Symbol Meaning Symbol Meaning Symbol Meaning
Note Best practice Error
Warning / prerequisite Example Cause / question
Tip Parameters Solution / answer
SAP note Not Validity
recommended
Instructions
Formatting
In this text, the following formatting is used:
Format Meaning
bold Commands and buttons in procedures are formatted in bold.
Important information in the text is highlighted in bold.
italics References to other parts of the text and hyperlinks are formatted in italics.
Courier Filenames, folders, and paths are formatted in Courier font.
Courier Options, parameters, and their values are formatted in Courier.
* An asterisk is used to mark the default value of an option or parameter.
[ ] Square brackets mean that no option or parameter value has been set.
<user <user input> is formatted in Courier and enclosed in angle brackets.
input>
Default values
Options and parameters for which no explicit values are specified use the default value.
SAP ECTR interface to PTC Creo - Table of contents
Table of contents
1 Objective and Intended Audience of This Manual ................................................................................6
1.1 .riess engineering .........................................................................................................................6
1.2 Objective ......................................................................................................................................6
1.3 Intended Audience .......................................................................................................................7
1.3.1 Administrators ..........................................................................................................................7
1.3.2 Users .......................................................................................................................................7
2 Introduction ...........................................................................................................................................8
2.1 The SAP ECTR interface to PTC Creo TOOLKIT Tool ...............................................................8
2.2 Data Model ...................................................................................................................................9
2.2.1 Documents and Object Types .................................................................................................9
2.2.2 Document structures and sort strings ....................................................................................10
2.3 Icons for PTC Creo Parametric Originals ..................................................................................11
2.3.1 Object type icons for PTC Creo Parametric ..........................................................................12
2.3.2 Object type overlays for PTC Creo Parametric .....................................................................12
2.4 Starting SAP ECTR interface to PTC Creo ................................................................................13
3 System Requirements and Installation ...............................................................................................14
3.1 Notes in the SAP Support Portal................................................................................................14
3.2 System Requirements ................................................................................................................15
3.3 Downloading the software ..........................................................................................................15
3.4 Installation ..................................................................................................................................16
3.4.1 SAP Front End Installer .........................................................................................................16
3.4.2 Installation Directory ..............................................................................................................16
3.4.2.1 "documentation" folder ..................................................................................................16
3.4.2.2 "appdata" folder.............................................................................................................17
3.4.2.3 "basis" folder .................................................................................................................17
3.4.2.4 "template-customize" folder ..........................................................................................17
3.4.2.5 "customize" folder .........................................................................................................17
3.4.2.6 "template-templates" Folder..........................................................................................17
3.4.2.7 "templates" folder ..........................................................................................................18
3.5 Installing Updates.......................................................................................................................18
3.6 Licensing ....................................................................................................................................19
4 Configuration ......................................................................................................................................20
4.1 Using the Pre-configured Configuration Files ............................................................................21
4.1.1 Defining workstation applications ..........................................................................................21
4.1.2 Defining document types .......................................................................................................21
4.2 Configuring the SAP System .....................................................................................................22
4.2.1 Workstation application for CAD originals .............................................................................22
4.2.2 Document types for CAD originals ........................................................................................23
4.3 Configuring SAP ECTR ..............................................................................................................24
4.4 Configuring PTC Creo Parametric .............................................................................................25
I
SAP ECTR interface to PTC Creo - Table of contents
II
SAP ECTR interface to PTC Creo - Table of contents
III
SAP ECTR interface to PTC Creo - Table of contents
IV
SAP ECTR interface to PTC Creo - Table of contents
V
SAP ECTR interface to PTC Creo - Objective and Intended Audience of This Manual
This section informs you about the objective and the intended
audience of this manual.
The SAP Engineering Control Center interface to PTC Creo (short: SAP ECTR interface to PTC Creo) is
developed by .riess engineering. For information on .riess engineering and SAP ECTR interface to PTC
Creo, please refer to our website.
1.2 Objective
This manual has been designed to provide you with all information required to work with SAP ECTR
interface to PTC Creo and to configure SAP ECTR interface to PTC Creo.
6
SAP ECTR interface to PTC Creo - Objective and Intended Audience of This Manual
This manual is intended for administrators and users of SAP ECTR interface to PTC Creo.
1.3.1 Administrators
This manual is intended for all persons responsible for the installation, administration, and maintenance of
SAP ECTR interface to PTC Creo.
The responsible persons should have the following CAD and SAP knowledge:
• Administration of the PTC Creo Parametric CAD system
Installing PTC Creo Parametric
Configuring PTC Creo Parametric (e.g. using the config.pro, parametric.bat files)
• Administration of SAP ECTR
Installing SAP ECTR
Configuring SAP ECTR (e.g. using the dtype.xml, default.txt files)
Understanding the concept and application of SAP ECTR
• Administration of SAP systems including:
Importing SAP notes / transports
Using SAP Download Center
Knowledge of the SAP Document Management System (e.g. documents, workstation
applications)
Customizations (e.g. transactions such as SPRO, CSADMIN, CDESK_CUS (ECC) or
CAD_SRV_CUS (S4/Hana))
Creating and transferring customization transports
Creating, enabling, and disabling a BAdI implementation
Importing Business Configuration Sets
1.3.2 Users
Chapter 6, “Using the Menu and Commands”, is intended for the users of SAP ECTR interface to PTC
Creo.
The users should have the following CAD and SAP knowledge:
• Using PTC Creo Parametric
Knowledge and understanding of the dependencies and references between CAD objects
• SAP PLM concepts and applications
Understanding and using SAP Engineering Control Center
Understanding and using the SAP Document Management System
Creating and editing documents
Creating and editing material master records
Creating and editing bills of material
Creating and editing change master records
7
SAP ECTR interface to PTC Creo - Introduction
2 Introduction
SAP ECTR interface to PTC Creo integrates PTC Creo Parametric with SAP Engineering Control Center.
You can launch SAP ECTR interface to PTC Creo, together with PTC Creo Parametric, from within SAP
ECTR.
More information
For more information on SAP ECTR interface to PTC Creo, please refer to our website. Visit us at:
http://www.riess.de
SAP ECTR interface to PTC Creo is registered and embedded into PTC Creo Parametric as a TOOLKIT
tool (auxiliary application). The SAP PLM menu of SAP ECTR interface to PTC Creo can be displayed in
the PTC Creo Parametric ribbon.
Figure: SAP ECTR interface to PTC Creo in the PTC Creo Parametric ribbon
SAP ECTR interface to PTC Creo allows you to access the SAP ECTR features directly from within the
CAD session.
SAP ECTR interface to PTC Creo includes the following features:
• Launch SAP ECTR
• Create originals including document info record
• Save originals to SAP and load from SAP
• Import files to SAP
• Refresh CAD parameters (attributes) using SAP field data and vice versa
• View and edit documents
• Assign and display materials
• Create, display, and edit bills of material
8
SAP ECTR interface to PTC Creo - Introduction
The data model for mapping CAD data from PTC Creo Parametric to SAP PLM uses the following
objects, among others:
• Documents and object types
• Document structures and sort strings
For each file created in PTC Creo Parametric and managed by SAP PLM, a document info record is
required. The CAD file will be linked to the document info record. CAD files having a document info record
are called originals or CAD originals. Documents consist of the document info record and the original file.
In PTC Creo Parametric, you can create different types of CAD originals. Depending on the CAD type,
the Reserve Field 4 of the document info record contains a corresponding entry. This entry indicates the
object type.
Object type
Each object type consists of two parts:
• Application type
• Application role
You can specify both the application type and the application role in the corresponding DType definition.
In the object type, the application type and the application role are separated by a colon.
Application type
The application type depends on the CAD system. For PTC Creo Parametric, the application type is PRO.
Application role
The application role is formed depending on the type of CAD original and on its function. Based on the
type and function, an application role may contain multiple identifiers.
CAD type Extension Application role
Sketch *.sec S
Part *.prt P
Assembly *.asm A
Manufacturing *.asm (*.mfg) M
Drawing *.drw D
Format *.frm F
Report *.rpt R
Diagram *.dgm T
Notebook *.lay L
User-Defined Feature *.gph H
9
SAP ECTR interface to PTC Creo - Introduction
Table: Additional object type specifications for the PTC Creo Parametric function
The relationships within CAD structures, e.g. between assemblies and their components, are mapped
using document structures (document BOMs).
The relationships between the documents in the document structure and the document of the BOM
header are mapped in the SORTF field for each BOM item. The entry in the SORTF field is referred to as
the sort string.
Sort string
The sort string consists of two parts:
• Application type
• Reference type
In the sort string, the application type and the reference type are separated by a colon.
Application type
The application type depends on the CAD system. For PTC Creo Parametric, the application type is PRO.
10
SAP ECTR interface to PTC Creo - Introduction
Certain information on documents is displayed in SAP ECTR using icons. Besides general icons that
apply to all documents, there are special icons for the PTC Creo Parametric object types. Depending on
the document status, the background of object type icons may have a specific color.
More information on the PTC Creo Parametric object is shown as overlays placed on top of the object
type icon.
Example
The following figure shows the PTC Creo Parametric object type icon (first icon from the left). The icons at
the other positions are general icons.
Configuring Icons
In the dtype.xml file, you can specify the icons to be displayed and their order for each DType. The
status-dependent background color for the object type icons is defined in the default.txt file.
More information
For further details on the icons and overlays in SAP ECTR, please refer to the SAP ECTR
documentation.
11
SAP ECTR interface to PTC Creo - Introduction
The application_role attribute in the DType definition determines the object type icon to be used.
Part
Assembly
Manufacturing
Drawing
Format
Report
Diagram
Notebook
User-Defined Feature
Family table—instance
Table: PTC Creo Parametric Object type overlays—supplemental object type information
Object is obsolete
12
SAP ECTR interface to PTC Creo - Introduction
PTC Creo Parametric must be launched from SAP ECTR. The CAD session will then be connected to
SAP ECTR.
Each time you start PTC Creo Parametric, SAP ECTR interface to PTC Creo is registered as a TOOLKIT
tool and embedded into the application.
13
SAP ECTR interface to PTC Creo - System Requirements and Installation
SAP ECTR interface to PTC Creo can only be installed successfully if the system requirements are met.
The installer must be downloaded from the SAP Software Download Center. Then, you can use the SAP
Front-End Installer to install SAP ECTR interface to PTC Creo.
Update installations must also be performed with the SAP Front-End Installer.
The following important notes are available in the SAP Support Portal:
Support process
2107391 Support process for .riess engineering gmbh for SAP ECTR interface to PTC Creo
Improvement requests
2307014: Improvement request for SAP ECTR
14
SAP ECTR interface to PTC Creo - System Requirements and Installation
The following requirements for the systems / components listed must be met in order to use SAP ECTR
interface to PTC Creo:
System Prerequisite
SAP ECTR SAP ECTR 5.1 or higher
PTC Creo Parametric 1.0 or higher
Hardware See PTC Hardware Notes
Platform Windows 7 and higher (64-bit Edition)
SAP ECTR
In order to use SAP ECTR, further system requirements must be met, in particular with respect to the
SAP system. For further details, please refer to the SAP ECTR documentation.
SAP ECTR interface to PTC Creo can be downloaded from the SAP Software Download Center.
Prerequisite
The software is only available as a download for customers with a valid contract or trial contract. Without
any contract, you will not have access to the software in the SAP Software Download Center.
Procedure
Do the following to download SAP ECTR interface to PTC Creo from the SAP Software Download Center:
1) Log in to the SAP Software Download Center:
https://support.sap.com/swdc
or
https://launchpad.support.sap.com/#/softwarecenter
2) Under By Alphabetical Index (A-Z), go to E and search for ECTR INTERFACE TO CREO.
3) In the results list, select the most recent software version.
4) Click Support Packages and Patches.
5) Click Comprised Software Component Versions.
6) Download the most recent patch from the SAP Software Download Center.
Result: The SAP ECTR interface to PTC Creo installer is available on your workstation.
15
SAP ECTR interface to PTC Creo - System Requirements and Installation
3.4 Installation
For the installation of SAP ECTR interface to PTC Creo, the SAP Front End Installer must be
used. During the installation, the installer creates the installation directory and various subdirectories.
Prerequisite
Before you can install SAP ECTR interface to PTC Creo, SAP ECTR must already have been installed.
Procedure
Do the following to install SAP ECTR interface to PTC Creo.
1) Unpack the download object you downloaded from the SAP Software Download Center on
your workstation.
2) Run the program named EctrCreo<xx>P<y>.exe.
3) Follow the instructions of the SAP Front End Installer.
4) Exit the SAP Front End Installer.
Result: SAP ECTR interface to PTC Creo is now installed in the folder named
%PLM_INSTDIR%\applications\pro under the SAP ECTR installation directory.
Registration
When SAP ECTR interface to PTC Creo is launched for the first time from SAP ECTR, it will be registered
automatically as a TOOLKIT tool.
16
SAP ECTR interface to PTC Creo - System Requirements and Installation
Initial Installation
When you install SAP ECTR interface to PTC Creo for the first time on your workstation, the entire
content of the template-customize folder is copied to the customize folder.
Update
Please note that, if the customize folder already contains files, they will not be overwritten when you
update SAP ECTR interface to PTC Creo using the SAP Front End Installer.
Initial Installation
If you install SAP ECTR interface to PTC Creo for the first time on your workstation, the entire content of
the template-templates folder is copied to the templates folder.
17
SAP ECTR interface to PTC Creo - System Requirements and Installation
Update
Please note that, if the templates folder already contains files, they will not be overwritten when you
update SAP ECTR interface to PTC Creo using the SAP Front End Installer.
For the update installations of SAP ECTR interface to PTC Creo, the SAP Front End Installer
must be used. During the installation, the content of the installation directory and most subdirectories will
be overwritten.
18
SAP ECTR interface to PTC Creo - System Requirements and Installation
3.6 Licensing
For SAP ECTR interface to PTC Creo, a valid license check file stored in the
%PLM_INSTDIR%\applications\pro\customize\license directory is required.
SAP note
2107448: Licensing for SAP ECTR interface to PTC Creo
19
SAP ECTR interface to PTC Creo - Configuration
4 Configuration
In order to integrate PTC Creo Parametric with SAP ECTR interface to PTC Creo, you need to configure
the following systems:
• SAP
• SAP ECTR
• PTC Creo Parametric
• SAP ECTR interface to PTC Creo
As an alternative, you can use the pre-configured configuration files that have been copied to the
%PLM_INSTDIR%\applications\pro\template-customize\config folder during the installation
of SAP ECTR interface to PTC Creo.
Prerequisite
Before starting to configure SAP ECTR interface to PTC Creo, make sure that SAP ECTR has been
configured properly, as described in the SAP ECTR documentation.
20
SAP ECTR interface to PTC Creo - Configuration
During the initial installation of SAP ECTR interface to PTC Creo, the pre-configured configuration files
from the %PLM_INSTDIR%\applications\pro\template-customize\config directory are copied
to the %PLM_INSTDIR%\applications\pro\customize\config directory.
The various configuration files are adapted to each other. The SAP objects specified in the configuration
files, such as workstation applications, match the specifications in the SAP ECTR documentation.
The following objects need to be created in the SAP system if they have not been imported via the BC
set:
• Workstation applications
• Document types
In addition to the workstation applications mentioned in the SAP ECTR documentation, define the PRO
workstation application (see 4.2.1 Workstation application for CAD originals).
Define the following document types for PTC Creo Parametric originals (see: 4.2.2 Document types for
CAD originals).
Document type File type
PPR *.prt
PAS *asm
PDR *.drw
PSK *.sec
PLY *.lay
PCE *.cem
PRE *.rpt
PDG *.dgm
PFR *.frm
PUF *.gph
21
SAP ECTR interface to PTC Creo - Configuration
SAP ECTR interface to PTC Creo and SAP ECTR check CAD files into the SAP Document Management
System. For this purpose, workstation applications and document types including a status network and a
classification are required.
The required document types and status networks depend on the customer-specific design process
mapping concept.
Document types and workstation applications are required when you define a DType.
Detailed information
For further details on how to configure the SAP system, please refer to the SAP ECTR documentation in
the %PLM_INSTDIR%\documentation\Manuals directory.
22
SAP ECTR interface to PTC Creo - Configuration
23
SAP ECTR interface to PTC Creo - Configuration
Before you can use SAP ECTR interface to PTC Creo, you need to configure SAP ECTR as well.
Settings made in the following configuration files in the
%PLM_INSTDIR%\applications\pro\customize\config folder will influence the behavior of SAP
ECTR interface to PTC Creo:
• dtype.xml
• default.txt
• menu_macros.txt
• attributes-from-sap.xml
• attributes-to-sap.xml
• SAPECTRInterface.prefs
Detailed information
For further details on how to configure SAP ECTR, please refer to the SAP ECTR documentation.
Examples
You can find sample configuration files in the following directory:
%PLM_INSTDIR%\applications\pro\template-customize\config.
You can find sample DType definitions in the following file:
%PLM_INSTDIR%\applications\pro\template-customize\config\dtype.xml.
24
SAP ECTR interface to PTC Creo - Configuration
For SAP ECTR interface to PTC Creo, you need to set the following options and values in the
config.pro file:
Option Value
save_objects changed_and_specified
override_store_back no
save_object_in_current no
file_open_default_folder working_directory
save_instance_accelerator none
retrieve_instance_dependencies instance_and_generic_deps
tk_enable_ribbon_custom_save yes
visible_message_lines 4
allow_create_pdm_param yes
You can launch SAP ECTR interface to PTC Creo, together with PTC Creo Parametric, from SAP ECTR.
When you start SAP ECTR interface to PTC Creo for the first time, the configuration dialog appears.
Procedure
Do the following to start PTC Creo Parametric for the first time from SAP ECTR:
1) Launch SAP ECTR.
2) Select System Launch Application Launch PTC Creo.
3) In the PTC Creo Start File field, specify the path to the PTC Creo Parametric startup file, e.g.
C:\Program Files\PTC\Creo 4.0\M010\Parametric\bin\parametric.bat.
4) In the Execute in field, specify the path to the PTC Creo Parametric startup directory, e.g. C:\SAP
PLM start.
5) Click Start.
Result: This launches PTC Creo Parametric and embeds SAP ECTR interface to PTC Creo as a
TOOLKIT tool. The configuration dialog is displayed.
25
SAP ECTR interface to PTC Creo - Configuration
For the configuration of SAP ECTR interface to PTC Creo, a configuration dialog is available. The
settings you specify in the configuration dialog will be stored in the SAPECTRInterface.prefs file.
The file SAPECTRInterface.prefs contains static settings that will not be changed by SAP ECTR
interface to PTC Creo.
Required entries
The %PLM_INSTDIR%\applications\pro\customize\config\SAPECTRInterface.prefs file
must contain the following entries:
• Execute in
de.riess.proeectr.proeExecFolder =<Path\PTC_CREO_PARAMETRIC_START_DIR>
• PTC Creo Start File
de.riess.proeectr.wildFireExe =<Path\PTC_CREO_PARAMETRIC_START_FILE>
You can open the configuration dialog from the SAP PLM menu or using the configure.exe
application.
In this dialog, the available configuration options are grouped by topics and displayed on separate pages.
26
SAP ECTR interface to PTC Creo - Configuration
Other Settings
Please note that besides the settings in the configuration dialog for SAP ECTR interface to PTC Creo,
additional settings in the SAP ECTR configuration files are required in order to fully benefit from the
features of SAP ECTR interface to PTC Creo.
Permissions
You need write permissions to the
C:\Users\<Username>\AppData\Roaming\.riess\SAPECTRInterface directory.
Without write permissions, you will not be able to launch SAP ECTR interface to PTC Creo.
You need write permissions to the
%PLM_INSTDIR%\applications\pro\customize\config directory.
Without write permissions, you will not be able to configure SAP ECTR interface to PTC Creo.
Opening the configuration dialog from SAP ECTR interface to PTC Creo
Do the following to open the configuration dialog from the SAP PLM menu.
1) Click SAP PLM Additional Functions Settings Settings.
2) Configure SAP ECTR interface to PTC Creo.
3) Save your settings.
Result: The configuration dialog is open and the settings have been saved.
27
SAP ECTR interface to PTC Creo - Configuration
On the System page, you can specify the files and paths that are required to launch SAP ECTR interface
to PTC Creo.
Only if all required settings have been made on the System page, it is possible to embed SAP ECTR
interface to PTC Creo as a TOOLKIT tool in PTC Creo Parametric and start it.
If you start PTC Creo Parametric for the first time from SAP ECTR and SAP ECTR interface to PTC Creo
has not been configured completely on the System page, the configuration dialog will open automatically.
Example
C:\Program Files\PTC\Creo 4.0\M010\Parametric\bin\parametric.bat
Example
%PTC_CREO_PARAMETRIC_START_FILE%
Example
Set PTC_CREO_PARAMETRIC_START_FILE=
C:\Program Files\PTC\Creo 4.0\M010\Parametric\bin\Parametric.bat
28
SAP ECTR interface to PTC Creo - Configuration
4.6.3.2 Execute in
To start PTC Creo Parametric from SAP ECTR, select System Launch Application Launch PTC
Creo.
In the Execute in field, specify the path to the directory from where you want to start PTC Creo
Parametric.
If this directory does not contain the config.pro and creo_parametric_customization.ui files
yet, they will be copied there from the
%ECTR_INSDIR%\applications\pro\appdata\config\proe directory.
In case errors occur, the std.err and traceback.log files will be created in this directory.
Example
C:\Data\CAD_Start_Directory
Example
%PTC_CREO_PARAMETRIC_EXECUTE_IN%
Example
Set PTC_CREO_PARAMETRIC_EXECUTE_IN=C:\Data\CAD_Start_Directory
4.6.3.3 Defining and enabling the PTC Creo Parametric start environment
Due to varying requirements or customers, it might be necessary to work in different PTC Creo
Parametric environments. SAP ECTR interface to PTC Creo, together with SAP ECTR, supports you in
switching between environments.
When you open an original, SAP ECTR interface to PTC Creo will check, together with SAP ECTR, if the
active CAD environment matches the one specified for the original. The CAD environment is derived
automatically from specific environment properties.
More information
For more details on Define and activate PTC Creo Parametric start environments, please refer to 5.1
Using different CAD environments.
29
SAP ECTR interface to PTC Creo - Configuration
On the Menu page, you can configure the SAP PLM menu and the context menu. Changes in the SAP
PLM menu configuration will only become effective when you restart PTC Creo Parametric.
Synchronizing the SAP PLM menu and the SAP PLM tab
Now, you need to remove the options that you removed from the Menu page of the SAP PLM menu also
from the SAP PLM tab on the PTC Creo Parametric ribbon.
30
SAP ECTR interface to PTC Creo - Configuration
Synchronizing the SAP PLM menu and the SAP PLM tab
Now, you need to remove the commands that you removed from the SAP PLM menu (by configuring the
Menu page) also from the SAP PLM tab on the PTC Creo Parametric ribbon.
Invariable checkboxes
The checkboxes of commands whose setting cannot be changed (i.e. enabled or disabled) are controlled
via settings on a different page of the configuration dialog. Depending on the setting there, the
corresponding command is available or not in the SAP PLM menu.
31
SAP ECTR interface to PTC Creo - Configuration
On the Save page, you can define the behavior of SAP ECTR interface to PTC Creo when saving
originals in SAP.
Enabling thumbnails
To create thumbnails for SAP ECTR, enable the checkboxes of the JPEG formats for 3D models and 2D
drawings.
32
SAP ECTR interface to PTC Creo - Configuration
33
SAP ECTR interface to PTC Creo - Configuration
4.6.5.4 Delete old versions from the working directory when saving to SAP
PTC Creo Parametric does not overwrite CAD files when saving them, but creates additional versions of
these files in the working directory.
The file names are incremented by one (this number is added to the file extension).
1000004711ppr000.prt
1000004711ppr000.prt.1
1000004711ppr000.prt.2
1000004711ppr000.prt.3
When saving originals to SAP with Originals Save or Originals Save and Display, the file with the
highest number is copied (without that number) and checked in to SAP.
It is possible to have the numbered files deleted automatically after saving the most recent file (without its
number) to the SAP working directory.
With Delete old versions (e.g. *.prt.1 - *.prt.n) after Save in SAP from working directory, you can
specify that old versions will be deleted from the working directory after saving the most recent file
(without its number) to SAP.
Deleting old versions from the SAP working directory after saving
Do the following to configure that old versions will be deleted from the working directory after saving to
SAP.
1) Enable the Delete old versions (e.g. *.prt.1 - *.prt.n) after Save in SAP from working directory
checkbox.
2) In the pull-down menu, select one of the following options:
Delete all versions
Keep highest version
3) Save your settings.
Result: The numbered files are deleted automatically after saving the most recent file (without its number)
to the SAP working directory.
Import UDF
The command SAP PLM Additional Functions Extras UDF Import UDF is also activated by
enabling the Include Formats User-Defined Features in Document Structure checkbox.
34
SAP ECTR interface to PTC Creo - Configuration
On the Parameter page, you can define the behavior of SAP ECTR interface to PTC Creo when
initializing CAD parameters.
Initializing parameters
Do the following to specify the name, target, and value of parameters to be initialized:
1) Enable the Define CAD Parameters, which are initialized using the commands "Add format"
and "Initialize Parameters" checkbox.
2) Double-click to enable the input field in the Name column.
3) Enter the parameter name into the Name column.
4) To initialize the parameter in a drawing, enable the checkbox in the Drawing column.
5) Double-click to enable the input field in the Drawing column.
6) Enter the desired initial value.
7) To initialize the parameter in a model, enable the checkbox in the Model column.
8) Double-click to enable the input field in the Model column.
9) Enter the desired initial value.
10) Repeat these steps for other parameters you need and then save your settings.
Result: When you add a format from within SAP by selecting Originals Add Format or SAP PLM
Additional Functions Extras Initialize Parameters, the missing parameters will be created and
initialized with the desired values.
35
SAP ECTR interface to PTC Creo - Configuration
On the Ballooning page, you can define the behavior of SAP ECTR interface to PTC Creo when
refreshing component parameters.
36
SAP ECTR interface to PTC Creo - Configuration
On the Import page, you can define the behavior of SAP ECTR interface to PTC Creo when importing
CAD files.
On the Directories page, you can define the behavior of SAP ECTR interface to PTC Creo when
refreshing directories.
Enable the Specify the working directories PTC Creo Parametric is allowed to change to
temporarily checkbox
Specify the directories to which PTC Creo Parametric is allowed to change temporarily.
1) Enable the Specify the working directories PTC Creo Parametric is allowed to change to
temporarily checkbox.
2) Under Change Working Directory, enter one allowed directory per line into the Directories input
field.
3) Confirm your input by pressing the [ ] key.
4) Enter more paths, if required.
Result: If required, PTC Creo Parametric is now allowed to change to the working directories you
indicated.
37
SAP ECTR interface to PTC Creo - Configuration
On the Advanced page, you can define settings that override defaults and limitations.
Restriction
Only disable the Expand family tables completely checkbox if the
plm.structure.application.init.strategy.levels.pro preference has a value ≠ all.
38
SAP ECTR interface to PTC Creo - Configuration
4.6.10.2.2 Disable limitation ʺDo not create UDF if the reference part has no
Documentʺ
When you import CAD files, they are usually renamed. Once a UDF (User-Defined Feature) has been
created, its UDF reference model may no longer be renamed. Otherwise, the UDF will lose its link to the
reference part and thus might become useless. By default, you can only create new UDFs in SAP ECTR
interface to PTC Creo if a document already exists for the associated UDF reference model.
Disable limitation ʺDo not create UDF if the reference part has no Documentʺ
Disable the limitation ʺDo not create UDF if the reference part has no Documentʺ
1) Enable the Disable limitation ʺDo not create UDF if the reference part has no Documentʺ
checkbox.
Result: You can create UDFs even though no document is linked to the UDF reference model.
On the ModelCHECK page, you can specify how SAP ECTR interface to PTC Creo will interact with PTC
Creo ModelCHECK.
PTC Creo ModelCHECK can be executed when you save or save and display CAD originals in SAP.
Optionally, you can prevent originals with errors from being saved or saved and displayed in SAP.
Settings
Enable both checkboxes in the Settings section. The PTC Creo ModelCHECK results are shown in the
internal browser, allowing you to correct any errors immediately.
Configurations
In the Configurations section, enable the Optional path (radio button option), if you want to execute
other checks than those specified in the default path before saving your CAD originals in SAP.
39
SAP ECTR interface to PTC Creo - Configuration
Messages
If you select the Display message option from the pull-down menu, a message will be displayed in case
of errors. Saving of originals with errors must be aborted.
If you select the No message option from the pull-down menu, a message will be displayed in case of
errors. Saving of originals with errors will always be aborted. A message in the message area will inform
the PTC Creo Parametric user that saving has been aborted.
If you select the Display dialog option from the pull-down menu, a dialog box will be displayed in case of
errors. You can then select to continue or abort the procedure of saving originals with errors.
40
SAP ECTR interface to PTC Creo - Advanced Configuration
5 Advanced Configuration
You can only fully benefit from the scope of functionality of SAP ECTR interface to PTC Creo if the entire
system has been configured accordingly. This usually implies editing various configuration files of the
systems involved.
The following functions typically require a combination of various settings:
• CAD environments
Using different CAD environments
Integrating SAP ECTR interface to PTC Creo into CAD environments launched by an external
application
• Attributes and formats
Refreshing attributes and SAP fields
Managing Drawing Frames in SAP
• Smart containers
Using smart containers for drawings
Displaying dependent drawings in the Where Referenced container
• Family tables
Defining a DType for family tables
• Application structure
Setting the Initial Expansion Level of the Application Structure
• Advanced use cases
Using ballooning functions
Managing User-Defined Features in SAP
Loading CAD structures—without referenced objects
41
SAP ECTR interface to PTC Creo - Advanced Configuration
Due to varying requirements or customers, it might be necessary to work in different PTC Creo
Parametric environments. SAP ECTR interface to PTC Creo, together with SAP ECTR, supports you in
switching between environments.
When starting PTC Creo Parametric, you can select a defined CAD environment. In each batch file, the
PTC Creo Parametric startup file (parametric.bat) and the startup directory (Execute in) to be used
can be specified explicitly. For example, PTC Creo Parametric reads the config.pro file stored in the
startup directory and starts as configured there. In each batch file, you can set other environment
variables that are specific to the CAD environment and copy additional files to the startup directory.
When opening an original, SAP ECTR interface to PTC Creo checks, together with SAP ECTR, whether
the active CAD environment matches the one specified for the original. The CAD environment is derived
automatically from specific environment properties.
Launching PTC Creo Parametric from within SAP ECTR using a selected environment
If you launch PTC Creo Parametric from SAP ECTR using Launch PTC Creo, a selection dialog
displays. In the selection dialog, you can select the desired CAD environment from a list of available CAD
environments. With Launch PTC Creo, PTC Creo Parametric will then be launched in the selected
environment. SAP ECTR will then assign the corresponding CAD environment properties to all CAD
originals you create or modify in the selected CAD environment or to the associated documents.
• Version
• Date Code
• Environment
42
SAP ECTR interface to PTC Creo - Advanced Configuration
Opening an original from SAP ECTR while PTC Creo Parametric is already running
If PTC Creo Parametric has already been started in a selected CAD environment and you open an
original from SAP ECTR, SAP ECTR compares the CAD environment properties with the running CAD
environment. If the CAD environment matches these properties, the original will be opened in PTC Creo
Parametric. If the CAD environment does not match these properties, a dialog displays. There, the user
can select whether to cancel opening the original or to open the original in the currently running CAD
environment.
Prerequisite
In order to work with multiple CAD environments, make sure that the following prerequisites are met:
Configuration of SAP ECTR
• In the default.txt file, the plm.check.environment.PRO = true preference must be set.
Configuration of SAP ECTR interface to PTC Creo
• The environment variables set in the batch files must have been specified in the SAP ECTR
interface to PTC Creo settings.
• The CAD environments must have been defined and enabled.
CAD startup directories
• The CAD startup directories for each CAD environment must have been defined.
• The PTC Creo Parametric configuration files specific to each CAD environment must exist in the
CAD startup directories.
Batch files
• The
%PLM_INSTDIR%\applications\pro\customize\scripts\batches\
prepare_environment
directory must contain the batch files specific to that CAD environment.
• The batch files must contain environment variables indicating the path to the corresponding PTC
Creo Parametric startup file and startup directory.
Optionally: DType and seedfile
• For each CAD environment, you can define an environment-specific DType and seedfile.
43
SAP ECTR interface to PTC Creo - Advanced Configuration
Defining and enabling CAD environments in SAP ECTR interface to PTC Creo
Do the following to configure and enable the CAD environments:
1) Open the configuration dialog of SAP ECTR interface to PTC Creo (see 4.6 SAP ECTR interface to
PTC Creo).
2) Open the System page.
3) Click the PTC Creo Start File field.
4) Specify the correct environment variable, such as %PTC_CREO_PARAMETRIC_START_FILE%.
5) Click the Execute in field.
6) Specify the correct environment variable, such as %PTC_CREO_PARAMETRIC_EXECUTE_IN%.
7) Enable the Define and activate PTC Creo Parametric start environments checkbox.
8) Click New.
9) Specify all properties for the environment, starting at the left.
CAD Version Date Code Environment
10) Click OK.
11) Repeat these steps for other CAD environments.
12) Click Save to save your settings.
Result: The CAD environments are now properly defined and enabled.
plm.check.environment.PRO
If you enable the Define and activate PTC Creo Parametric start environments checkbox, the
plm.check.environment.PRO = true preference in the
%PLM_INSTDIR%\applications\pro\customize\config\default.txt file must be set.
Date Code
When entering the date code, make sure to specify it correctly. Example: M010.
Environment
Make sure to enter a meaningful name for the environment.
Batch files
If you filled in the CAD Version, Version Ext. (Date Code), and CAD Environment fields completely, a
filename will be suggested in the Batch File field. Confirm the suggested filename. Alternatively, you can
select a different filename or path. In this case, click the button.
44
SAP ECTR interface to PTC Creo - Advanced Configuration
Environment variables
Use the same environment variables as those specified in the SAP ECTR interface to PTC Creo
configuration dialog. Examples:
• PTC Creo Start File
Set PTC_CREO_PARAMETRIC_START_FILE=
C:\Program Files\PTC\Creo 4.0\M010\Parametric\bin\parametric_en.bat
• Execute in
Set PTC_CREO_PARAMETRIC_EXECUTE_IN=
C:\CAD Environment\ Creo4_M010_English
45
SAP ECTR interface to PTC Creo - Advanced Configuration
Encoding
When you save your batch files, make sure to select the correct encoding. Set the encoding in your
editor, e.g. Notepad++, to ANSI.
Quotes
When specifying the paths, do not use quotes (double inverted commas)!
Filenames
Use the same filenames as those suggested for the respective environment in the SAP ECTR interface to
PTC Creo configuration dialog, such as
• Creo 4.0_M010_english.bat
• Creo 4.0_M010_german.bat
46
SAP ECTR interface to PTC Creo - Advanced Configuration
Make sure that the environment attributes match the configuration of SAP ECTR interface to PTC Creo:
47
SAP ECTR interface to PTC Creo - Advanced Configuration
By default, SAP ECTR interface to PTC Creo is set up so that PTC Creo Parametric will be launched from
within the SAP ECTR. During startup of PTC Creo Parametric the SAP ECTR interface to PTC Creo is
registered and embedded into PTC Creo Parametric as a TOOLKIT tool (auxiliary application).
If you control your CAD environment by adding corresponding applications and startup tools, you can
modify the startup behavior of SAP ECTR interface to PTC Creo. If an environment has already been
launched, SAP ECTR interface to PTC Creo will be integrated later into it.
Set the following environment variables:
• PLM_RIESS_ENABLE_EXTERNAL_START_AND_DELAY_TIME_FOR_CAD_SYSTEM
• PLM_RIESS_EXTERNAL_START_MAX_TRIES
Batch files
For this purpose, use the batch files described in section 15.1 Using different CAD environments.
PLM_RIESS_ENABLE_EXTERNAL_START_AND_DELAY_TIME_FOR_CAD_SYSTEM
The PLM_RIESS_ENABLE_EXTERNAL_START_AND_DELAY_TIME_FOR_CAD_SYSTEM environment
variable modifies the startup behavior of SAP ECTR interface to PTC Creo. This way, SAP ECTR
interface to PTC Creo can be integrated into a PTC Creo Parametric session that has already been
started. The value of this environment variable indicates the startup delay in seconds. At the end of the
startup delay, SAP ECTR interface to PTC Creo is integrated into PTC Creo Parametric.
PLM_RIESS_EXTERNAL_START_MAX_TRIES
Within the startup delay specified in
PLM_RIESS_ENABLE_EXTERNAL_START_AND_DELAY_TIME_FOR_CAD_SYSTEM, the system will try
three times to integrate SAP ECTR interface to PTC Creo into the PTC Creo Parametric session
launched by an external application. With the PLM_RIESS_EXTERNAL_START_MAX_TRIES environment
variable, you can explicitly specify the number of tries within the startup delay.
Startup delay
Define a startup delay in seconds that is a little longer that the startup duration of your CAD system.
Example:
set PLM_RIESS_ENABLE_EXTERNAL_START_AND_DELAY_TIME_FOR_CAD_SYSTEM=10
48
SAP ECTR interface to PTC Creo - Advanced Configuration
Environment variables
Use the same environment variables as those specified in the SAP ECTR interface to PTC Creo
configuration dialog. Examples:
• PTC Creo Start File
Set PTC_CREO_PARAMETRIC_START_FILE=
C:\Program Files\PTC\Creo 4.0\M010\Parametric\bin\parametric_en.bat
• Execute in
Set PTC_CREO_PARAMETRIC_EXECUTE_IN=
C:\CAD Environment\ Creo4_M010_English
49
SAP ECTR interface to PTC Creo - Advanced Configuration
There are two ways to synchronize, i.e. refresh) values in user-defined CAD parameters and CAD
system parameters (attributes) with values in document data, additional document data, and material
master data (SAP fields):
• Refreshing attributes by using values from SAP fields
• Refreshing SAP fields using attribute values
The following files define how and when attributes will be refreshed using SAP fields:
Configuration of SAP ECTR
• DTypes.xml
In the attributes-from-sap.xml and attributes-to-sap.xml files, you need to
specify the required attributes sections. The attributes sections are used, depending on the
DType, when refreshing attributes and SAP fields.
In addition, you need to specify the events upon which the attributes will be refreshed
automatically.
• attributes-from-sap.xml
Make sure that the attributes sections have been defined.
Make sure to specify the attributes to be refreshed using SAP fields, grouped by attributes
sections.
• attributes-to-sap.xml
Make sure that the attributes sections have been defined.
Make sure to specify the SAP fields to be refreshed using attributes, grouped by attributes
sections.
50
SAP ECTR interface to PTC Creo - Advanced Configuration
There are multiple ways to refresh attributes by using values from SAP fields:
• Manually
Refreshing by selecting Refresh Attributes
• Automatically
Adding a format from within SAP by selecting Add Format
• Automatically/optionally
Checking in CAD originals with Save or Save and Display
Loading CAD originals from SAP
Prerequisites
In order to refresh attributes by using values from SAP fields, the following prerequisites must be met:
Configuration of SAP ECTR interface to PTC Creo
• The Refresh Attributes command must be available.
• The Add Format command must be available.
• Optionally: The Refresh attributes of original before Save in SAP option must be enabled.
Configuration of SAP ECTR
• DTypes.xml
When defining the DType, you need to specify the corresponding attributes section in the
attributes-from-sap.xml file.
Optionally:
When defining the DType, you must specify the events upon which the attributes will be
refreshed automatically.
• attributes-from-sap.xml
Make sure that the attributes section has been defined.
Make sure to specify the attributes to be refreshed using SAP fields in the attributes section.
Examples
For examples, see the attributes-from-sap.xml file in the
%PLM_INSTDIR%\applications\pro\template-customize\config directory.
51
SAP ECTR interface to PTC Creo - Advanced Configuration
The values in SAP fields will be refreshed automatically using attribute values when you select one of the
following save commands in SAP:
• Save
• Save and Display
• Save as New Version
• Save as New Document
Prerequisites
In order to refresh values in SAP fields by using attributes, the following prerequisites must be met:
Configuration of SAP ECTR
• DTypes.xml
When defining the DType, you need to specify the corresponding attributes section in the
attributes-to-sap.xml file.
• attributes-to-sap.xml
Make sure that the attributes section has been defined.
Make sure to specify the SAP fields that will be refreshed using attributes in the attributes
section.
Examples
For lists with system attributes and examples, please refer to the attributes-to-sap.xml file in the
%PLM_INSTDIR%\applications\pro\template-customize\config directory.
52
SAP ECTR interface to PTC Creo - Advanced Configuration
In SAP, you can manage formats and even add a drawing frame to a drawing directly from SAP. The title
block of the format can show drawing parameters and model parameters (attributes) that are refreshed
using values from SAP.
Prerequisites
In order to manage drawing formats in SAP, the following prerequisites must be met:
Configuration of SAP ECTR
• dtype.xml
The DType for formats must have been defined.
When defining the DType for drawings and, if applicable for drawing models, you need to
specify the corresponding attributes section in the attributes-to-sap.xml file.
• default.txt
The selection filter for formats must have been defined.
• attributes-from-sap.xml
Make sure that the attributes section for drawings has been defined.
Make sure to specify the attributes to be refreshed using SAP fields in the attributes section.
Configuration of SAP ECTR interface to PTC Creo
• The Add Format command must have been enabled.
• The attributes that will be created and initialized with the Add Format command must have been
defined.
• The Include Formats in Document Structure function must have been enabled.
Documents for formats
• For the formats, you need to create the associated documents.
• The document status of these documents must match the selection filter.
Example
In the %PLM_INSTDIR%\applications\pro\template-customize\config directory, please refer
to the file named dtype.xml that contains a sample DType definition called PROFR.
Refreshing attributes
With Add Format, you can add formats. The parameters represented in the title block are refreshed by
values from the document and the additional document data.
See also: 4.6.6.1 Initialize Parameters
53
SAP ECTR interface to PTC Creo - Advanced Configuration
Excluding filters
If you want to exclude one or multiple filters, you can comment out the corresponding line(s) in the
default.txt file using the # character.
54
SAP ECTR interface to PTC Creo - Advanced Configuration
In SAP ECTR, user-defined smart containers can be displayed and populated with content.
Prerequisite
In order to use the Drawings smart container, the following prerequisites must be met:
Configuration of SAP ECTR
• default.txt
You need to define the name of the smart container, the macro to be executed, and the icon to
be displayed for the smart container.
In addition, specify the document types for which you want to display the smart container.
• <macro>.txt
The macro specified in the default.txt file must be contained in a file named
<macro>.txt.
• dictionary.txt
The language-specific dictionary.txt file must contain a translation of the smart container
name.
Example
The %PLM_INSTDIR%\applications\pro\template-customize\config\default.txt file
contains the sample macro called MACRO_DRW_PRO for the Drawings smart container:
• plm.smart.container.MACRO_DRW_PRO.name = MACRO_DRW_PRO
• plm.smart.container.MACRO_DRW_PRO.macro = PRO:drawings.txt
• plm.smart.container.MACRO_DRW_PRO.icon = {0}/sap/drawing
55
SAP ECTR interface to PTC Creo - Advanced Configuration
Example
The %PLM_INSTDIR%\applications\pro\template-customize\config\default.txt file
contains samples for the PPR (parts) and PAS (assemblies) document types.
• PPR document type
plm.om.DOC.containers.PPR =
SMART_CONT(MACRO_DRW_PRO);@plm.om.DOC.containers@
• PAS document type
plm.om.DOC.containers.PAS =
SMART_CONT(MACRO_DRW_PRO);@plm.om.DOC.containers@
Example
The %ECTR_INSTDIR%\applications\pro\template-customize\config\scripts\macros
directory contains the drawings.txt sample macro.
Example
The %PLM_INSTDIR%\applications\pro\basis\dictionary\en\dictionary.txt file contains
a sample:
• plm.smart.container.dic.MACRO_DRW_PRO = drawings
56
SAP ECTR interface to PTC Creo - Advanced Configuration
In SAP ECTR, the Dependent Documents container displays drawings that depend on the master
document. In addition, dependent drawings can be displayed in the Where Referenced container.
Prerequisite
In order to display dependent drawings in the Where Referenced container, you need to define a
corresponding preference in the default.txt file.
57
SAP ECTR interface to PTC Creo - Advanced Configuration
Family tables—for parts or assemblies—consist of a generic file and the associated instances. PTC Creo
Parametric creates the family table instances at runtime from the generic file. For all family table
members, including the generic file, a document info record is created. The documents can be linked to
material master records, etc.
For the configuration, the following files are used:
• %PLM_INSTDIR%\customize\config\dtype.xml
• %PLM_INSTDIR%\customize\config\default.txt
Prerequisite
In order to create documents for family tables, the following prerequisites must be met:
• dtype.xml
The DType for generic files must have been defined.
The DType for family table instances must have been defined.
• default.txt
The DType for generic parts and the DType for generic assemblies must have been specified.
The relations between the DType for generic files and the DType for the associated instances
must have been specified.
A DType for generic files and for instances must have been defined in the
%PLM_INSTDIR%\customize\config\dtype.xml file.
Example
For examples, see the dtype.xml file in the %PLM_INSTDIR%\applications\pro\template-
customize\config directory.
58
SAP ECTR interface to PTC Creo - Advanced Configuration
5.7.2 Relation between the DType for generic file and the DType for instances
Define the DType for generic parts and the DType for generic assemblies in the
%PLM_INSTDIR%\customize\config\default.txt file. In addition, define the relation between the
DType for the generic files and the DType for the instances.
DType relations
In the default.txt file, specify which DType for instances is associated with which DType for generic
files. Set the following preference:
• plm.document.variantDType.<DType Generic File> = <DType Instances>
Examples
A sample file is stored in the following directory:
%PLM_INSTDIR%\applications\pro\template-customize\config (filename: default.txt).
• plm.document.variantDType.PROPG = PROPI
• plm.document.variantDType.PROAG = PROAI
59
SAP ECTR interface to PTC Creo - Advanced Configuration
With the SAP PLM ECTR Show CAD Structure command, you can display CAD structures, e.g.
assemblies, in the SAP ECTR application structure. You can set the initial expansion level in the
default.txt file.
60
SAP ECTR interface to PTC Creo - Advanced Configuration
SAP ECTR interface to PTC Creo supports you with the creation of BOM balloons in drawings.
The typical procedure includes the following steps:
• Creating an assembly drawing
• Refreshing component parameters using information from the bill of materials
• Adding a table with repeat region to the drawing
• Creating balloons
• Changing the parameters of BOM balloons
The following commands are available in SAP ECTR interface to PTC Creo:
• Refresh Component Parameters
• Add Table
Prerequisite
In order to benefit from the ballooning functions, the following prerequisites must be met:
Configuration of SAP ECTR
• default.txt
In the default.txt file, the ballooning preferences must have been set.
Configuration of SAP ECTR interface to PTC Creo
• The Refresh Component Parameters and Add Table commands must be available.
• Component parameters
The names of the component parameters must have been defined.
The component parameters must have been assigned to the corresponding data type.
Tables
• Table with repeat region
A table with repeat region must be have been created.
The repeat region of the table must contain the component parameters.
61
SAP ECTR interface to PTC Creo - Advanced Configuration
Ballooning preferences
• plm.bom.ballooning.application = @plm.bom.application@
• plm.bom.ballooning.alternative = @plm.bom.alternative@
• plm.bom.ballooning.plant = @plm.bom.plant@
• plm.bom.ballooning.useChangeNoFromDoc = @plm.bom.useChangeNoFromDoc@
• plm.bom.ballooning.usage = @plm.bom.usage@
Enabling commands
See also: 4.6.4.1 SAP PLM menu and context menu
Sample table
The %PLM_INSTDIR%\applications\pro\template_templates directory contains a sample table
named riess_sap_bill_of_material.tbl.
62
SAP ECTR interface to PTC Creo - Advanced Configuration
The CAD systems from the Pro/ENGINEER family are based on features. Users can build complex
geometry based on multiple features.
If you often need the same combinations of features or features based on complex sketches, you can
create user defined features (UDF) from them. These UDFs are then available as additional features.
Opening a UDF
It is not possible to open a UDF directly from your CAD system. Thus, it is neither possible to directly
import UDFs with the standard import procedure.
Creating UDFs
There are two ways to create a UDF:
• Subordinate option:
Changes made to a UDF source model will affect the UDF and thus all parts using it.
• Stand Alone option:
The UDF is no longer dependent on the UDF source part. However, you can include a copy of the
UDF source model in the definition of the UDF as a reference part and then use the reference
when placing the UDF model.
Using UDFs
There are two ways to use a UDF:
• As a dependent item, with the
Make feature dependent on dimensions of UDF command
• As an independent item, with the
Advanced reference configuration command
63
SAP ECTR interface to PTC Creo - Advanced Configuration
You need to create DType definitions for UDF files and the associated UDF reference models.
Constraint
A UDF file and the associated UDF reference models or UDF source models form a whole. Once a UDF
file has been created, you may neither rename the UDF file nor its UDF reference model nor its UDF
source model. If you rename the UDF file anyway, the UDF becomes unusable.
Note
The following instructions describe how you can integrate a user-defined command into the context
menu, based on the function_group within the DType definition. The user-defined command will only
be visible for documents whose DType definition contains the function_group.
64
SAP ECTR interface to PTC Creo - Advanced Configuration
Examples
You can find sample DType definitions in the following file:
%PLM_INSTDIR%\applications\pro\template-customize\config\dtype.xml.
• Sample DType definition for UDFs PROUF DType
• Sample DType definition for UDF reference model PROPH DType
Enable the UDF functionality in SAP ECTR interface to PTC Creo as described in section 4.6.5.5, Include
User-Defined Features in Document Structure.
Before you can use UDFs as features in parts of your design, make sure that the UDF files and the
corresponding reference or source parts have been made available in the working directory. UDFs can
also be made available using a user-defined command in the SAP ECTR context menu.
Prerequisites
Before you can add a user-defined command to the SAP ECTR context menu, the following prerequisites
must be met:
Configuration of SAP ECTR
• dtype.xml
The DType definition for UDF files, e.g. the definition for PROUF, must contain its own
function_group.
• menu.guidef
In the menu.guidef file, the + om.popup.menu.DOC.PROUF popup menu must have been
defined for the function_group.
• dictionary.txt
The language-dependent dictionary.txt files must contain the corresponding descriptions
of the user-defined command.
• standard_icons.txt
In the standard_icons.txt file, you can assign an icon to the user-defined command.
• pro_udf_fnc_doc_checkout_view.txt
You must have defined a macro that will be executed via the popup menu.
65
SAP ECTR interface to PTC Creo - Advanced Configuration
Example
For examples, see the dtype.xml file in the DType definition PROUF in the
%PLM_INSTDIR%\applications\pro\template-customize\config directory.
Example
For examples, see the menu.guidef file in the %PLM_INSTDIR%\applications\pro\template-
customize\config directory.
Example
For examples, see the dictionary.txt file
%PLM_INSTDIR%\applications\pro\basis\dictionary\en.
66
SAP ECTR interface to PTC Creo - Advanced Configuration
Example
For examples, see the standard_icons.txt file
in the %PLM_INSTDIR%\applications\pro\basis\aux-files directory.
Defining macros
Do the following to define a macro that makes the UDF file, including its reference or source part,
available in the working directory:
1) Create a new macro, e.g. named pro_udf_fnc_doc_checkout_view.txt, and add the
following contents:
k= KEYLIST_FROM_CONTEXT("active","selected")
set1 = CREATE_SET(k)
p = PARAMETER_MAP("doc_filter_fields")
p.DTYPE = "PROPH"
set2 = TRANSFORM_SET_WITH_PARAMETERS( set1, "expand_structure" ,p )
kx = KEYLIST_FROM_SET( set2 )
CALL_OMF("fnc.doc.checkout(view)",kx)
2) Save the pro_udf_fnc_doc_checkout_view.txt file in the
%PLM_INSTDIR%\customize\scripts\macros directory.
Result: The pro_udf_fnc_doc_checkout_view.txt macro can be executed from the context menu
using the Transfer UDF command.
Example
For examples, see the standard_icons.txt file in the
%PLM_INSTDIR%\applications\pro\template-customize\scripts\macros directory.
67
SAP ECTR interface to PTC Creo - Advanced Configuration
In some cases, PTC Creo Parametric structures can contain references that are not required to open it in
the CAD system. For example, "external shrink wrap" might represent complex assemblies. Here, the
shrink wrap references the assembly. When loading a structure from SAP, all referenced objects from
SAP will be loaded and loaded into the CAD session in PTC Creo Parametric. If the assembly is large,
this may take a very long time!
In the SAP ECTR, you can define explosion scenarios with explosion rules, allowing you to load
assemblies without external references. You can configure commands for the context menu that use the
explosion scenarios, e.g. when loading files from SAP and opening them in the CAD application.
Missing references
If you want to use explosion scenarios for a quick loading of CAD structures without external references,
set the retrieve_data_sharing_ref_parts and retrieve_merge_ref_parts options to
ignore_missing or no.
Prerequisite
Before you can add a user-defined command to the SAP ECTR context menu, the following prerequisites
must be met:
Table maintenance
Make sure that the following tables in the SAP system have been maintained properly:
• CDESK_C_EXPLCF
• CDESK_C_EXPLFA
Configuration of the explosion scenario
• The explosion scenario must have been configured in the CAD services.
Configuration of SAP ECTR
• load_scenarios.xml
The explosion scenario must be combined with the application-specific check-out option.
• menu.guidef and menu_macro.txt
The application-specific check-out option must have been configured for documents of the PRO
application type.
• customer.txt
The language-dependent description of the check-out option must have been specified.
• standard_icons.txt
You can assign an icon to the check-out option.
Procedures
The following instructions apply to the FAST_LOAD explosion scenario. Feel free to define and use other
scenarios, if required.
68
SAP ECTR interface to PTC Creo - Advanced Configuration
69
SAP ECTR interface to PTC Creo - Advanced Configuration
70
SAP ECTR interface to PTC Creo - Advanced Configuration
Result: The FAST_LOAD explosion scenario is now combined with the PRO_FAST_LOAD check-out
option. The check-out option can be integrated into the context menu of the SAP ECTR.
Example
For examples, see the load_scenarios.xml file in the
%PLM_INSTDIR%\applications\pro\template-customize\config directory.
Example
For examples, see the files menu.guidef and menu_macros.txt in the
%PLM_INSTDIR%\applications\pro\template-customize\config directory.
71
SAP ECTR interface to PTC Creo - Advanced Configuration
Example
For examples, see the standard_icons.txt file
in the %PLM_INSTDIR%\applications\pro\basis\aux-files directory.
72
SAP ECTR interface to PTC Creo - Using the Menu and Commands
This section describes how to display the SAP PLM menu in PTC
Creo Parametric and explains which commands can be executed
from the SAP PLM menu.
There are several places in PTC Creo Parametric where the SAP PLM menu for SAP ECTR interface to
PTC Creo is displayed:
• In the TOOLKIT group on the Tools tab of the ribbon
• In the Model tree context menu
• In the application structure of the SAP ECTR
Optionally, the SAP PLM menu can be displayed in the following user-defined locations:
• On the quick access toolbar
• On a user-defined tab of the ribbon
• On the Common tab of the ribbon
Command Scope
Commands can be selected from the TOOLKIT group on the Tools tab of the SAP PLM menu or from
the model tree context menu. Depending on where the command was selected, the scope of the
command is different: it either applies to files or to originals.
73
SAP ECTR interface to PTC Creo - Using the Menu and Commands
The SAP PLM menu is accessible from the TOOLKIT group on the Tools tab of the ribbon.
Obsolete modules
By default, modules that do not have a ribbon (e.g. REPORT, DIAGRAM) are no longer available in PTC
Creo Parametric 4.0. To re-enable them for PTC Creo Parametric 4.0, edit the config.pro file and set
the enable_obsolete_modes option to yes.
74
SAP ECTR interface to PTC Creo - Using the Menu and Commands
In each mode, the SAP PLM menu is embedded automatically into the model tree context menu (right
mouse button).
A selection of commands from the SAP PLM menu is also accessible from the context menu of the SAP
ECTR Application Structure.
75
SAP ECTR interface to PTC Creo - Using the Menu and Commands
You can customize the SAP PLM menu to add it to the quick access toolbar.
The commands from the SAP PLM menu can be displayed on a user-defined tab of the ribbon.
In PTC Creo Parametric 4.0 or higher, it is possible to display the commands from the SAP PLM menu in
the Common tab of the ribbon.
Figure: Commands from the SAP PLM menu in the Common tab
76
SAP ECTR interface to PTC Creo - Using the Menu and Commands
Depending on whether you select a command from the SAP PLM menu or from the SAP PLM context
menu, it applies to different files or originals.
Commands selected from the SAP PLM menu apply to the current or active files or originals.
Commands selected from the SAP PLM context menu apply to the files or originals selected in the model
tree.
You can activate assembly components in the model tree. The active component is highlighted in the
model tree by a special icon. The commands you select from the SAP PLM menu on the Tools tab or
from the quick access toolbar always apply to the active component. If no component is active, the
command applies to the file currently open in the graphics window.
You can select components in the PTC Creo Parametric model tree. The commands selected from the
SAP PLM model tree context menu apply to the components you selected in the model tree.
In the application structure, you can select files without a document or originals with a document.
Commands selected from the context menu of the application structure apply to the files or originals
selected in the application structure.
The user-defined tabs may contain commands from the SAP PLM menu and from the SAP PLM context
menu. Depending on its origin, the command will either apply to the current or active file or original or to
the selected component.
Context menu
Commands selected from the SAP PLM menu always apply to the current or active file or original. The
SAP PLM context menu only applies to the components selected in the model tree.
77
SAP ECTR interface to PTC Creo - Using the Menu and Commands
Files without a document can only be displayed in the application structure or imported to SAP.
If a command cannot be executed because there is no document yet, a corresponding message is
displayed for the selected command.
File without document! Action can not be executed
If a document exists for an original, but there is no material assignment, you can assign materials to it.
Commands that affect assigned materials or bills of materials cannot be executed if no material has been
assigned.
If a command cannot be executed because no material has been assigned yet, a corresponding message
is displayed for the that command.
Document without material assignment! Action can not be executed
The scope of some commands can be extended to include further originals in the document structure.
If there are further originals in the document structure that can be included in the command scope, a
corresponding option ( checkbox) is displayed when you select the command.
Include all <…> in the document structure
The scope of some commands could affect other originals that are in memory, but this is not intended and
could lead to data inconsistencies.
If a command affects other originals in memory and this is not intended, remove all other originals from
memory.
A corresponding message is displayed for the selected command.
All originals will be removed from memory
Some commands can have alternative effects on the files or originals in the scope.
If a command has alternative effects on the files or originals in its scope, the alternatives are suggested
with radio buttons when you execute the command.
78
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to bring SAP ECTR to the
front and display information about the various documents, materials, etc.
Tool tip
Open SAP Engineering Control Center.
How to use
Do the following to open SAP ECTR from within the CAD system:
1) Click SAP PLM ECTR Open ECTR.
Result: SAP ECTR is launched and its window is brought to the front. The PTC Creo Parametric CAD
system remains active.
When to use
Use this command when, while working in PTC Creo Parametric, you want to display the CAD file from
the active graphics window in the SAP ECTR application structure. A selection of commands from the
SAP PLM menu is also accessible from the context menu of SAP ECTR Application Structure, such as
Import, Save, and Edit.
Tool tip
Show CAD structure.
How to use
Do the following to display the CAD structure, for example of an assembly, in the SAP ECTR application
structure.
1) Click SAP PLM ECTR Show CAD Structure.
Result: The CAD structure, for example of an assembly, is displayed in the SAP ECTR application
structure.
79
SAP ECTR interface to PTC Creo - Using the Menu and Commands
The Original menu groups commands related to files or originals (files with document info records).
• New
• Open
• Save
• Edit
• Save and Display
• Save as
Save as New Version
Save as New Document
• Refresh
Refresh Originals
Refresh Attributes
• Cancel
• Import
• Add Component
• Add Format
• Replace Version
80
SAP ECTR interface to PTC Creo - Using the Menu and Commands
6.3.2.1 New
When to use
Use this command when, while working in PTC Creo Parametric, you want to create a new document
(document info record and original) and then edit the new original.
Tool tip
Create a new original and document in SAP PLM and Open the original in CAD.
How to use
Do the following to create a new original and its associated document info record:
1) Click SAP PLM Original New.
2) In the SAP ECTR dialog, select the desired DType and the desired template.
3) Specify all required settings in the SAP ECTR dialog.
4) Click OK to create a new original and document info record.
Result: A new document (original and associated document info record) is created. The document is
displayed in SAP ECTR in the active folder. The new original is opened in PTC Creo Parametric where
you can edit it ( ).
Active folder
In SAP ECTR, the new document will be displayed in the active folder and flagged with a dirty flag (
) because e.g. its attributes have not been refreshed yet.
6.3.2.2 Open
When to use
Use this command when, while working in PTC Creo Parametric, you want to search for an existing
document (document info record and original) in SAP PLM and then open the original directly from within
PTC Creo Parametric. As an alternative, you can run the document search from the SAP GUI.
Tool tip
Load an original from SAP PLM and open it in CAD.
How to use
Do the following to search for an original in SAP and open it in the CAD system:
1) Click SAP PLM Original Open.
2) Specify your search criteria in the SAP ECTR dialog.
3) In the SAP ECTR dialog, click OK.
4) From the results displayed in the SAP ECTR dialog, select the desired documents.
5) In the SAP ECTR dialog, click OK.
Result: The originals of the selected documents are available in the session directory and are opened in
the CAD system.
81
SAP ECTR interface to PTC Creo - Using the Menu and Commands
6.3.2.3 Save
When to use
Use this command when, while working in PTC Creo Parametric, you want to save an intermediate state
of an original in SAP PLM and then continue your work on the original in PTC Creo Parametric.
Tool tip
Save original to SAP PLM and continue editing the original in CAD.
How to use
Do the following to save an original to SAP and continue working in edit mode:
1) Click SAP PLM Original Save.
2) Add locally changed originals to the Save list using the Save dialog or ignore originals that have
been changed locally.
3) Click Save to save your originals.
Result: The new original is saved in SAP where you can edit it ( ).
Dirty flag
If the document has been flagged with a dirty flag ( ), the dirty flag will be removed.
82
SAP ECTR interface to PTC Creo - Using the Menu and Commands
6.3.2.4 Edit
When to use
Use this command when, while working in PTC Creo Parametric, you want to edit a displayed original in
SAP PLM.
Tool tip
Request an exclusive lock in order to edit the original in CAD.
How to use
Do the following to edit an original in SAP:
1) Click SAP PLM Original Edit.
Result: The original is in SAP edit mode ( ).
Dirty flag
If the document has been flagged with a dirty flag ( ), the dirty flag will be removed.
When to use
Use this command when, while working in PTC Creo Parametric, you want to save an original in SAP
PLM and then stop working on that original in PTC Creo Parametric.
Tool tip
Save and unlock original in SAP PLM. Enables other users to edit the original in CAD.
How to use
Do the following to save an original to SAP and change from edit mode to display mode:
1) Click SAP PLM Original Save and Display.
2) Add locally changed originals to the Save list using the Save dialog or ignore originals that have
been changed locally.
3) Click Save and Display to save the originals.
Result: This saves the original to SAP, which is no longer in edit mode ( ). The saved originals in the
structure are no longer in edit mode either ( ).
Dirty flag
If the document has been flagged with a dirty flag ( ), the dirty flag will be removed.
83
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to create a new document
version for an original.
If the document for which you want to create the new version has been edited ( ), the changes will be
applied to the new version of the original. The original of the initial version will be reset to the version last
checked in ( ). This means that the initial original remains in SAP PLM as checked in the last time.
If dependent documents exist for the document, new versions will be created for the dependent
documents as well, provided the system has been configured accordingly.
Tool tip
Save original as new document version in SAP PLM.
How to use
Do the following to save an original as a new version in SAP:
1) Click SAP PLM Original Save as New Version.
2) In the SAP ECTR dialog, click Yes.
Result: A new document version of the original is created. The original of the new document version is
checked in to SAP ( ) and is loaded in PTC Creo Parametric.
When to use
Use this command when, while working in PTC Creo Parametric, you want to create a new document and
a new original. The initial original is copied and then renamed according to the applicable rules.
If the original for which you want to create the new document has been edited ( ), the changes will be
applied to the new original. The original of the initial document will be reset to the one last checked in ( ).
This means that the initial original remains in SAP PLM as checked in the last time.
Tool tip
Save original as new document in SAP PLM.
How to use
Do the following to save a document (original and document info record) as a new document in SAP:
1) Click SAP PLM Original Save as New Document.
2) Edit the settings in the SAP ECTR dialog, if required.
3) In the SAP ECTR dialog, click OK.
Result: The new document is saved. The new original is checked in to SAP ( ) and is loaded in PTC
Creo Parametric.
84
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to load the current state of an
original from SAP PLM. This command is e.g. helpful in cases where your assembly uses components
which are obsolete because another user changed them. With this command, you can only replace
originals of the same document version.
Tool tip
Retrieve originals modified by other users from SAP PLM and replace in CAD session.
How to use
Replace originals changed by other users in the CAD system.
1) Click SAP PLM Original Refresh Originals.
2) Click Remove to remove all originals from memory.
Result: The original changed by another user is now open in the CAD system.
When to use
Use this command when, while working in PTC Creo Parametric, you want to refresh the attributes of an
original from SAP PLM.
Tool tip
Refresh attributes of original in CAD from SAP PLM.
How to use
Do the following to refresh the attributes:
1) Click SAP PLM Original Refresh Attributes.
2) Add all originals in the document structure to the scope of this command ( checkbox), if
applicable.
3) Click Continue.
Result: The parameters in the original and in the SAP object fields (e.g. document, material) are
refreshed.
Detailed information
For further details on how to configure SAP ECTR, please refer to the SAP ECTR documentation.
Configuration
Depending on the configuration specified in the attributes-from-sap.xml and attributes-to-
sap.xml files, the attributes from SAP fields are transferred to the CAD parameters or vice versa.
Examples
Examples can be found in the files named attributes-from-sap.xml and attributes-to-
sap.xml under the %PLM_INSTDIR%\applications\pro\template-customize\config
directory.
System parameters
System parameters can only be transferred from PTC Creo Parametric to the SAP system.
85
SAP ECTR interface to PTC Creo - Using the Menu and Commands
6.3.2.10 Cancel
When to use
Use this command when, while working in PTC Creo Parametric, you want to discard edits made to an
original from the memory and the working directory and then retrieve the state last checked in to SAP
PLM.
Tool tip
Cancel edit and discard work.
How to use
Do the following to cancel editing the original and reload the original from SAP:
1) Click SAP PLM Original Cancel.
2) Select the desired effect of the command (option with radio button).
3) Add all originals in the document structure to the scope of this command ( checkbox), if
applicable.
4) Click Continue.
5) Click Remove to remove all originals from memory.
6) Open the closed originals that use the original directly in PTC Creo Parametric by selecting File
Open.
Result: Edit mode in SAP PLM has been canceled. The original has been replaced by the state last saved
for this version in SAP.
Options
The Close original in CAD option loads the original from SAP PLM without opening it in the CAD
system.
The Reload original from SAP system option loads the original from SAP PLM and opens it in the
CAD system.
86
SAP ECTR interface to PTC Creo - Using the Menu and Commands
6.3.2.11 Import
When to use
Use this command when, while working in PTC Creo Parametric, you want to import existing CAD files to
SAP PLM.
Tool tip
Import CAD files from session into new documents in SAP PLM.
How to use
Do the following to create documents and import the associated originals from the CAD system to SAP:
1) Create a new file or open a file.
2) Click SAP PLM Original Import.
3) Note the import scope in the Import dialog.
4) Use Identify Relations and Identify References to identify other files that also need to be
imported.
5) Add the files you determined to the import scope.
6) Import the files listed in the import scope by clicking Import.
7) In the SAP ECTR dialog, confirm the import by clicking OK.
Result: The files are imported to SAP and the originals are displayed in the CAD system ( ).
87
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to add components from SAP
PLM to your assembly.
Tool tip
Load an original from SAP PLM and add it to the current CAD assembly.
How to use
Do the following to search for a component in SAP and insert it into an assembly:
1) Open an assembly.
2) Click SAP PLM Original Add Component.
3) Use the SAP ECTR dialog to search for the component via its document or material or using the
search options displayed there.
4) Place the component in the assembly.
Result: The component is now included in the assembly.
When to use
Use this command when, while working in PTC Creo Parametricyou want to add a drawing format from
SAP PLM to your drawing.
Tool tip
Select drawing format in SAP and add to drawing.
How to use
Do the following to select a drawing format in SAP and add it to the drawing:
1) Open a drawing.
2) Click SAP PLM Original Add Format.
3) Select the desired format from the SAP ECTR dialog.
Result: This adds the format to the drawing and updates the associated attributes.
88
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to load the current version of
an original from SAP PLM. For example, this command can be used if you use components in your
assembly for which newer versions ( | ) exist. This command can only be used to replace originals of
other document versions.
Tool tip
Replace original in CAD with original of a different document version from SAP PLM.
How to use
Do the following to replace an original in the CAD system with an original of another document version
from SAP.
1) Click SAP PLM Original Replace version.
2) Click Remove to remove all originals from memory.
3) Select the desired version in the SAP ECTR dialog.
4) Confirm your selection by clicking OK.
Result: The original in the CAD system has been replaced with an original of another document version.
89
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to display and, possibly edit,
the document of the current original in the Object Browser of SAP ECTR.
Tool tip
Display document of current original.
How to use
Do the following to display the document associated with an original:
1) Click SAP PLM Document Display Document.
Result: The document associated with the original is displayed in the Object Browser of SAP ECTR.
When to use
Use this command when, while working in PTC Creo Parametric, you want to add the document
associated with the current original to an existing or new object list. Object lists are helpful if you want to
collect and edit several documents jointly, e.g. to change their document status.
Tool tip
Add document of current original to an object list of SAP Engineering Control Center.
How to use
Do the following to add the document associated with the current original to an object list of SAP ECTR.
1) Click SAP PLM Document Add to Object List.
2) In the SAP ECTR dialog, select an object list or create a new one.
3) Select the desired option in the SAP ECTR dialog.
Result: The document has been added to the object list.
90
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to open the original of a
dependent document. If a dependent drawing document exists for the document associated with the
current original, e.g. a part, you can open the dependent drawing directly from SAP PLM in PTC Creo
Parametric.
Tool tip
Open original of dependent document from SAP PLM (e.g. open a drawing for a part).
How to use
Do the following to open the original of the dependent document from SAP PLM:
1) Open a part or an assembly for which a dependent document exists.
2) Click SAP PLM Document Open Original of Dependent Document.
Result: The original of the dependent document is loaded from SAP PLM and is opened in the CAD
system.
When to use
Use this command when, while working in PTC Creo Parametric, you want to create a drawing document
that depends on the document associated with the current original. Depending on the configuration of
your system, dependent documents follow the master document and can only be versioned together with
their master document.
Tool tip
Create a new original and document as dependent document of the current original (e.g. create a drawing
with document for a part) in SAP PLM.
How to use
Do the following to create a new original and a document as a dependent document of the current
original:
1) Open a part or assembly for which a dependent document exists.
2) Click SAP PLM Document Dependent Document Create Dependent Document.
3) Specify all required settings in the SAP ECTR dialog.
4) In the SAP ECTR dialog, select the desired DType and the desired template.
5) Click OK to create a new original with its document info record.
Result: A new dependent document (original with its document info record) has been created. In SAP
ECTR, the document is displayed in the active folder in the Dependent Documents container. The new
original is opened in PTC Creo Parametric where you can edit it ( ). In the SAP ECTR, the indicates
that dependent documents of this document exist.
91
SAP ECTR interface to PTC Creo - Using the Menu and Commands
The Additional Functions menu groups commands related to material master records, bills of materials,
settings, and some extra features.
• Bill of Material
Create Bill of Material
Display Bill of Material
Edit Bill of Material
• Material
Assign Material
Display Material
• Settings
Settings
Trace Level
• Extras
Cancel Edit
Import UDF
Initialize Parameters
Open Log Directory
Open Working Directory
Delete old versions
• Info
• Ballooning
Add Table
92
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to create a bill of materials for
the current original.
Tool tip
Create a new bill of material in SAP PLM according to the structure of the current CAD assembly.
How to use
Do the following to create a bill of materials for the material associated with the original:
1) Click SAP PLM Additional Functions Bill of Material Create Bill of Material.
2) Create the bill of materials.
Result: This creates the bill of materials for the material associated with the original.
When to use
Use this command when, while working in PTC Creo Parametric, you want to display the bill of materials
for the current original in the Bills of Material window of SAP ECTR.
Tool tip
Display the bill of material that is assigned to the document of the current original.
How to use
Do the following to display a bill of materials for the material associated with the original:
1) Click SAP PLM Additional Functions Bill of Material Display Bill of Material.
Result: The bill of materials is displayed in SAP ECTR.
93
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to edit a bill of materials for
the current original, e.g. in case the document structure was changed and you want to update the existing
bill of materials. The bill of materials, e.g. the quantities specified, will be updated based on the document
structure.
Tool tip
Edit the bill of material that is assigned to the document of the current original.
How to use
Do the following to edit a bill of materials for the material associated with the original:
1) Click SAP PLM Additional Functions Bill of Material Edit Bill of Material.
Result: This completes the editing of the bill of materials for the material associated with the original.
When to use
Use this command when, while working in PTC Creo Parametric, you want to assign a material existing in
SAP PLM to the document associated with the current original. SAP ECTR indicates that the document is
linked to one or more materials. If multiple materials are linked, you can flag one of the material links as
the exclusive material link.
Existing material links
Icon / Overlay Meaning
A material link exists.
Tool tip
Assign an existing material from SAP PLM to the document of the current original.
How to use
Do the following to assign a material to the document associated with the original:
1) Click SAP PLM Additional Functions Material Assign Material.
2) Search for the desired material in the SAP ECTR dialog.
3) Confirm your selection by clicking OK.
Result: This links the material to the document associated with the original.
94
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to display or edit the material
associated with the current original.
Tool tip
Display the material that is assigned to the document of the current original.
How to use
Do the following to display the material linked to an original:
1) Click SAP PLM Additional Functions Material Display Material.
Result: The material is displayed in the Object Browser of SAP ECTR.
6.3.4.6 Settings
When to use
Use this command when, while working in PTC Creo Parametric, you want to change the SAP ECTR
interface to PTC Creo settings.
Tool tip
Settings for SAP ECTR interface to PTC Creo.
How to use
Configure SAP ECTR interface to PTC Creo.
1) Click SAP PLM Additional Functions Settings Settings.
2) Make the desired settings.
3) Click Next or Back to go to the next or previous page and specify other missing settings.
4) Click Save to complete the configuration.
Result: The SAP ECTR interface to PTC Creo is now fully configured and the settings are saved.
95
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to change the trace level of
the log files for SAP ECTR interface to PTC Creo at runtime.
Tool tip
Set Trace Level of SAP ECTR interface to PTC Creo.
How to use
Set the trace level of SAP ECTR interface to PTC Creo.
1) Click SAP PLM Additional Functions Settings Trace Level.
2) Select the desired trace level ( radio button).
3) Confirm your selection by clicking OK.
Result: The trace level of SAP ECTR interface to PTC Creo has been set.
When to use
Use this command when, while working in PTC Creo Parametric, you want to cancel editing a CAD
original without discarding the local changes.
Tool tip
Release exclusive lock without discarding local changes of the original.
How to use
Do the following to cancel editing the original without discarding local changes made to the original:
1) Click SAP PLM Additional Functions Extras Cancel Edit.
2) Add all locked originals in the document structure to the scope of this command ( checkbox), if
applicable.
3) Click Continue.
Result: Editing in SAP has been canceled, but local changes made to the original have not been
discarded.
96
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when you want to import existing CAD files to SAP PLM from the working directory.
Tool tip
Import UDF files into new documents in SAP PLM.
How to use
Do the following to create documents for the UDF files and import the associated originals from the CAD
system to SAP:
1) Click SAP PLM Additional Functions Extras Import UDF.
2) In the Import UDF dialog, select the UDF files to be imported.
3) Click Continue.
4) Import the files listed in the import scope by clicking Import.
5) In the SAP ECTR dialog, confirm the import by clicking OK.
Result: The UDF files are imported to SAP and the originals are displayed in the CAD system ( ).
Using UDFs
UDFs checked in to SAP an only be used if they have been saved to the working directory before. Define
a search query for the UDFs in the SAP ECTR. Select the desired UDFs including their associated
reference or source parts and then click Document Transfer Original(s) from the context menu.
97
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to add and initialize missing
parameters of an original. Using this command, you can e.g. add new parameters to CAD originals that
have been migrated from legacy systems. The new parameters can be initialized using the specified initial
value.
Tool tip
Create missing parameters with initial value.
How to use
Do the following to create missing parameters in CAD files and initialize the parameters using predefined
values:
1) Click SAP PLM Additional Functions Extras Initialize Parameters.
2) Add all originals in the document structure to the scope of this command ( checkbox), if
applicable.
3) Click Continue.
Result: The parameters have been created and initialized in the CAD file.
Configuration
You can configure the command Initialize Parameters by selecting SAP PLM Additional Functions
Settings Settings. You can configure whether missing parameters in the model or drawing will be
initialized using the specified initial value.
When to use
Use this command when, while working in PTC Creo Parametric, you want to open the log directory of
SAP ECTR interface to PTC Creo.
The log files for SAP ECTR interface to PTC Creo are stored in the
C:\Users\<USERNAME>\.riess\SAPInterface log directory. These files might be required when
you request support.
Tool tip
Open log directory of SAP ECTR interface to PTC Creo.
How to use
Open the SAP ECTR interface to PTC Creo log directory in the Explorer.
1) Click SAP PLM Additional Functions Extras Open Log Directory.
Result: This opens the SAP ECTR interface to PTC Creo log directory in the Explorer.
98
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to open the working directory
of SAP ECTR interface to PTC Creo.
Tool tip
Open working directory of SAP ECTR.
How to use
Open the SAP ECTR interface to PTC Creo working directory in the Explorer.
1) Click SAP PLM Additional Functions Extras Open Working Directory.
Result: This opens the SAP ECTR interface to PTC Creo working directory in the Explorer.
When to use
Use this command when, while working in PTC Creo Parametric, you want to delete the saved versions
from the SAP ECTR interface to PTC Creo working directory. Each time you save a version in PTC Creo
Parametric the saved version is incremented in the working directory, e.g. prt0001.prt.1
prt0001.prt.2.
Tool tip
Delete old versions (e.g. *.prt.1 - *.prt.n) from working directory.
How to use
Do the following to delete old versions (e.g. *.prt.1 - *.prt.n) from the working directory. These are created
each time you save a part in PTC Creo Parametric.
1) Click SAP PLM Extras Delete old versions.
Result: The old versions that were created when saving in PTC Creo Parametric are deleted.
6.3.4.14 About
When to use
Use this command when, while working in PTC Creo Parametric, you want to display information on SAP
ECTR interface to PTC Creo.
Tool tip
About SAP ECTR interface to PTC Creo.
How to use
Do the following to display information on SAP ECTR interface to PTC Creo:
1) Click SAP PLM Additional Functions Extras About.
Result: The system displays information on SAP ECTR interface to PTC Creo.
99
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to add a table with repeat
region to your drawing. Then, you can create BOM balloons.
Tool tip
Add Table for BOM Balloons.
How to use
Do the following to add a table with repeat region for component parameters to a drawing:
1) Click SAP PLM Additional Functions Ballooning Add Table.
2) Place the table in the drawing.
3) Update the table in PTC Creo Parametric, if required.
Result: The table has been added to the drawing and shows the bills of materials. Using the PTC Creo
Parametric ballooning functions, you can now create BOM balloons. The balloons can show component
parameters such as the item number from the repeat region.
100
SAP ECTR interface to PTC Creo - Using the Menu and Commands
Create balloons
Do the following to create BOM balloons in the drawing:
1) Create all required balloons by using the corresponding table and balloon commands in PTC Creo
Parametric.
Result: The balloons are displayed in the drawing. The balloons show the internal numbers assigned by
PTC Creo Parametric.
101
SAP ECTR interface to PTC Creo - Using the Menu and Commands
When to use
Use this command when, while working in PTC Creo Parametric, you want to create or refresh
component parameters in the active assembly. The component parameters are populated with data from
the bill of materials, such as the item number and material number.
Tool tip
Refresh Component Parameters for BOM Balloons.
How to use
Do the following to populate the component parameters with data from the bills of materials:
1) Click SAP PLM Additional Functions Ballooning Refresh Component Parameters.
Result: The component parameters are populated with data from the document BOM.
Command scope
The Refresh Component Parameters command can only be used for assemblies. For material linked to
the assembly document must exist a material BOM. If you select the command from within a drawing, it is
executed for the assembly represented in the drawing.
102
SAP ECTR interface to PTC Creo - Using the Menu and Commands
The SAP PLM context menu in the PTC Creo Parametric model tree contains a number of commands
that are also available in the SAP PLM menu. Context menu commands can be used in the same way as
their counterparts from the SAP PLM menu. Please note that the scope of the context menu commands
is different from the scope of the commands available in the SAP PLM menu.
The application structure context menu contains a number of commands that are also available in the
SAP PLM menu.
The contents of the application structure context menu depends on whether you selected a file without a
document or an original with a document.
The application structure context menu contains some exclusive commands that are not included in the
SAP PLM menu.
Depending on the context, the application structure context menu contains the following commands from
the SAP PLM menu:
• Import
• Edit
• Save
• Save and Display
• Save as New Version
• Save as New Document
• Cancel
• Cancel Edit
Depending on the context, the application structure context menu additionally includes the following
commands:
• Display
• Select
103
SAP ECTR interface to PTC Creo - Using the Menu and Commands
6.5.2.1 Display
When to use
Use this command to display a file or an original in the CAD system when working in the application
structure.
How to use
Do the following to display a file or an original in the CAD system while working in the application
structure:
1) Select the desired file or the document of an original in the application structure.
2) Click Display from the context menu.
Result: The CAD file or the original is opened and displayed in a PTC Creo Parametric window.
6.5.2.2 Select
When to use
Use this command to select a component of an assembly in the PTC Creo Parametric model tree while
working in the application structure.
How to use
Do the following to select a component from the PTC Creo Parametric model tree while working in the
application structure:
1) Select the desired file or document of an original in the application structure.
2) Click Select from the context menu.
Result: The component is highlighted and selected in the PTC Creo Parametric model tree. The selected
component can directly be edited in PTC Creo Parametric.
104
SAP ECTR interface to PTC Creo - Tabs and Groups in PTC Creo Parametric
This section contains procedures that will help you customize the
PTC Creo Parametric ribbon.
The following procedures show how to perform an application-specific customization of the PTC Creo
Parametric ribbon and save the associated settings.
Figure: Commands from the SAP PLM menu in the Common tab
105
SAP ECTR interface to PTC Creo - Tabs and Groups in PTC Creo Parametric
106
SAP ECTR interface to PTC Creo - Tabs and Groups in PTC Creo Parametric
Cascading commands
The TOOLKIT commands in a group or in a group overflow menu can be cascaded.
1) From the ribbon context menu, select Customize the Ribbon.
2) Expand the desired group.
3) Click the location where you want to create a new cascade.
4) Click New Cascade.
5) Rename the cascade.
6) Use the arrow keys to move the cascade to the desired location.
7) Use Drag & Drop to move the desired TOOLKIT commands to the cascade.
8) If required, use separators to group the TOOLKIT commands.
9) Use the arrow keys to move each TOOLKIT command to the desired location in the cascade.
10) Click OK.
Result: The TOOLKIT commands are now grouped in cascades and structured by separators.
107
SAP ECTR interface to PTC Creo - Tabs and Groups in PTC Creo Parametric
The toolkitribbon.rbn customization file is only intended for saving application-specific configuration
settings related to the ribbon.
When you start a TOOLKIT tool for which a toolkitribbonui.rbn file exists, the functions configured
in the toolkitribbonui.rbn customization file are added to the ribbon. Customizations specified in
the creo_parametric_customization.ui file are not affected.
108
SAP ECTR interface to PTC Creo - Tabs and Groups in PTC Creo Parametric
UTF-8
If you use UTF encoding in your editor, make sure to save the ribbonui.txt file with UTF-8 (with
BOM) encoding.
Blank lines
Make sure to separate the data for each label in the ribbonui.txt file by inserting blank lines.
Also add a blank line at the end of the ribbonui.txt file.
109
SAP ECTR interface to PTC Creo - Tabs and Groups in PTC Creo Parametric
110