‎2010 May 05 4:48 PM
Hi guys!
I have a Ztransaction and I would like to exclude the 'Variant button' (ICON_VARIANTS) in the toolbar. I don't find anything in the forum so if somebody has an idea...
Tnaks in advance.
Best regards.
Ana
‎2010 May 05 5:19 PM
Hi Ana,
please have a look at this wiki post: http://wiki.sdn.sap.com/wiki/display/Snippets/disablestandardececutebuttononselectionscreen
and try the following code:
data: l_program like sy-repid.
data: begin of t_excl_tab occurs 0,
pfkey like sy-pfkey,
end of t_excl_tab.
at selection-screen output.
l_program = sy-cprog.
append 'GET' to t_excl_tab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = '%_00'
P_PROGRAM = l_program
tables
p_exclude = t_excl_tab.I hope this helps. Kind regards,
Alvaro
‎2010 May 05 5:19 PM
Hi Ana,
please have a look at this wiki post: http://wiki.sdn.sap.com/wiki/display/Snippets/disablestandardececutebuttononselectionscreen
and try the following code:
data: l_program like sy-repid.
data: begin of t_excl_tab occurs 0,
pfkey like sy-pfkey,
end of t_excl_tab.
at selection-screen output.
l_program = sy-cprog.
append 'GET' to t_excl_tab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = '%_00'
P_PROGRAM = l_program
tables
p_exclude = t_excl_tab.I hope this helps. Kind regards,
Alvaro