cancel
Showing results for 
Search instead for 
Did you mean: 

SolidWorks Integraion to ECTR limit Attributes-from-SAP during update before save

nadiener
Explorer
0 Kudos

Is there any method to restrict or allow only specific attributes to be refreshed during "Update attributes from SAP before save (check-in)"

plm.options.checkIn.UpdateAttributesFromSAP.SLW = true/false

I currently have attribute-from-sap restricted for (s) locked status. I would like to inlcude only specific named attributes for refresh before save.

Accepted Solutions (0)

Answers (2)

Answers (2)

GerhardHimmelsb
Advisor
Advisor
0 Kudos

Hello Neal,

sorry for my late reply.

In SAP ECTR standard there are three points in time:

  1. SAP->CAD: when opening a CAD file (see also DType setting for_rw/dirty/ro )
  2. SAP->CAD: click "refresh attributes" in CAD ribbon.
  3. CAD->SAP: during saving (checkin) a CAD file to SAP.

The attributes can be controlled in attributes-<to/from>-sap.xml.

So there is no out-of-the-box solution in standard to accomplish your requirements.

This might be solved by a project specific (consulting) extension.

Regards,

Gerhard

GerhardHimmelsb
Advisor
Advisor
0 Kudos

Hello Neal,

can you explain your requirement a little more in detail?

What are the steps / flow you try to implement?

What are the settings (default.txt, attributes-from-sap.xml, ...)?

Be aware, that there are Badis you can use during updating the attributes.

Regards,

Gerhard

nadiener
Explorer
0 Kudos

Hello Gerhard,

In my scenario, I have a hidden charactersitc value that for a DIR that is passed from SAP to the file properties when the DIR is opened (when in an unlocked status). When the DIR is saved the value is passed to different visible characteristic value.

In some cases, it is required that the user change this value in the file properties and then this value is sent to SAP to overwrite the visible classification value. This value is to be printed in the CAD titleblock. When I enable the "UpdateAttributesFromSAP" the hidden characteristic is reread and applied to the propery value which is then applied to the visible characteristic, thereby overwritting the user applied value in the file properties and in the characteristic. I do not want the value to be overwritten before checkin as the user is attempting to set the value.

At the same time, I am attempting to refresh a value from SAP for SAP_LAST_CHANGE_DATE to add to my CAD title block before a PDF is generated as the last step before the DIR is promoted to a locked status, Because, I have locked the attribute-from-sap restricted for (s) locked status.

I believe the best solution would be a method where I can specifically identify which values should be refreshed on check in and restrict all others.

Thank You,

Neal