2008 Apr 25 6:10 AM
Dear All,
Could anyone help me in below topic -
I want to to display multiple lists at a time. For that, I am using Blocked List.
I want to display different Header for each List. Header will be decided dynamically. And for List display I am using Internal table with same name with different data each time.
How many Number of list will be displayed decided at run time.
Now, the problem is, when I am trying to do this, multiple list are getting displayed with the data that I filled in the Internal Table at last.
So, is this not the proper way.
If not, then what is the proper way?
Please help ASAP.
Thanks in advance.
Best Regards,
Prasad
Dear All,
Could anyone help me in below topic -
I want to to display multiple lists at a time. For that, I am using Blocked List.
I want to display different Header for each List. Header will be decided dynamically. And for List display I am using Internal table with same name with different data each time.
How many Number of list will be displayed decided at run time.
Now, the problem is, when I am trying to do this, multiple list are getting displayed with the data that I filled in the Internal Table at last.
So, is this not the proper way.
If not, then what is the proper way?
Please help ASAP.
Thanks in advance.
Best Regards,
Prasad
2008 Apr 25 6:18 AM
One more query :
How may List can be displayed at a time?
Best Regards,
Prasad
2008 Apr 25 6:24 AM
hi,
you are using reuse_alv_block_list_display right.
Based on calling function module order it wil display to you in output.
In case of blocked list 3 function modules we have to call in program
1 is for initiation,
2nd one appending
3rd one is for display
based on appending your internal tables list wil format in order.
after 3rd step it will display for you.
check once.
2008 Apr 25 6:34 AM
Thanks for the quick reply.
Yes, right.
I am using INIT, APPEND and DISPLAY FMs.
But, if the Internal table Name passed to APPEND FM is same each Time even with different Data, still it is displaying the list with data which is filled at last in the Internal table.
So, what is the solution to display all data?
Best Regards,
Prasad
2008 Apr 25 6:41 AM
Hi,
There are not many limitations.
The limitations are surprisingly few. While the current version of ALV only lets you display simple lists (no block or hierarchical lists), users can define multiple-line formats in the Print Preview window and print multiple-line lists from there. The only other significant constraint is that you must be online. ALV doesnt run in background processing.
After caling append ,call display function module.
it will display in output in order.
2008 Apr 25 6:51 AM
Hi, But, we have to call
INITI
Then, as many APPEND as we want.
DISPLAY
So, DISPLAY is at last only and not each time.
Thanks in advance.
Best Regards,
Prasad
2008 Apr 25 7:15 AM
Hi,
yes you are right but
based on calling append function module list will format which one is first which one is after has to display.
I think your problem is last internal is only having data before that no data is available in that tables.
check this .
*reward points.
2008 Apr 25 7:22 AM
Hi,
I am passing the Internal Table with same Name to the APPEND FM each time with different data; & DISPLAY at last.
And it displays Data which is lastly filled in the table for every list.
This is the actual proplem.
Please give the solution for this.
Best Regards,
Prasad
2008 Apr 25 7:30 AM
Hi prasad,
remaining tables doen't contain any dat that's why it is displaying only last table in list.
2008 Apr 25 7:36 AM
Hi
Before passing to the FM REUSE_ALV_BLOCK_LIST_APPEND, just assign the internal table value in to some other internal table. pass the new internal table. Have a look at the standard program BALVBT01.
itab_new = itab.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
IT_FIELDCAT = ZFIELD
IS_LAYOUT = Z_LAYOUT
I_TABNAME = 'ITAB_NEW'
IT_EVENTS = GT_ZEVENTS
TABLES
T_OUTTAB = itab_new.
2008 Apr 25 7:35 AM
Each table has data, when it gets appended.
Kind Regards
Prasad
2008 Apr 25 7:46 AM
Hi,
how you are calling display function module.
it has to display data.
display function module is optional no need to pass any values to that evev though it lists output.
BALVBT01 check this program for reference purpose.
*reward points.
2009 Dec 11 5:37 AM
Each table has data, when it gets appended.
Kind Regards
Prasad
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |