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

Create Input Field within ALV Toolbar

Former Member
0 Likes
1,740

Hi,

I've created an ALV table using the CL_SALV_TABLE class. I'm now trying to include an input field within the ALV toolbar. I would also require this field to do an F4 to obtain its values. Can anyone help me?

Thanks and regards,

Adeline.

Hi,

I've created an ALV table using the CL_SALV_TABLE class. I'm now trying to include an input field within the ALV toolbar. I would also require this field to do an F4 to obtain its values. Can anyone help me?

Thanks and regards,

Adeline.

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,145

Simply not possible. Not in the toolbar. The closest thing you could do is add a button to the toolbar, then handle the user action on this button and throw a dialog box with an input field inside it.

Regards,

RIch Heilman

Read only

0 Likes
1,145

Hi,

And what about creating an input field within one of the ALV columns itself? Please note that I've used the CL_SALV_TABLE class to create the ALV output.

Thanks and regards,

Adeline.

Read only

0 Likes
1,145

To my knowledge the new ALV Object Model does not support input fields anywhere in the grid.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,145

Hello,

The latest OO implementation of ALV does not allow inut fields.

Perhaps with the next release.

Regards

Greg Kern

Read only

Clemenss
Active Contributor
0 Likes
1,145

Hi Adeline,

as Rich explained: Not inside ALV toolbar. If you do not use full screen display but have a screen container for this, you may define a subscreen area on top of ALV container. Use CALL SUBSCREEN <area> INCLUDING <prog> <dynp> syntax to process the subscreen. Define PROCESS ON VALUE-REQUEST for F4. In PAI (PROCESS AFTER INPUT) you can modify the table displayed in the grid and do a new display.

Regards,

Clemens