Applies to:
SAP release ECC 5.0 onwards. For more information, visit the ABAP homepage.
Summary
This tutorial explains how to create custom report tree. Author: Piyush Mathur
th
Company: Tata Consultancy Services Created on: 20 , February 2011
Author Bio
Piyush Mathur is working with Tata Consultancy Services from last 3 year. He is having 7 years of experience in SAP HR/ABAP/HR ABAP/Interface/Upgrades.
Introduction
SAP Provide the concept of Report tree which can be used to access all the reports, transaction code, ABAP Query, FORM under one tree. SAP Provide many standard reports tree and also provide create option for custom report tree. This document contains step by step information on below points for report tree. 1) Creation of Report tree 2) Steps to add Nodes and reports in custom report tree 3) Step to assign Transaction code to new custom tree.
Steps to create new Custom report tree: Step 1: Execute Transaction code SERP and give the name of new report tree.
In Next screen, you can see the high node for the report tree. You can change the node text by selection menu Node --> Change Node Text. Step 2: Enter the new text in the box.
Step 5: Execute T code SARP and give your report tree name YPM1.
Click on Display. In next screen you can see the report tree layout.
Now we need to create transaction code to access the report tree, For that first we need to create the transaction variant for this. Step 6: Execute transaction code SHD0 Give Transaction code SARP and any name for Transaction variant and click on Create.
Next screen will be for SARP t cde. Now give your report tree name. System will give you one pop up for variant setting. Fill the below parameter and save the changes in SAP Standard package.
Now save the changes. Step 7: Execute Transaction code SE93 to create the t code for report tree. Give a name to T code and select create.
Now select Transaction with variant option and give some test.
In Next screen pass the Transaction SARP and variant name created in SHD0. Select the Cross client first before selection the variant. Now save the changes.
Now new Tcode YPM1 is ready to access the report tree. Step 8: Execute the t code YPM1 and you can execute the report tree.
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.