Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Interactive Report

jack_thelen
Explorer
0 Likes
380

Hi all,

I've been tasked with writing an interactive CO-PA report that works in a similar manner to a Report Painter report.

I need the Profit Center Hierarchy displayed on screen in a side-pane and the reports numeric details in the main screen. I'm pretty sure I understand that I need to use the ALV_TREE methods to show the hierarchy, but how can I make the numeric details react to which portion of the hierarchy is selected?

For example, they could run the report for the top level node and see the hierarchy on the left and the complete numeric results for the entire hierarchy on the right. But then if the user clicks on a sub-level of the hierarchy I need to make the numeric results show only what is related to the selected nodes and subnodes.

Has anyone done this sort of thing before?

Thanks in advance for your help.

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
350

Hi,

We have sample standard reports with similar requirement. Just check the code to see how they have done this.

In se38 search for the below search string(With F4 option)

BCALVTREEDEMO*

or

BCALVTREE

Thanks,

Vinod.

2 REPLIES 2
Read only

vinod_vemuru2
Active Contributor
0 Likes
351

Hi,

We have sample standard reports with similar requirement. Just check the code to see how they have done this.

In se38 search for the below search string(With F4 option)

BCALVTREEDEMO*

or

BCALVTREE

Thanks,

Vinod.

Read only

0 Likes
350

Hi Vinod,

Thanks for that and I have looked at those. Unfortunately, the main section of my screen cannot be displayed using ALV. It's essentially a profit and loss statement with each line having different formulas and structures. Like Report Painter, it will end up looking like an old style ABAP 'write-statement' report.

I think I've found a sample though...the cost center report at transaction S_ALR_87013611. That seems to look like a good template.

Thanks for the help.