Application Development and Automation Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Khan-Muskan
Explorer
3,127

This blog post provides a beginner-friendly introduction to the concept of creating a custom SPRO node and assigning a custom view cluster to it.

Introduction

In SAP, SPRO nodes provide an organized way to access and maintain configuration tasks within SAP systems. This blog demonstrates how to create a custom SPRO node for a view cluster based on flight-related data.

Scenario Overview

Imagine you are tasked with managing flight-related configuration data stored in SAP tables such as SFLIGHT (flight schedule), SCARR (airline details), and SPFLI (flight connection). You aim to create a view cluster displaying and maintaining this data and link it to a custom SPRO node for seamless navigation.

T-code to create SPRO Node: - SIMGH.

T-code to create View Cluster: - SE54.

Step-by-Step Implementation

1. Create the View Cluster: -

Step1. Go to T-Code SE11 and create a maintenance view. Provide the name and click on the create button.

KhanMuskan_0-1737090434334.png

Step2. Select the Maintenance view radio button and click on the Copy button.

KhanMuskan_0-1737091666852.png

Step3. Provide the description and in the Table/Join condition tab provide ‘SCARR’ as table name and click on View Fields.

KhanMuskan_1-1737091708191.png

Step4. All the key fields are automatically added to the view. To add more fields, click on the button Table fields.

KhanMuskan_0-1737091787719.png

Step5. Select some fields and click on the Copy button to add.

KhanMuskan_1-1737091816442.png

Step6. All the selected fields of the table are added to the view. now activate the view.

KhanMuskan_2-1737091841894.png

Step7. Creating the Table maintenance generator. Navigate along the highlighted path.

KhanMuskan_3-1737091874629.png

Step8. Provide the function group name, screen number and click on the create button to complete the TMG and then go back.

KhanMuskan_0-1737091969136.png

Step9. Now click on the Contents button.

KhanMuskan_1-1737092059283.png

Step10. It shows all the records.

KhanMuskan_2-1737092358593.png

Step11. Follow the above shown steps to create another maintenance view ‘ZMUK_SPFLI’.

KhanMuskan_3-1737092390199.png

Step12. Table Fields.

KhanMuskan_4-1737092420960.png

Step13. Create TMG (Table maintenance generator).

KhanMuskan_5-1737092457793.png

Step14. Follow the above shown steps to create another maintenance view ‘ZMUK_SFLIGHT’.

KhanMuskan_6-1737092490741.png

Step15. Table Fields.

KhanMuskan_7-1737092519783.png

Step16. Create TMG (Table maintenance generator).

KhanMuskan_8-1737092553350.png

2. Steps to Create View Cluster: -

Step1. Go to SE54 t-code.

KhanMuskan_0-1737092744427.png

Step2. Click on the Edit View Cluster Button.

KhanMuskan_0-1737093009239.png

Step3. Provide the View Cluster Name and click on the Create button.

KhanMuskan_1-1737093039558.png

Step4. Under the Header Entry, provide short text and double click on Object Structure.

KhanMuskan_2-1737093091330.png

Step5. Under Object Structure Click on New Entries Button.

KhanMuskan_3-1737093131270.png

Step6.  Now provide the three above created maintenance view in hierarchical manner. Provide a short text for all. Set the position. Select the view ‘ZMUK_SCARR’ as the start.

KhanMuskan_4-1737093259374.png

Step7. Now select the first line and click on the Field-dependence button.

KhanMuskan_5-1737093285662.png

Step8. Now select the second line and click on the Field-dependence button.

KhanMuskan_6-1737093333527.png

Step9. Now select the third line and click on the Field-dependence button.

KhanMuskan_7-1737093361890.png

Step10. In the Header Entry section, click on the Activate button.

KhanMuskan_8-1737093395165.png

Step11. Go back and Click on the TEST button to test the View Cluster.

KhanMuskan_9-1737093425543.png

Step12. Now the records from ‘ZMUK_SCARR’ are displayed.

KhanMuskan_10-1737093452020.png

3. Steps to Create SPRO Node and assign the above created view cluster: -

Step1. Let’s decide the node under which we can add this table as a sub-node. Go to T-code- SPRO.

KhanMuskan_0-1737093674159.png

Step2. Click on SAP Reference IMG.

KhanMuskan_1-1737093701794.png

Step3. We figured out that we will add this customizing view cluster under the Structure (Node😞 Product Compliance.

KhanMuskan_2-1737093798109.png

Step4. Go to T-code: SIMGH.

KhanMuskan_3-1737093828109.png

Step5. Click on the F4 button against IMG Structure.

KhanMuskan_4-1737093857439.png

Step6. Grom the search criteria. provide ‘Product compliance’ and click on Execute button.

KhanMuskan_5-1737093882129.png

Step7. Select our decided structure “Product Compliance”.

KhanMuskan_6-1737093915508.png

Step8. Now click on the Edit button.

KhanMuskan_7-1737093943394.png

Step9. Now click on the Continue button.

KhanMuskan_8-1737094082749.png

Step10. Select the Structure ‘Product Compliance’ and click on the highlighted button (Insert structure node as sub nodes).

KhanMuskan_9-1737094119313.png

Step11. Provide the Node text and click on continue.

KhanMuskan_10-1737094161901.png

Step12. The node has been added to the structure.

KhanMuskan_11-1737094189263.png

Step13. Select the Sub-node and click on Activity.

KhanMuskan_0-1737094509643.png

Step14. Provide the ID ‘ZVCL_SPRO_MAPPING’, Name ‘SPRO view Cluster Assignment’.

Under the ‘Document’ tab, provide the document name ‘ZVCL_SPRO_MAPPING _DOC’ and click on Create button.

KhanMuskan_1-1737094543602.png

Scroll a bit to the right to find the create button.

KhanMuskan_2-1737094559158.png

Step15. Click on Allow.

KhanMuskan_3-1737094609754.png

Step16. Maintain some help document for the user for F1 purpose and activate it. Go Back.

KhanMuskan_4-1737094643881.png

When Clicked on Activate button, It will ask for package and TR, provide it and save it. And then Go back. 

Step17. Now click on Maint.Objects tab as highlighted. 

Step18. Provide the Maintenance Object: ID ‘ZVCL_SPRO_MAINTAIN’ and Name ‘Maintaining View Cluster Integration’. 

Under the assigned Object section, provide View Cluster name ‘ZVC_FLIGHT_DEMO’ as Customizing Object, Select Type As ‘C’, and Transaction as SM34. Save it and Go Back.

KhanMuskan_5-1737094681580.png

Step19. The Node appears under the structure “Product Compliance” as follows. Click on the highlighted part in red color to test it.

KhanMuskan_6-1737094708705.png

Step20. Provide the input as AA (Airline number) and click on Continue.

KhanMuskan_7-1737094735095.png

Step21. Provide the connection number and click on Continue.

KhanMuskan_8-1737094758229.png

Step22. Click on the new entries tab.

KhanMuskan_9-1737094781635.png

Step23. Provide some entry and click on Save.

KhanMuskan_10-1737094806843.png

Step24. Go back and click on Save.

KhanMuskan_11-1737094833042.png

Step25. To check if Node is created successfully, go to SPRO transaction and Click on SAP reference IMG.

KhanMuskan_12-1737094858209.png

Step26. Expand the Product Compliance’ Node and the created object appears here. Execute it to maintain the data.

KhanMuskan_13-1737094888064.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2 Comments