SAP / ABAP > Programación ABAP
deshabilitar las variantes de selección en programa.
(1/1)
FuryNocturn:
Me he encontrado la situación que querían deshabilitar el botón de las variantes en una transacción, y no encontré la información adecuada así que pongo el resultado de mi investigación.
--- Código: ---at selection-screen output.
perform f_selection_screen.
form f_selection_screen .
data itab type table of sy-ucomm.
append 'GET' to itab.
append 'VSHO' to itab.
append 'VDEL' to itab.
append 'SPOS ' to itab.
call function 'RS_SET_SELSCREEN_STATUS'
exporting
p_status = sy-pfkey
tables
p_exclude = itab.
endform. " F_SELECTION_SCREEN
--- Fin del código ---
abapito:
Muchas gracias, me viene bien saberlo. ;)
Navegación
Ir a la versión completa