05-30-2007 8:51 AM
Hi.
I want to maka a select of table ekko when the field inco1 begin by 'F'.
How i can do it.
Thanks.
05-30-2007 8:52 AM
select * from ekko where inco1 like 'F%'.
endselect.
reward points if its helpful
05-30-2007 8:52 AM
select * from ekko where inco1 like 'F%'.
endselect.
reward points if its helpful
05-30-2007 8:52 AM
Hi Andres ,
You can use LIKE in the select statement.
e.g.
select ....
from
where <f1> like 'F%'.
Regards
Arun
05-30-2007 8:53 AM
Hi,
You can use in your where condition 'INCO1 LIKE 'F%'.
Thanks and regards,
S. Chandra Mouli.
05-30-2007 8:54 AM
Hi,
Select * from EKKO into table IT_EKKO where INCO1 = 'F%'.
Regards
Sudheer
05-30-2007 8:54 AM
select ..from ekko where inco1 like 'F%'.
Message was edited by:
Chandrasekhar Jagarlamudi
05-30-2007 8:54 AM
Hi,
select *
from ekko
into table itab
where inco1 like 'F%'.
The use of the wildcard characters "_" and "%" corresponds to the standard of SQL. In the rest of ABAP, the wildcard characters "+" and "*" are used in similar logical expressions, in particular when selection tables are used.
You should not use patterns that are closed by wildcard characters to search for closing blanks.
The semantics of searches of this type are dependent on the database system that is used and in general do not lead to the desired result.
Hope this helps.
Regards,
Richa
05-30-2007 8:55 AM
05-30-2007 9:07 AM
Hi
We can use wild character but it will be having a performance issue. If possible declare a range statement and pass the value in low as F*. It will work like your select option.
Hope will be helpful.
regards
thiru
05-30-2007 8:58 AM
Hi,
Write the select statement as:
SELECT (db name) INTO TABLE (internal table name) WHERE (fieldname) LIKE 'F%'.
Regards,
Balakrishna.N