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

Disable MatchCode on OO ALV

Former Member
0 Likes
1,078

Hi,

For my ALV I use standard structure, and some datas have Help defined.

So, when I display the ALV, I have matchcode button for these datas (like MATNR).

Is it possible to disable the display of this button ?

I've tried to use the parameter F4availabl of the fieldcatalog, but the button is still displayed (but not working => Message 'No help for this data')

Thanks!

Hi,

For my ALV I use standard structure, and some datas have Help defined.

So, when I display the ALV, I have matchcode button for these datas (like MATNR).

Is it possible to disable the display of this button ?

I've tried to use the parameter F4availabl of the fieldcatalog, but the button is still displayed (but not working => Message 'No help for this data')

Thanks!

3 REPLIES 3
Read only

uwe_schieferstein
Active Contributor
0 Likes
769

Hello Marie

If you clear field <b>gs_fcat-REF_TABLE</b> for your field (in case of MATNR clear the value gs_fcat-REF_TABLE = 'MARA') and the F4 button will no longer be available. At least this works for the sample reports and table SFLIGHT (CURRENCY field).

Regards

Uwe

Read only

Former Member
0 Likes
769

Thanks for the answer.

I've tried this solution, it disable the F4 fonction, but the button still appear...

Is it possible to disable the button too ?

Regards

Marie

Read only

0 Likes
769

Found.

I have to clear field F4AVAILABL too.

Thanks for your help.