‎2007 Dec 13 8:53 AM
Hi guys,
i have a problem with my select-options...
SELECT-OPTION: s_days FOR zstatus-zdays.
SELECT * FROM zstatus
INTO TABLE i_status
WHERE zsapid = p_sapid
AND zdays IN s_days .
I dont understand why,,, instead of getting only the values from 1 to 5 (my input in s_days) from the table it selects entries beyond and within 1 and 5.
Your help is greatly appreciated.
Thanks!
Regards,
Mark
‎2007 Dec 13 8:58 AM
Hi,
may the the field zstatus-zdays is CHAR type then in that case it will the values like 18,100,28,...
to solve this make the field zstatus-zdays as type N(if it holds only numerical values).
rgds,
bharat.
‎2007 Dec 13 8:56 AM
put a breakpoint on select and see what exactly is happening.
check the ztable once again for data.
‎2007 Dec 13 8:57 AM
Hi,
what is the data type of the field zstatus-zdays?
Thanks,
Sreeram.
‎2007 Dec 13 8:58 AM
Hi,
may the the field zstatus-zdays is CHAR type then in that case it will the values like 18,100,28,...
to solve this make the field zstatus-zdays as type N(if it holds only numerical values).
rgds,
bharat.
‎2007 Dec 13 8:58 AM