12-17-2008 7:09 PM
Hi ,
I am uploading some countries for bank upload, Here my requirement is i want to stop specific countries.
Selection screen:
parameters: p_file like rlgra-filename.
SELECT-OPTIONS: land FOR t005-land1.
'Thanks,
Asha
12-17-2008 7:13 PM
You can add the validations in event 'At Selection-screen' .
Ex :
Selection screen:
parameters: p_file like rlgra-filename.
SELECT-OPTIONS: land FOR t005-land1.
At Selection-screen .
If land-low = '10' or
land-low = '10' .
else .
Message e000 (message class ) 'Enter country grouping as US or India ' .
endif .
12-17-2008 7:41 PM
Hi Asha
Try this :
At Selection-Screen on S_Land.
*Select land into table i_land where land in s_land.
if sy-subrc eq 0.
loop at i_land into wa_iland.
if wa_land = 'Blocked'.
Exit.
Endif.
Endloop.
*Give the error message.
12-17-2008 8:04 PM