‎2008 Feb 21 7:25 AM
hi,
how to write code for the following?
select-options with selection range.
regards,
priya.
‎2008 Feb 21 7:33 AM
Hi,
Check the code:
REPORT DEMO.
DATA WA_CARRID TYPE SPFLI-CARRID.
SELECT-OPTIONS AIRLINE FOR WA_CARRID.
LOOP AT AIRLINE.
WRITE: / 'SIGN:', AIRLINE-SIGN,
'OPTION:', AIRLINE-OPTION,
'LOW:', AIRLINE-LOW,
'HIGH:', AIRLINE-HIGH.
ENDLOOP.
Regards,
Bhaskr
‎2008 Feb 21 7:27 AM
‎2008 Feb 21 7:29 AM
‎2008 Feb 21 7:30 AM
Describe Select-Options
select-options: sel_opt for sy-datum.
.
.
.
loop at sel_opt.
perform describe_select_options using 'Date'
sel_opt-sign
sel_opt-option
sel_opt-low
sel_opt-high
changing datedesc.
write: / datedesc.
endloop.
.
.
.
u can find the entire code on this link
http://www.erpgenie.com/abap/code/abap39.htm
do reward if helpful
‎2008 Feb 21 7:31 AM
selection-screen begin of block b1.
select-options: p_vbeln for vbak-vbeln.
selection-screen end of block b1.
select * from vbak into table itab where vbeln in p_vbeln.
regards,
Ajay
‎2008 Feb 21 7:33 AM
Hi,
Check the code:
REPORT DEMO.
DATA WA_CARRID TYPE SPFLI-CARRID.
SELECT-OPTIONS AIRLINE FOR WA_CARRID.
LOOP AT AIRLINE.
WRITE: / 'SIGN:', AIRLINE-SIGN,
'OPTION:', AIRLINE-OPTION,
'LOW:', AIRLINE-LOW,
'HIGH:', AIRLINE-HIGH.
ENDLOOP.
Regards,
Bhaskr