cancel
Showing results for 
Search instead for 
Did you mean: 

Description of SLW files while importing through SAP PLM - ECTR should automatically take from SLW file custom properties

arun_prasads
Participant
0 Kudos


Hi,

While importing SLW assembly file into SAP from ECTR using Import On Demand option, the description should automatically be filled with values taken from the SLW file custom properties..

How can this be achieved...?

Right now the SLW filename gets populated into the description while import on demand automatically.

Thanks

Arun Prasad

Mobile - 9945505421

Accepted Solutions (1)

Accepted Solutions (1)

stefan_radusch
Explorer
0 Kudos

Hi Arun,

to achieve this you have to define an attribute_section for document_create in your dtype.xml. After this you must enter this to your attributes-to-sap.xml:

<section name="%ATTRIBUTE_SECTION%" description="...">

....

<APPL_ATTRIBUTE name="_DOCDESCR">

      <APPL_ATTRIBUTE name="%YOUR_CUSTOM_PROPERTY%" />

</APPL_ATTRIBUTE>

....

</section>

Finally you have to switch on the attribute transfer during import in your default.txt with this option: plm.options.importOnDemand.TransferAttributesToSAP.SLW.

Here is a concrete example:

  • <ECTR_INST_DIR>\applications\slw\customize\config\dtype.xml

         <document_create

              ......

              attribute_section="SLWMDL">

        </document_create>

  • <ECTR_INST_DIR>\applications\slw\customize\config\attributes-to-sap.xml

        <section name="SLWMDL" description="Model mapping from SOLIDWORKS 3D to SAP">

              <APPL_ATTRIBUTE name="_DOCDESCR">

                    <APPL_ATTRIBUTE name="Description" />

                </APPL_ATTRIBUTE>

            </section>

  • <ECTR_INST_DIR>\applications\slw\customize\config\default.txt
    plm.options.importOnDemand.TransferAttributesToSAP.SLW = true


Regards!

Stefan

arun_prasads
Participant
0 Kudos

Hi Stefan,

Thank you for this valuable input...

It's working fine now...

I'm getting the descriptions automatically filled..

Thanks

Arun Prasad

Answers (0)