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: 

Display Dialog box same as ALV variant Box for Filter/Sort button

faisaladelyar
Discoverer
0 Kudos
334

Hi,

I have a simple ABAP program that contains few UI elements, and by clicking a button I want to have a dialog box same as when click on ALV toolbar SORT/Filter buttons.

Please consider the below image.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
244

Look at FM LVC_SORT or LVC_SORT_DIALOG (provide a field catalog in entry to get an ALV sort structure in return)

NB: You can use FM LVC_FIELDCATALOG_MERGE to easily generate a field catalog from your data.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos
245

Look at FM LVC_SORT or LVC_SORT_DIALOG (provide a field catalog in entry to get an ALV sort structure in return)

NB: You can use FM LVC_FIELDCATALOG_MERGE to easily generate a field catalog from your data.

0 Kudos
244

Many thanks Raymond, It works.

Sandra_Rossi
Active Contributor
0 Kudos
244

Do you have any difficulty doing the same with custom dynpro?