Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

OOPS ALV

Former Member
0 Likes
352

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
308

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

1 REPLY 1
Read only

Former Member
0 Likes
309

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