Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

structure

Former Member
0 Likes
630

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.

5 REPLIES 5
Read only

Former Member
0 Likes
603

Hi,

We can't retrieve data from Structure.Pls clear with ur question.

Regards,

Padmam.

Read only

0 Likes
603

Now tell me how to do that. As i have data in structure. so what would be the process.

Read only

0 Likes
603

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

Read only

Former Member
0 Likes
603

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>

Read only

Former Member
0 Likes
603

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