Application Development 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: 

Create position buton just like in sm30

0 Kudos

Hello Experts

I was looking to create similar get position button in my alv grid report. i made the popup screen but after that how do i get the position(or scroll to that Position )to the alv row which i select in the selection screen/popup

Thanks,

Best Regards,

Ankit

1 ACCEPTED SOLUTION

Jelena
Active Contributor

Why would you need this in ALV? ALV has filters and even search (Ctrl-F) works fine. This button is only needed because there are no such features in the old-timey table control. And it doesn't even work that well.

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

It depends on the class you use, e.g. call methods CL_GUI_ALV_GRID->SET_CURRENT_CELL_VIA_ID and CL_GUI_ALV_GRID=>SET_FOCUS followed by CL_GUI_CFW=>FLUSH.

Jelena
Active Contributor

Why would you need this in ALV? ALV has filters and even search (Ctrl-F) works fine. This button is only needed because there are no such features in the old-timey table control. And it doesn't even work that well.