Skip to Content
0
Jul 04, 2016 at 11:20 AM

Select query to pass Multiple values

5423 Views

Hi,

I have a requirement like i have an internal table like having only two fields- element,value.

itab1 :

-------

Element value

------------ ----------

step 2

step1 3

step2

4

Next i have a custom table ytab having fields step,step1,step2....

so i need to pass itab1 values to ytab through select query like above

select step step1 step2 from ytab into table itab2 where step = itab1-element

and step1 = itab1-element.

is it correct ??? if not how to write select query for the above????

Please help me out.