Step by Step Instructions To Create Report Tree

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Step by Step Instructions to

create Report tree

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


Company: Tata Consultancy Services
th
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.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 1
Step by Step Instructions to create Report tree

Table of Contents
Introduction ......................................................................................................................................................... 3
Step 1: ............................................................................................................................................................. 3
Step 2: ............................................................................................................................................................. 3
Step 3: ............................................................................................................................................................. 4
Step 4: ............................................................................................................................................................. 5
Step 5: ............................................................................................................................................................. 6
Step 6: ............................................................................................................................................................. 6
Step 7: ............................................................................................................................................................. 7
Step 8: ............................................................................................................................................................. 8
Related Content .................................................................................................................................................. 9
Disclaimer and Liability Notice .......................................................................................................................... 10

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 2
Step by Step Instructions to create Report tree

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.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 3
Step by Step Instructions to create Report tree

Now to add child node under the main node, click on New and select Structure Node

Step 3:
Give the New Node name with the text.

Now save the changes. Now you can see the new node in Report tree.

Same way you can add another new code and also sub node for each node. Repeat the above steps to add
new node. For example, I added the node as below:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 4
Step by Step Instructions to create Report tree

To add the new sub node simply clicks oh the node in which you want to add new sub code and process the
above steps:

Step 4:
Now to add the reports under the node, double click on the node and click on Add Object button:

Give the technical name of the report which you want to add under the node and save it.

Now save the changes. You can test your report tree from transaction code SARP.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 5
Step by Step Instructions to create Report tree

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.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 6
Step by Step Instructions to create Report tree

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.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 7
Step by Step Instructions to create Report tree

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.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 8
Step by Step Instructions to create Report tree

Related Content
www.sdn.sap.com
www.saptechnical.com
www.sap-img.com
For more information, visit the ABAP homepage

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 9
Step by Step Instructions to create 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.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2011 SAP AG 10

You might also like