Ver Mensaje Individual
  #1  
Viejo 17/11/17, 19:29:49
jovanny.castro jovanny.castro is offline
Junior Member
 
Fecha de Ingreso: oct 2017
Mensajes: 2
Reporte con campos obligatorios

Buenas tardes tengo una pregunta.
Captura.PNG
como puedo hacer que en la pantalla que tengo 4 campo los cuales son obligatorios me permita poner al menos uno de ellos para que pueda continuar con el reporte y termine de hacer la lógica implementada. alguien sabe o tiene alguna idea de como hacerlo. POR QUE YA HE IMPLEMENTADO EL SIGUIENTE CODIGO Y NO FUNCIONA LO IMPLEMETE EN START-OF-SELECTION Y EN EL AT SELECTION-SCREEN OUTPUT.
loop at screen.
if so_vbel1 is not initial.
if screen-name = 'SO_WADAT' and screen-name = 'SO_VBEL2' and screen-name = 'SO_FKDAT'.
screen-input = '1'.
screen-required = '0'.
modify screen.
endif.
elseif so_wadat is not initial.
if screen-name = 'SO_VBEL1' and screen-name = 'SO_VBEL2' and screen-name = 'SO_FKDAT'.
screen-input = '1'.
screen-required = '0'.
modify screen.
endif.
elseif so_vbel2 is not initial.
if screen-name = 'SO_VBEL1' and screen-name = 'SO_WADAT' and screen-name = 'SO_FKDAT'.
screen-input = '1'.
screen-required = '0'.
modify screen.
endif.
elseif so_fkdat is not initial.
if screen-name = 'SO_VBEL1' and screen-name = 'SO_WADAT' and screen-name = 'SO_VBEL2'.
screen-input = '1'.
screen-required = '0'.
modify screen.
endif.
endif.
endloop.
Responder Con Cita