Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

select from jcds all status begin with E

Former Member
0 Likes
683

Hello Experts,

i need to select all rows that the status begin with E.

how can i do that?

thanks,

Michal.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
591

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%' ).

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
592

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%' ).

Read only

Former Member
0 Likes
591

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

Read only

Former Member
0 Likes
591

Use WILD Card %.

Read only

Former Member
0 Likes
591

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