‎2008 Jun 02 7:16 AM
how to use range option instead of high and low in a select option.
‎2008 Jun 02 7:21 AM
hi,
u can populate this way:
R_VORNR-SIGN = 'E'.
R_VORNR-OPTION = 'EQ'.
R_VORNR-LOW = '0020'.
APPEND R_VORNR.
R_VORNR-LOW = '0030'.
APPEND R_VORNR.
R_VORNR-LOW = '0040'.
APPEND R_VORNR.
R_VORNR-LOW = '0090'.
APPEND R_VORNR.
R_VORNR-LOW = '0100'.
APPEND R_VORNR.
R_VORNR-LOW = '0130'.
APPEND R_VORNR.
CLEAR R_VORNR.
regard,
madhu
‎2008 Jun 02 7:24 AM
hi,
Ranges can not be shown on selection screen.For e.g.
from a table if you have to select a field with 2 values val1 and val2 then you can declare ranges as below:
data:r_var for <table name>-< field name>.
r_var-low = 'val1'.
r_var-high = 'val2'.
r_var-sign = 'I'.
append r_var.
select f1 f2 from table <tab name>
where f1 in r_var.
‎2008 Jun 02 7:25 AM
Hi,
Please find bellow exp.:
RANGES S_CARRID FOR SPFLI-CARRID.
S_CARRID-SIGN = 'I'.
S_CARRID-OPTION = 'EQ'.
S_CARRID-LOW = 'LH'.
APPEND S_CARRID.
SUBMIT DEMO2 WITH CARRID IN S_CARRID.
reward if helpful.
Amit.
‎2008 Jun 02 7:36 AM
RANGES: r_date FOR zppt02_loss-datlp.
r_date-sign = 'I'.
r_date-option = 'BT'.
r_date-low = low_date.
r_date-high = high_date.
APPEND r_date.
‎2008 Jun 02 7:40 AM
Hi Reddy!
try this way:
types: begin of ranget,
sign type tvarv_sign,
option type tvarv_opti,
low type tvarv_val,
high type tvarv_val,
end of ranget.
Data: rp_profl type standard table of ranget.
kindly reward points if helpful.