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: 

Can i add a textfield into alv grid?

Former Member
0 Kudos
431

I ve got grid, can i add non-editable (for user ) field at the toolbar which will be inicializing during the program ( for example it will initialize with the field user clicked ) . I marked the place of textfield with rectange

6 REPLIES 6

FredericGirod
Active Contributor
374

You should start by giving the method you have used to display your grid

Former Member
0 Kudos
374

cl_gui_alv_grid,

Sandra_Rossi
Active Contributor
374

You can define:

  • Either a custom button with text
  • Or a text above the buttons

NB: you'd better move the buttons to the Application Toolbar (the empty line below the title)

0 Kudos
374

Do u know how to do it ? I created a class with 2 methods. How to add a text in mine button after i double_clicked it ?
So button was added at handle_toolbar method.

0 Kudos
374

The event TOOLBAR is called only once, but you can force it by calling SET_TOOLBAR_INTERACTIVE, see reproducible code here: https://stackoverflow.com/questions/52371282/dynamic-custom-toolbar

Former Member
0 Kudos
374

set_table_for_first_display