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 query problem

Former Member
0 Likes
511

Hi guys,

In my select query, i want to select data where BSID-ZUONR field starts with '137'. can anyone tell me how can i select like that in my select query?

here is my select query

SELECT KUNNR ZUONR BUDAT UMSKZ GJAHR XBLNR BELNR BLART DMBTR SHKZG

FROM BSID INTO TABLE IT_BSID_ONE

WHERE BUKRS IN S_BUKRS

AND UMSKZ IN ('' , 'A')

AND BUDAT =< P_BUDAT.

Thanks.

1 ACCEPTED SOLUTION
Read only

sjeevan
Active Contributor
0 Likes
482

AND ZUONR like '137%'

3 REPLIES 3
Read only

sjeevan
Active Contributor
0 Likes
483

AND ZUONR like '137%'

Read only

Former Member
0 Likes
482

Thanks alot man

Read only

Former Member
0 Likes
482

HI,

Make sure you use the primary keys / indexes carefully as this is a very large table.

Danish.