Skip to Content

            SAP 3D Visual Instance Planner is a solution from SAP PLM that can enrich product structure with variants and geometric instances using the geometric data from the CAD 3D model. Designer is able to do a digital mock-up of the different configurations in PSM after the Geometric Instances are maintained within the Product Item variant. Additionally,the visual enriched Product structure can be used to create manufacturing BOM from Visual Enterprise Manufacturing Planner. Here, I will explain how the PSM enrichment with visuals can be achieved using services with minimal configuration activity. The function module /PLMI/COPY_INST_BOD2_PSM allows you to transfer the geometric position data or the instance data from CAD to the PSM variants. The function is also capable of creating variants for product items based on defined mapping rules.

 

Creating variants and instances in PSM

 

Variants can be created automatically using the service /PLMI/COPY_INST_BOD2_PSM  if the appropriate identifiers are maintained in Product Items and document structure. The identifiers to be respected for creation, update or deletion of variants and instances is maintained in the following customizing. Logistics-General->Product Lifecycle Management->PLM Web User Interface->Objects in PLM Web UI->Product Structure and Assembly Management->Settings to Transfer Instances from Document Structure to Product Structure.

 

There are various possibilities offered, to define identifiers in PSM and document structure like for ex. using:

i. Classification values

ii. Attributes of PSM or document like Name, description, material

iii. Custom attributes where the customer implements a BADI /PLMI/PPE_VIP to populate the identifier values in PSM and document structure.

 

It is up to the user to choose the appropriate identifier setting based on how the data is set up in the system.

 

 

In the next few minutes you will discover how the service works with two separate set of indentifiers.

i. Classification as identifiers in PSM and document structure.

ii. Attributes like Description, Material as identifier in PSM and document structure.

 

 

I will illustrate using an example of Bike.

 

 

1.1 Creating variants and instances in PSM using classification

 

The Bike product family contains Product Items like Brake, Wheel, Cable, Front Wheel, Rear Wheel etc. In Product Items in PSM, we have assigned an Identifier class called PSM_PI_ID to each of the product Items.

 

/wp-content/uploads/2016/10/1_1048982.png

 

 

The class definition in CL03 is like below. This class contains a characteristic called ‘ID’ which will uniquely identify variants from source structure.  The characteristic can take multiple values.

/wp-content/uploads/2016/10/2_1049039.png

The characteristic values that is to uniquely identify each variant from the source document structure is maintained at each product item.

/wp-content/uploads/2016/10/3_1049057.png

 

The document structure has similar classification data maintained at each document. The class ‘CAD_BIKE’ contains two characteristics:

 

i.Characteristic which will uniquely identify the product item in PSM in which the variant and instance has to be created. The characteristic can accept multiple values.

ii. Characteristic which will uniquely identify the variant for which the geometric instances needs to be updated. This identifier is only required in case of update of Geometric Instances and not for creation of GI.

In CL03, the class definition is like below:

/wp-content/uploads/2016/10/4_1049058.png&

 

 

The characteristic values should uniquely identify the PI and variant in PSM.

/wp-content/uploads/2016/10/5_1049059.png

 

Customizing is maintained in SPRO Logistics-General->Product Lifecycle Management->PLM Web User Interface->Objects in PLM Web UI->Product Structure and Assembly Management->Settings to Transfer Instances from Document Structure to Product Structure like below.

/wp-content/uploads/2016/10/6_1049060.png

Execute function module /PLMI/COPY_INST_BOD2_PSM in SE37. /wp-content/uploads/2016/10/7_1049061.png

The function creates variants and geometric instances wherever it finds matching product items comparing the identifier values between source document structure and target product structure. The message logs indicates details about the GI created.

 

The user can verify the results in two ways:

i. Loading the PSM in Visual Instance Planner

ii. Digital mock up in PSM The results will indicate any incorrect GI assignment.

/wp-content/uploads/2016/10/8_1049062.png

 

1.2 Creating variants and instances in PSM using attributes

 

In the previous scenario we used classification to identify the instances that needs to be mapped under the product Item. In this scenario, we would make use of attributes like description of document, material number assigned to document for identification.

Pre requisite here would be that we have documents with description matching the product item description and the documents have material numbers assigned. /wp-content/uploads/2016/10/9_1049038.png/wp-content/uploads/2016/10/10_1049063.png

Customizing is maintained in SPRO Logistics-General->Product Lifecycle Management->PLM Web User Interface->Objects in PLM Web UI->Product Structure and Assembly Management->Settings to Transfer Instances from Document Structure to Product Structure like below./wp-content/uploads/2016/10/11_1049064.png

Execute function module /PLMI/COPY_INST_BOD2_PSM in SE37./wp-content/uploads/2016/10/12_1049065.png

The function creates variants and geometric instances when it finds matching product items comparing the identifier values between source document structure and target product structure. The message logs indicates provides details about the GI created. The user can verify the results in two ways: i. Loading the PSM in VIP ii. Digital mock up in PSM The results will indicate any incorrect GI assignment.

/wp-content/uploads/2016/10/13_1049095.png

In the above scenarios, we have covered the creation of variants and GI using different identifiers. The scenario which I havent explicitly covered is creation of GI when variants are already present in the product structure, but must be obvious to the reader by now how that would work. Like creation, the services also manage instance updates. The key to using the services would be to have the right identifiers maintained between the source document and target product structure. The services provides flexibility to user to do instance assignment in various ways. If the standard attributes are not good enough for identification, there is always the flexibility to define custom attributes for identification by BADI implementation. Hope you found this useful. Cheers !!

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply