2007 Mar 18 11:46 PM
hi
in sql select statement if i want to select a single material from the division A but i do not want to include the whole division A.
for example: division = 'EEQA'. append division. then in sql select : div in division. but i only want to pick 1 of the material from division A.
thanks
hi
in sql select statement if i want to select a single material from the division A but i do not want to include the whole division A.
for example: division = 'EEQA'. append division. then in sql select : div in division. but i only want to pick 1 of the material from division A.
thanks
2007 Mar 18 11:51 PM
You can use SELECT SINGLE if you do know the entire key else you have to use the SELECT UP to 1 ROWS option.
~Suresh
2007 Mar 18 11:53 PM
Hi,
select single * from mytable into table i_itab where division like '%A'.
aRs
2007 Mar 19 12:01 AM
hi,
you got me wrong.
i want to select 1 material where the material in the division that i want to exclude.
i cannot use single or up to 1 row as the select statement also involve other division and other requirement.
2007 Mar 19 12:08 AM
Then you cannot retrieve with a SELECT statement.. you have to manipulate teh data in an itab..
~Suresh
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |