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.
Step2. Select the Maintenance view radio button and click on the Copy button.
Step3. Provide the description and in the Table/Join condition tab provide ‘SCARR’ as table name and click on View Fields.
Step4. All the key fields are automatically added to the view. To add more fields, click on the button Table fields.
Step5. Select some fields and click on the Copy button to add.
Step6. All the selected fields of the table are added to the view. now activate the view.
Step7. Creating the Table maintenance generator. Navigate along the highlighted path.
Step8. Provide the function group name, screen number and click on the create button to complete the TMG and then go back.
Step9. Now click on the Contents button.
Step10. It shows all the records.
Step11. Follow the above shown steps to create another maintenance view ‘ZMUK_SPFLI’.
Step12. Table Fields.
Step13. Create TMG (Table maintenance generator).
Step14. Follow the above shown steps to create another maintenance view ‘ZMUK_SFLIGHT’.
Step15. Table Fields.
Step16. Create TMG (Table maintenance generator).
2. Steps to Create View Cluster: –
Step1. Go to SE54 t-code.
Step2. Click on the Edit View Cluster Button.
Step3. Provide the View Cluster Name and click on the Create button.
Step4. Under the Header Entry, provide short text and double click on Object Structure.
Step5. Under Object Structure Click on New Entries Button.
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.
Step7. Now select the first line and click on the Field-dependence button.
Step8. Now select the second line and click on the Field-dependence button.
Step9. Now select the third line and click on the Field-dependence button.
Step10. In the Header Entry section, click on the Activate button.
Step11. Go back and Click on the TEST button to test the View Cluster.
Step12. Now the records from ‘ZMUK_SCARR’ are displayed.
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.
Step2. Click on SAP Reference IMG.
Step3. We figured out that we will add this customizing view cluster under the Structure (Node ‘Product Compliance’.
Step4. Go to T–code: SIMGH.
Step5. Click on the F4 button against IMG Structure.
Step6. Grom the search criteria. provide ‘Product compliance’ and click on Execute button.
Step7. Select our decided structure “Product Compliance”.
Step8. Now click on the Edit button.
Step9. Now click on the Continue button.
Step10. Select the Structure ‘Product Compliance’ and click on the highlighted button (Insert structure node as sub nodes).
Step11. Provide the Node text and click on continue.
Step12. The node has been added to the structure.
Step13. Select the Sub-node and click on Activity.
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.
Scroll a bit to the right to find the create button.
Step15. Click on Allow.
Step16. Maintain some help document for the user for F1 purpose and activate it. Go Back.
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.
Step19. The Node appears under the structure “Product Compliance” as follows. Click on the highlighted part in red color to test it.
Step20. Provide the input as AA (Airline number) and click on Continue.
Step21. Provide the connection number and click on Continue.
Step22. Click on the new entries tab.
Step23. Provide some entry and click on Save.
Step24. Go back and click on Save.
Step25. To check if Node is created successfully, go to SPRO transaction and Click on SAP reference IMG.
Step26. Expand the ‘Product Compliance’ Node and the created object appears here. Execute it to maintain the data.
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.IntroductionIn 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 OverviewImagine 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 Implementation1. Create the View Cluster: -Step1. Go to T-Code SE11 and create a maintenance view. Provide the name and click on the create button.Step2. Select the Maintenance view radio button and click on the Copy button.Step3. Provide the description and in the Table/Join condition tab provide ‘SCARR’ as table name and click on View Fields.Step4. All the key fields are automatically added to the view. To add more fields, click on the button Table fields.Step5. Select some fields and click on the Copy button to add.Step6. All the selected fields of the table are added to the view. now activate the view.Step7. Creating the Table maintenance generator. Navigate along the highlighted path.Step8. Provide the function group name, screen number and click on the create button to complete the TMG and then go back.Step9. Now click on the Contents button.Step10. It shows all the records.Step11. Follow the above shown steps to create another maintenance view ‘ZMUK_SPFLI’.Step12. Table Fields.Step13. Create TMG (Table maintenance generator).Step14. Follow the above shown steps to create another maintenance view ‘ZMUK_SFLIGHT’.Step15. Table Fields.Step16. Create TMG (Table maintenance generator).2. Steps to Create View Cluster: -Step1. Go to SE54 t-code.Step2. Click on the Edit View Cluster Button.Step3. Provide the View Cluster Name and click on the Create button.Step4. Under the Header Entry, provide short text and double click on Object Structure.Step5. Under Object Structure Click on New Entries Button.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.Step7. Now select the first line and click on the Field-dependence button.Step8. Now select the second line and click on the Field-dependence button.Step9. Now select the third line and click on the Field-dependence button.Step10. In the Header Entry section, click on the Activate button.Step11. Go back and Click on the TEST button to test the View Cluster.Step12. Now the records from ‘ZMUK_SCARR’ are displayed.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.Step2. Click on SAP Reference IMG.Step3. We figured out that we will add this customizing view cluster under the Structure (Node ‘Product Compliance’.Step4. Go to T-code: SIMGH.Step5. Click on the F4 button against IMG Structure.Step6. Grom the search criteria. provide ‘Product compliance’ and click on Execute button.Step7. Select our decided structure “Product Compliance”.Step8. Now click on the Edit button.Step9. Now click on the Continue button.Step10. Select the Structure ‘Product Compliance’ and click on the highlighted button (Insert structure node as sub nodes).Step11. Provide the Node text and click on continue.Step12. The node has been added to the structure.Step13. Select the Sub-node and click on Activity.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.Scroll a bit to the right to find the create button.Step15. Click on Allow.Step16. Maintain some help document for the user for F1 purpose and activate it. Go Back.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.Step19. The Node appears under the structure “Product Compliance” as follows. Click on the highlighted part in red color to test it.Step20. Provide the input as AA (Airline number) and click on Continue.Step21. Provide the connection number and click on Continue.Step22. Click on the new entries tab.Step23. Provide some entry and click on Save.Step24. Go back and click on Save.Step25. To check if Node is created successfully, go to SPRO transaction and Click on SAP reference IMG.Step26. Expand the ‘Product Compliance’ Node and the created object appears here. Execute it to maintain the data. Read More Application Development Blog Posts articles
#SAP