cancel
Showing results for 
Search instead for 
Did you mean: 

Is there anyway to filter available seedfiles by CAD Group or @PLM_LABOR@ ?

nadiener
Explorer
0 Kudos
148

I would like to know if I can reduce the displayed list of seedfiles available to the user based on either the CAD Group or the Lab/Office parameter @PLM_LABOR@

Accepted Solutions (0)

Answers (1)

Answers (1)

se_kie
Advisor
Advisor
0 Kudos

There could be a solution with configuration but this is very tricky. Don't expect support for this because you have to switch of the xml validation.

You can request this feature here: https://influence.sap.com/sap/ino/#/campaign/770 This is also described in SAP Note 2307014.

----

Experimental solution via configuration:

See Operation guide chapter "5.1 Roles in SAP Engineering Control Center", search for "PLM_ROLE".

Name all seedfiles with a logic like this:

seedfile_<role>.prt

In the plm_setenv.bat define a mapping:

set SEEDPART_1=seedfile_1_%PLM_ROLE%.prt
set SEEDPART_2=seedfile_2_%PLM_ROLE%.prt
set SEEDPART_3=seedfile_3_%PLM_ROLE%.prt

Change your dtype.xml

<seedfile filename="@SEEDPART_1@" type="template" default="yes" dictionary_identifier="Seed_01"/>
<seedfile filename="@SEEDPART_2@" type="template" default="no" dictionary_identifier="Seed_02"/>
<seedfile filename="@SEEDPART_3@" type="template" default="no" dictionary_identifier="Seed_03"/>
</seedfile>

Change default.txt and switch of the XML-Validation:

    -----------------------------------------------------------------------------
    turn off dtype xml validating (to support @ values)
plm.dtype.xml.validate = false
nadiener
Explorer
0 Kudos

Thank you for the quick reply. I will take some time to review this and comments back later.