You are on page 1of 16

Report Tree in SAP

Applies to:
SAP R/3 4.6C and more SERP, SARP.

Author
Musarrat Husain
musarrat.husain@gmail.com

Report Trees in SAP (Using SERP and SARP)


Table of Contents

Introduction

Advantages of Report Tree

Structure Of Report Tree

Creating a Report Tree in SAP

Viewing Report Tree in SAP

10

Execution Of Report Tree

13

Transporting Report Tree

14

Page2 of 16

Report Trees in SAP (Using SERP and SARP)

1. Introduction
Report tree in SAP is a useful tool which can be used to
display reports created in a categorized fashion. After the creation of the
report tree, the reports can be displayed in a tree structure

2. Advantages of Report tree


The programs can be categorized so that they are easy to locate.
It gives the user the WINDOWS like feeling which makes navigation
easier
Program can be run by just double clicking on the related node

3. Structure of Report Tree


A report tree consists of nodes which are of two types :
Root Node
Sub-nodes

Page3 of 16

Root Node
Report Trees in SAP (Using SERP
and SARP)

Sub Nodes

4. Creating a Report tree in SAP


A standard report tree can be created using transaction code SERP. And to
view a Report tree in sap one has to use transaction code SARP.

Page4 of 16

Report Trees in SAP (Using SERP and SARP)

4(a). Create
To create a report tree, enter a name and choose Create. This takes you
into the new tree structure where the root node has already been created.

4(b). Change
To change a report tree, enter the name of the report tree you want to
change and choose Change. This takes you into the tree structure where you
can modify the node contents (see also Choose).
The name of the parent node is given in the initial screen.
It takes to the next screen. The name of the root node must be four
characters starting with Z or Y.

Page5 of 16

Report Trees in SAP (Using SERP and SARP)

On double clicking on the parent node, we get the following screen, where
we can specify the sub-nodes.

Page6 of 16

Report Trees in SAP (Using SERP and SARP)

After naming the nodes, save them. Then go to Node->Change Node Text,
and specify a text to be displayed when the technical names are set to off.

4(c). Changing node texts


To change the text of the node on which the cursor is positioned, choose
Change node text from Node menu. Then you will get a dialog box
containing the technical names and the old node texts. You can overwrite the
old texts with the new.
We get the following screen.

Page7 of 16

Report Trees in SAP (Using SERP and SARP)

We can enter the report program names and variants name if any by double
clicking the subnode and pressing create.
Here, we have taken two reports, ZFIDEMOF01 and ZSAMPLEPRG for
reference.

Page8 of 16

Report Trees in SAP (Using SERP and SARP)

Enter reports you want to come under that particular node


After entering the program names save the nodes.

Page9 of 16

Report Trees in SAP (Using SERP and SARP)

By default, the short text of the particular program will be displayed as the
label. You can change it by going to Edit->Report Title.
Enter a text to be displayed for that particular report node and save it.
Now click on back and you will come to initial screen.

4(d).Save
You can save the tree structure, by clicking on save button. The result
of the actions Reassign, Delete, Change node text, Insert buffer, Create, is
reflected saved to R3 repository once you save the tree structure.

Page10 of 16

Report Trees in SAP (Using SERP and SARP)

5. Viewing Report Tree in SAP


A report tree can be viewed in the transaction code SARP.
Use transaction code SARP in order to view the report tree structure.

Page11 of 16

Report Trees in SAP (Using SERP and SARP)

Page12 of 16

Report Trees in SAP (Using SERP and SARP)

5(a) Expanding and collapsing sub-trees


The Expand sub-tree, Collapse sub-tree functionality allows you to expand
and collapse a sub-tree by placing your cursor on its root node.

5(b) Display additional list information


To display additional information for the selected list on the screen, choose
List information. This information tells you:
Who generated the list
Whether the list is public
Whether the list is archived

Page13 of 16

Report Trees in SAP (Using SERP and SARP)

6. Execution of Reports
Reports in a Report tree can be executed in the transaction SARP. After
expanding the sub-tree, one can double click on the desired report node and
make it run.
This functionality helps user to access all the desired reports from single
screen.

Page14 of 16

Report Trees in SAP (Using SERP and SARP)

7. Transport

7(a) Transporting the Tree Structure and the Node Contents


If you are in a client where changes are automatically recorded, you need to
create a correction when you change the tree structure and node contents.
The following entries are made in the correction:
When you change a tree, the whole tree is included in the request
(transport object R3TR SRTR). The following are then transported:
Tree structure and texts
Node entries (names of reports and variants, customer-specific
texts)
The following are not transported:
User-specific settings (initial position, sub-trees, visible
entries)

Saved lists

Page15 of 16

Report Trees in SAP (Using SERP and SARP)

7(b) Release upgrade


Report trees are client-specific objects. Original SAP report trees are
delivered in the client 0. Only these report trees are overwritten during a
release upgrade. Report trees in other clients are not automatically
overwritten.

Author is ABAP technical consultant in Wipro Technologies. Has an experience of working on working
of various modules of SAP and is currently working on SAP xMII Integration.
Page16 of 16