Ir al contenido

deshabilitar las variantes de selección en programa.

Respuestas
1
Visitas
14
Iniciado por
FuryNocturn
Fecha
19 Dic 2017, 14:05
Tema anterior - Siguiente tema

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.

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

abapito