‎2010 Jun 18 3:12 AM
How can i use the values from Select option if the user enters only one value but no interval then my statement works
SELECT-OPTIONS : S_matnr FOR mara-matnr.
Select maktx from mara
into corresponding fields of it_tab3
where matnr in s_matnr.
How should I write the logicwhen th e
user doesnt enter any value or
user enters few values in selection screen or
the user enters a range of values.
Can anybody let me know how can we retrieve data based on the values form Selection screen , Actually 'm new to ABAP.
Thanks for your Help.
‎2010 Jun 18 3:22 AM
Hi ,
Where Condition MATNR in S_MATNR itself will take care of this. Condition in the below select query will work based on the values given in Selection screen.
Select maktx from mara into corresponding fields of it_tab3
where matnr in s_matnr. Note : Before posting -- please surf the forums or check the documentation ( F1 ) you will get more details.
‎2010 Jun 18 12:54 PM
SELECT-OPTIONS : S_matnr FOR mara-matnr.
Select maktx from mara
into corresponding fields of it_tab3
where matnr in s_matnr.
How should I write the logicwhen th e
user doesnt enter any value or
user enters few values in selection screen or
the user enters a range of values.
In all the above cases - where matnr in s_matnr. THis condition will take care.
If you will debug the code ,You will get more idea.
S_matnr will have following things
Sign
option
Low -
High
Thanks!
‎2010 Jun 18 12:59 PM
Hi,
Unless you explain your problem clearly its difficult for us to give any inputs.
Thanks,
Sri.
‎2010 Jun 18 12:59 PM
Hi,
Please see the SCN Rules Before Posting. Before Posting Please refer on help.sap.com or SCN or google .
With Regards,
Sumodh.P
‎2010 Jun 18 2:20 PM
Moderator message - Please do not ask or answer basic questions - thread locked Rob