‎2010 Jul 20 3:24 PM
Hi,
I'm using OOPS ALV to display the output to the user. Here I'm using the method SET_TABLE_FOR_FIRST_DISPLAY to display the data initially and then use the method REFRESH_TABLE_DISPLAY to display it later.
1. Method SET_TABLE_FOR_FIRST_DISPLAY is called passing the Layout, Output Table and the Field Catalogue.
2. Method REFRESH_TABLE_DISPLAY is called passing nothing.
I had first created a sample program and experimented with it since I'm new to use OOPS ALV. The output was as expected. But when I had created the actual required program similiar to the sample program, I'm not getting any output displayed on the screen. What is more interesting is that, the output table has records in it and the equivalent number of lines are displayed in the output but it is BLANK.
Please let me know how to handle this.
Thanks in advance.
-Niranchan.
‎2010 Jul 20 4:06 PM
Hi
I'm not getting any output displayed on the screen. What is more interesting is that, the output table has records in it and the equivalent number of lines are displayed in the output but it is BLANK.
We generally have flow like:
you need to have a screen on which you will create a custome container,
then pass the ALV to that Container and pass your internal table to that ALV.
please check wether you are passing the name of your internal table in
Changing
it_outtab = <internal table name>
in 'set_table_for_first_display'.
and by the way, how did you check that your internal table have data, by debugging????
please check the below link
http://www.abapprogramming.net/2007/11/alv-list-using-oo-style-sample-code.html
Thanks
Lalit Gupta
‎2010 Jul 20 4:06 PM
Hi
I'm not getting any output displayed on the screen. What is more interesting is that, the output table has records in it and the equivalent number of lines are displayed in the output but it is BLANK.
We generally have flow like:
you need to have a screen on which you will create a custome container,
then pass the ALV to that Container and pass your internal table to that ALV.
please check wether you are passing the name of your internal table in
Changing
it_outtab = <internal table name>
in 'set_table_for_first_display'.
and by the way, how did you check that your internal table have data, by debugging????
please check the below link
http://www.abapprogramming.net/2007/11/alv-list-using-oo-style-sample-code.html
Thanks
Lalit Gupta