‎2007 Jun 02 12:00 PM
Dear All,
I have created one structure, based on that structure I need to display the data. So how i will write the select statement and the other furthet processing.
Plz give me the details to how display data from structure.
‎2007 Jun 02 12:11 PM
Hi,
We can't retrieve data from Structure.Pls clear with ur question.
Regards,
Padmam.
‎2007 Jun 02 12:13 PM
Now tell me how to do that. As i have data in structure. so what would be the process.
‎2007 Jun 02 2:06 PM
i am not clear about your question, wether you have a structure in your program with data you want to display it or how?.
regards
prabhu
‎2007 Jun 02 12:18 PM
Create ALV report using REUSE_ALV_GRID_DISPLAY function module -
https://forums.sdn.sap.com/click.jspa?searchID=2933530&messageID=1878057<a href="http://https://forums.sdn.sap.com/click.jspa?searchID=2933530&messageID=1878057">ALV Reporting</a>
‎2007 Jun 02 1:48 PM
Hi Abhay
From my understanding of your question , you have structure with you and you want to display data from some tables as your output. If this is the case then simply write your sqls as you normally do :
clear : tbl_output[].
select x
y
z
from dbtab
into tbl_output
where field1 = struc-value1
and filed2 = struc-value2.
Now you can go for either a simple display or an alv to display the data in the table tbl_output.
Note: 1. x,y,z are the fields i want to display in the output
2. dbtab is the database table you are querying on
3. struc is the structure you have the data in
I hope this helps you in some way . I also hope i have understood your requirement correctly.lemme know.
cheers
shivika