‎2007 May 29 12:15 PM
Hi Abappers,
I want to fetch data from a table where plant = 1901 and meins is KG or L20 and msehi is KG or L20.
How shud i formulate the query.
Thanks,
Mansi.
‎2007 May 29 12:17 PM
select *
from ztable
into table itab
where werks = '1901' and
meins in ('KG' , 'L20') and
msehi in ('KG' , 'L20').
‎2007 May 29 12:17 PM
select *
from ztable
into table itab
where werks = '1901' and
meins in ('KG' , 'L20') and
msehi in ('KG' , 'L20').
‎2007 May 29 12:18 PM
SELECT * FROM
ZTABLE
where
werks = '1901' and
meins in ( 'KG' , 'L20' ) and
msehi in ( 'KG' , 'L20').
‎2007 May 29 12:18 PM
Write the query like this
select * from table into table in_table
where werks = '1901'
and meins = ('KG' 'L20')
and msehi = ('KG' 'L20').
reward points if it is helpful
Thanks
Seshu
‎2007 May 29 12:18 PM
select * from <table> where plant = 1901
and ( meins =kg
or meins = L20 )
and ( msehi = KG
or msehi = L20 ).
Regards,
Amit
‎2007 May 29 12:19 PM
Hi,
Use the statement as below.
Select <fields> from table <table name> into tbale <internal table>
where plant = '1901' and
means = ( 'kg' or 'L20' ) and
msehi = ( 'KG' or 'L20' ).
Regards,
Ram
‎2007 May 29 12:21 PM
select * from <table> to <itab>
where plant = '1901'
and meins in ('KG', 'L20')
and msehi in ( 'KG' , 'L20').
‎2007 May 29 12:38 PM
hi mansi,
select *
from ztable
into table itab
where werks = '1901' and
meins in ('KG' , 'L20') and
msehi in ('KG' , 'L20').
if useful reward some points.
with regards,
suresh babu aluri.