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 Content selected from listbox in ALV

0 Kudos
436

I have an ALV Report in the output which is displaying fields from 4 different infotypes (PA0000, PA0001, PA0002, PA0006). This is my Selection Screen.

In the selection screen, I have the Infotype listbox in the bottom which has 4 options for the 4 infotypes (PA0000, PA0001, PA0002, PA0006).

If I select one of the options in the listbox the fields of only that selected infotype should display in the output ALV Report. How should I code it?

3 REPLIES 3

AlexGourdet
Product and Topic Expert
Product and Topic Expert
0 Kudos
363

Thank you for visiting SAP Community to get answers to your questions.

As you're looking to get most out of your community membership, please consider include a profile picture to increase user engagement & additional resources to your reference that can really benefit you:

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

All the best,

Alex

Sandra_Rossi
Active Contributor
0 Kudos
363

Sorry I don't get what is your exact question, where you are blocked.

Is the question only about getting the selected entry in the listbox of the selection screen?

Except ALV, do you know how to get the data for 1 infotype?

If you have the internal table for 1 infotype, then what is your issue with displaying it through ALV?

What code did you try?

raymond_giuseppi
Active Contributor
0 Kudos
363

So the parameter with listbox value is the infoitype number or an equivalent, where are you stuck, dynamic select of data or another problem?