ALV list/grid in a loop
I have requirment where-in i have to display 3 ALV lists in loop.
The field_catlog remains the same for 3 lists but the table data is going to be changed (Ex: based on material no and plant).
As of now it is displaying last set of data on the screen but when i hit back button it shows previous set of data and so on..
is there any way to dispplay evrything at once?
Naimesh Patel replied
I think for your requirement, you can use the IT_SORT table of the simple ALV.
IA_SORT-SPOS = '01'. IA_SORT-FIELDNAME = 'MATNR'. IA_SORT-UP = 'X'. IA_SORT-GROUP = '*'. < This will generate a Group on the output APPEND IA_SORT TO IT_SORT. * Use FM REUSE_ALV_LIST_DISPLAY to generate the list
You can look at the report FBL5N. It is generating the report based on the Company Code and Customer groups.