Hi All,
I have following selection option and parameter:
SELECT-OPTIONS: s_lifnr for lfa1-lifnr obligatory,
s_matnr for mara-matnr,
s_mtart for mara-mtart.
PARAMETERS: p_cng AS CHECKBOX . "For Changed Articles
PARAMETERS: p_uncng AS CHECKBOX "For Unchanged Articles
Using the above details I need to prepare ALV Block Report using three internal tables.
1.Summary Report (Always will be there)
2.Changed Articles Report ( if p_cng = 'X')
3.Unchanged Articles Report ( if p_uncng = 'X')
eg. a) Report heading "Summary Report"
Vendor Name Article Count Article Changed Unchanged V1 X 10 2 8
V2 Y 5 0 5
etc etc
Once Summary report will be over at the end of the report
IF p_cng = 'X' Then disply Changed Articles Report
b) Report Heading "Changed Article Details"
Vendor Name Article Description
V1 X A1 AA
V2 Y A2 BB
etc etc etc etc
ENDIF.
IF p_uncng = 'X' Then disply UnChanged Articles Report
b) Report Heading "UnChanged Article Details"
Vendor Name Article Description
V1 X A6 AA6
V2 Y A7 BB7
etc etc etc
ENDIF.
All data populated in three dii internal table exactly the way I want . Only problem is finding difficult to display in ALV Block Report. I will appreciate if any one can send me sample code ( please exclude DEMO AND Object Oriented method ) of ALV Block Report using multiple tables . I will be happy to reward points.
Thank you very much in Adv.