12-21-2007 4:19 PM
Hi,
Any one please help to ??
I Want to Know how we can fetch the
LOW_VAl and HIGH_VAL
of
SELECT-OPTION
I want to use those values for comparsion in SELECT statement.
Thanks
12-22-2007 1:40 PM
Hi,
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
The above link has important information on DYNP_VALUES_READ that would be of good help to ya.
Regards,
Satish.....
12-21-2007 4:21 PM
select-option : so_vbeln for vbak-vbeln
use only low value.
select * from vbak
into itab
where vbeln eq so_vbeln-low.
use only high value
select * from vbak
into itab
where vbeln eq so_vbeln-high.
use the whole range.
select * from vbak
into itab
where vbeln in so_vbeln.
award points if useful
12-21-2007 4:24 PM
report zars no standard page heading
line-size 170
line-count 65(4).
data : xvbeln type line of tt_vbeln.
select-options : vbeln for xvbeln.
start-of-selection.
break-point.
loop at vbeln.
write : / vbeln-low.
write : / vbeln-high.
endloop.
a®
12-21-2007 4:24 PM
You can use the Select option directly in Select query to fetch data.
Select * from <TABLE> into ITAB where <field> IN <Select-Option>.
Example:
TABLES: pa0001.
data: it_pa0001 type standard table of PA0001.
SELECT-OPTIONS: s_pernr FOR pa0001-pernr.
Select * from PA0001 into table lt_pa0001 where
pernr IN s_pernr.
This select query will retrieve all the employees from PA0001 based on the select option values.
Lokesh
12-21-2007 4:28 PM
use the function mdule DYNP_VALUES_READ to read the values from screen.
i think u wanted to know it.
Thanks
Sayak
12-22-2007 1:40 PM
Hi,
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
The above link has important information on DYNP_VALUES_READ that would be of good help to ya.
Regards,
Satish.....
12-22-2007 2:54 PM
Hi,
loop at so_vbeln.
write : so_vbeln-low, so_vbeln-high
endloop.
If you want to use in select statement as where field in so_vbeln- low for low value or for high so_vbeln-high.
Thanks,
Sriram Ponna.
12-22-2007 2:57 PM
what is Chakradhar looking for still..?
if answered, award points and close thread.
else ask for what more needed.