‎2007 Jun 13 7:18 AM
CAN I DYNAMICALLY MAKE A FIELD OBLIGATORY i m not defining that parameter obligatory in declaration but i want when i execute this parameter become obligatory
‎2007 Jun 13 7:22 AM
Hi,
you can do at PBO or AT SELECTION-SCREEN.
Use "LOOP AT SCREEN".
if screen-name = [parameter-name]
screen-required = '1'.
modify screen.
endif.
endloop.
‎2007 Jun 13 7:21 AM
Use screen table for to set the attributes of screen as you required.
‎2007 Jun 13 7:22 AM
Hi,
you can do at PBO or AT SELECTION-SCREEN.
Use "LOOP AT SCREEN".
if screen-name = [parameter-name]
screen-required = '1'.
modify screen.
endif.
endloop.
‎2007 Jun 13 7:28 AM
Hi,
Here is the code.
parameters : p_abc type i.
at selection-screen on p_abc.
if <condition1>.
if p_abc is initial.
message e001 .
endif .
endif.Regards,
Richa
‎2007 Jun 13 7:38 AM
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'your field'
and your_logic is true.
screen-required = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.