‎2006 Oct 18 1:25 PM
Hi There,
Can any one tell me how to pick data from structure in to the internal.
The parameter is defined like this:
PARAMETERS : p_vbeln TYPE vbrk-vbeln.
Thanx in advance,
‎2006 Oct 18 1:28 PM
HI Venu,
Can you more specific on your question.
Regards,
Manish
‎2006 Oct 18 1:31 PM
Venu, if you mean to select data from database table based on selection parameter p_vbeln just use 'select' command.
‎2006 Oct 18 1:31 PM
Hi Venu,
if it a parameter u can get a single value into the parameter as follows that too from the database table.
initialization.
select vbeln up to 1 rows
from vbrk
into p_vbeln.
endselect.
if at all u want to get the structure for the given parameter...
select * from
vbrk
where vbeln = p_vbeln.
in the tables declare vbrk table.
-Anu
Message was edited by: Anupama Reddy
‎2006 Oct 18 1:32 PM
hi Venu,
If i have understood your question correctly this is how you have to do ..
select vbeln from vbrk into table itab where vbeln = p_vbeln.Regards,
Santosh
‎2006 Oct 18 1:35 PM
hi
good
mention like this
if you have declared the structure, than declare it like this
DATA : structure like internal table.
thanks
mrutyun^