[Finishing] View cluster of clusters to create a view

View cluster of clusters to create a view

 

I. Introduction cluster view

In the ERP system, we often see the hierarchy with a view to maintain, especially in the background IMG configuration, such as transaction code OKKP. In fact, it is a cluster view (View cluster), clusters can view transaction code SE54 will maintain view more than one table in a certain relationship are linked, form a hierarchical structure, easy maintenance data.

We might see the above transaction code with transaction code SE93, you can see the view cluster maintenance is to call the transaction code SM34 , that is to say in the future to create a cluster view can be maintained with the transaction codes (or create a separate transaction code in the following manner ).

 

Second, create a cluster view

There are two tables must first create a hierarchical relationship, where we looked to create a new purchase order / line item table as an example demonstration.

Remember the new "Table Maintenance Generator" (maintaining the same table with the SM30) After creating complete.

Where the line item table "EBELN" field you need to create a foreign key, it is associated with the rise of the table.

 

Then we can create a cluster view by transaction code SE54.

In the "object structure" in the new input to create a good two above Table, maintaining a good relationship between the order that they appear.

After the first select "ZPO_HEAD" line, click on the button in the upper right corner of the "related fields", after the completion of the system will prompt "field correlation has been completed". Second, select the "ZPO_ITEM" line, click on the left "field dependent" button to maintain good relations between the two corresponding Table (will be linked by a foreign key table Head and Item table).

Finally, do not forget to "activate" the entire operation.

It can be maintained after the transaction code SM34.

 

Released 2018 original articles · won praise 3957 · Views 10,350,000 +

Guess you like

Origin blog.csdn.net/zhongguomao/article/details/104782480