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: 

How to disable F4 Buttons in REUSE_ALV_GRID_DISPLAY list?

RolfC
Explorer
0 Kudos

Hi

I have to disable all <b>F4-Buttons</b> in a list build up with

'REUSE_ALV_GRID_DISPLAY'

<b>ALV</b> function call. Is it possible?

Thanks

Carsten

1 REPLY 1

Former Member
0 Kudos

Hi Carsten,

Now that is easy but requires some work on your side.

If you build up a structure (internal table) to be used in ALV, you have to make sure that you use your OWN field definitions.

Example:

Do not use MATNR LIKE MARA-MATNR (this triggers F4 capabillity with the field).

Use instead:

TYPE: TY_MATNR(18) TYPE c

DATA: ...

MATNR TYPE TY_MATNR,

...

If you do this, NO F4 buttons will appear behind the fields. So you can also do it selectively.

Regards,

Rob.