2008 Feb 07 7:10 AM
Hi,
I want to write a select query to fetch the records, which has field (say objnr) should start with "PR"
I tried giving as follows:
SELECT * from <dbtab> into table <itab> where objnr = 'PR%'.
But the output is not coming.
What is the correct way to fetch only those records?
Regards,
Kalai
2008 Feb 07 7:15 AM
SELECT * from <dbtab> into table <itab> where objnr like 'PR%'.
SELECT * from <dbtab> into table <itab> where objnr like 'PR%'.
2008 Feb 07 7:15 AM
SELECT * from <dbtab> into table <itab> where objnr like 'PR%'.
2008 Feb 07 7:16 AM
USE LIKE SELECT * from <dbtab> into table <itab> where objnr LIKE 'PR%'.
2008 Feb 07 7:16 AM
Hi,
SELECT * from <dbtab> into table <itab>
where objnr LIKE 'PR%'.
Don't forget to reward if useful....
2008 Feb 07 7:18 AM
2008 Feb 07 7:27 AM
Hi,
please go through the below code i hopw it will u an idea.
Select single <PRECEDENCE>
FROM <tab>
INTO TABLE <ITAB>
WHERE OBJNR LIKE 'PR%'
UPTO 100 ROWS.
Regards.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |