‎2008 Jul 29 5:59 AM
Hi All,
I have to create a list report which has both detail & summary information. Detail list has column header which is differ to the column header of summary. I have to display summary report just after the details report (Not in the new page always).
Details and summary both may be continue to the several pages. w
When it scrolls down, I need to show each column header on the top of the each list until finished the each list.
(On top of the detail list needs to be show detail column header and after scroll down to the summary report needs to be hide details column header and show only summary column header on the top. Same effect should be happen when scroll up also)
This can be done easily when the detail and summary list display in different pages (Using TOP-OF-PAGE). But in my issue I need to show the summary list just after the detail list. Appreciate very much if you could give a solution with a sample code.
Thanks,
Pra
‎2008 Jul 29 6:01 AM
‎2008 Jul 29 6:01 AM
‎2008 Jul 29 6:01 AM
Hi,
You can use event TOP-OF-PAGE DURING LINE-SELECTION for the detail list.
Example:-
http://www.sap-img.com/abap/example-code-for-drill-down-report.htm
Best of luck,
Bhumika
‎2008 Jul 29 6:04 AM
Hi,
define your detail col header in TOP-OF-PAGE DURING LINE-SELECTION.
for detail syntax and explanetion check,
http://help.sap.com/saphelp_nw70/helpdata/EN/9f/dba2eb35c111d1829f0000e829fbfe/content.htm
Regards,
Anirban
‎2008 Jul 29 6:05 AM
hi,
While Creating the Report Goto SE38 -> GOTO>Text Element ---> List Heading ---> Column Heading.
Apply different column for both list.
This might help.
Regards
Sumit Agarwal
‎2008 Jul 29 6:06 AM
Hi Pradeep,
Check this link:
http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/cagtflv.pdf
http://saplab.blogspot.com/2007/10/learn-all-functions-in-alv-grid-or-alv.html
Hope this helps you.
Regards,
Chandra Sekhar
‎2008 Jul 29 6:07 AM
Hello Pradeep,
Use TOP OF PAGE DURING LINE SELECTION.
In this event, you can set the headings accordingly,
e.g.:
TOP OF PAGE DURING LINE SELECTION.
if sy-lsind eq 1.
WRITE: 'PAGE1'.
ELSEIF SY-LSIND EQ 2.
WRITE: 'PAGE 2'.
ELSEIF SY-LSIND EQ 3.
WRITE 'PAGE 3'.
ENDIF.
Regards
Indu.
‎2008 Jul 30 6:33 AM
Hi All,
This is not a drill down or an interactive report.
Details and summary information should be shown in the same list with two different column headers. Summary information should be started just after the detail information (Summary information may be in the same page)
Column header of detail information should be hidden and column header of summary info should be shown on the top when scroll down to the summary information.
Column header of detail info should be shown on top and column header of summary info should be hidden when scroll up to the detail information.
Regards,
prad
‎2008 Jul 30 6:48 AM
Hi Pradeep,
If you give anything in the TOP-OF-PAGE event it will be shown at the top of the list and will remain if you scroll your list upwards. This event is restricted to the Basic List itself.
But if you want the headings to appear on the secondary list also, you use the event TOP-OF-PAGE DURING LINE SELECTION. This is same as TOP-OF-PAGE> But is displayed on the Detail Lists only.
There is another option also like if you want some headings on First Detail List give the sy-lsind as 1.
if you want some other headings on Second Detail List give the sy-lsind as 2. and so on...
Regards,
Swapna.