2009 Jun 08 12:21 PM
Hello Experts,
i need to select all rows that the status begin with E.
how can i do that?
thanks,
Michal.
2009 Jun 08 12:24 PM
Example:
SELECT objnr stat udate utime INTO TABLE it_time[] FROM jcds FOR ALL ENTRIES IN it_aufk[]
WHERE objnr EQ it_aufk-objnr AND ( stat LIKE 'E%' ).
2009 Jun 08 12:24 PM
Example:
SELECT objnr stat udate utime INTO TABLE it_time[] FROM jcds FOR ALL ENTRIES IN it_aufk[]
WHERE objnr EQ it_aufk-objnr AND ( stat LIKE 'E%' ).
2009 Jun 08 12:36 PM
Hi michal
select * from <table > into table <Itab> where status like 'E%'.
<table> - data base table.
<itab> - Internal table which is declared in program.
Regards,
Sateesh
2009 Jun 08 12:40 PM
2009 Jun 08 12:45 PM
Hi Michal
Use the wild card character '%' in the where clause.
Select * from DBTABLE
INTO TABLE itab
where Stat LIKE 'E%'.
Hope this helps.
Harsh
Edited by: Harsh Talesra on Jun 8, 2009 1:48 PM