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

parameters in ALV

Former Member
0 Likes
914

hi all..

my requirement is that on user entering the t-code an ALV should appear that will show all the entries of some z table.

after that the user will put some filteration criteria(thro parameter or sumthing) to shorten this ALV list..

bue the prob is how to let user give this filteration criteria once the ALV list is displayed??

plz help thanx in advance...

SUMIT NENE

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
796

Hi Sumit,

U can have a button in ALV Menu thru which u can have the screen for filteration criteria.

Hope it helps,

Thanx.

4 REPLIES 4
Read only

Former Member
0 Likes
797

Hi Sumit,

U can have a button in ALV Menu thru which u can have the screen for filteration criteria.

Hope it helps,

Thanx.

Read only

Former Member
0 Likes
796

Hi,

You need to use SET PF-STATUS before the list is displayed , you can copy the a gui status from an existing ALV report from the package SLIS using the menu painter SE41. Once copied to your program, simply pass the same gui status to SET PF-STATUS statement.

regards,

Advait

Read only

Former Member
0 Likes
796

Hi Sumit,

For that create a button on the screen, by creating a PF Status.

And in the PBO of the screen

SET PF-STATUS <pf status>

In PAI of the screen.

when that button is clicked i.e. when ok_code = <button>

refresh the internal table on the basis of selection criteria.

Regards,

Palak

Read only

Former Member
0 Likes
796

there is an inbuilt button for filteration.

it got copied when I copied the PF status from a standard program.

Thanks all.

SUMIT NENE