To Clause for the Expand Businessobject Command

When the To clause is used, the named business object is used as the starting point. However, it is assumed that the object is defined as the TO end of the relationship definition. Therefore, you are looking for all objects that lead to the named object—the objects defined as the FROM ends in a relationship definition.

Using the To clause can be useful to work backward. For example, you might want to determine components that make up a particular subassembly. If you know the name of the subassembly object, you can do this by writing a command similar to:

expand businessobject Component “Mini Numeric Keypad” C to;

This might produce a list of objects that contain buttons, plastic housings, and printed circuit boards. All related objects defined as the FROM connection end are listed. This could include additional objects that you do not need. To help reduce the number of objects listed and to allow you to look in both directions, you can use the Relationship or Type clauses of the Expand Businessobject command.