2007 Sep 25 1:24 PM
Hi,
On screen 2502 I have buttons <F2 Save><F4 - Next>...
Now I want to make button <F4 Next> disapeared.
What should I do ??
Please help.
Regards,
Greg
2007 Sep 25 1:26 PM
hi,
you should disable conditon under the function code.
thanks,
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada Galindo
2007 Sep 25 1:27 PM
Hi,
You can use Screen Variant.
Go to transaction SHD0 for Creating Variant.
Here you have the options to Hide particular Button,
Thanks,
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada Galindo
2007 Sep 25 1:29 PM
case sy-ucomm.
when f2.
screen-invisible = 1.
modify screen.
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Alvaro Tejada Galindo
2007 Sep 25 1:29 PM
Hi
Either Modify the PF status of that screen by removing that button(if you have access) or
write the code to make it inactive .
Regards
Anji
2007 Sep 25 1:29 PM
Hi,
Based on the screen flow, you can disable a button. You need to write your coding in the PBO of the screen. below sample code FYI:
CASE sy-dynnr.
*..For 9000 and 9001
WHEN '9000' OR '9001'.
*..If inspection lot and operation number are not entered,
*..hide the remaining fields from the initial screen
IF scr_opern IS INITIAL.
gv_init = gc_x.
LOOP AT SCREEN.
IF screen-group1 = 'GR1'.
screen-input = 0.
screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
endcase.
Regards,
JLN
2024 Jun 07 8:47 AM
That is right from the SAP RF environment point of view. You can't just hide the button in program. You should manage it via status.
2007 Sep 25 1:33 PM
Ok but screen is in function group SAPLLMOB wich I can'y modify