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

ALV OO: How to remove all DELETE/ INSERT/ COPY functionality

Former Member
0 Likes
475

Hi @ all,

I developed an editable ALV and I automatically got the Buttons for DELETE/ INSERT/ COPY of lines. My problem is that I don´t want to have these functions. The User is only supposed to enter values and not to modify anything else.

It seems to me that I always get these Buttons when I have editable fields in my GRID. (Maybe I´m wrong) So my first approach was to exclude them from the toolbar. Now the buttons are gone, but I can still delete lines with the 'DEL'-Button on the keyboard.

Here is my question:

How can I have editable cells without getting automatically those buttons/functions ?

OR IF THIS IS NOT POSSIBLE

How can I completely remove those Functions ?

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
430

Hi,

If you dont want any of them,then totally remove toolbar. There is a parameter, no_toolbar, check this.

If you want to remove some of the buttons,then , use parameter it_toolbar_excluding of the set_table_for_first_display method by populating the internal table with needed exclusions.

Read only

0 Likes
430

As I already wrote: I tried this but it didn´t work completely! The delete button still works.