‎2010 Feb 17 7:20 PM
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.
‎2010 Feb 17 7:25 PM
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.
‎2010 Feb 17 7:25 PM
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.
‎2010 Feb 17 7:52 PM
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.