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

fetching data from runtime table

Former Member
0 Likes
1,058

Hi Guru,

I have the requirement like I need to fetch the data from RUNTIME table.

Could you please let me know how to fetch data from Runtime table.

Sandeep

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
847

Hi,

You mean the table name is RUNTIME? There is no table called RUNTIME. It is data element. Which version of SAP u r in?

Thanks,

Vinod.

4 REPLIES 4
Read only

vinod_vemuru2
Active Contributor
0 Likes
848

Hi,

You mean the table name is RUNTIME? There is no table called RUNTIME. It is data element. Which version of SAP u r in?

Thanks,

Vinod.

Read only

0 Likes
847

Hi Vinod,

My table name is not runtime.

Means the table will be at runtime based on the selection parameter in the program.

Based on the selection parameter there will be the name of the table at run time.

I hope you got the thing.

Sandeep

Read only

Former Member
0 Likes
847

You have to create dynamic internal tables and use it in query for this. In selection screen, you can enter the table name and create a dynamic internal table based on this table. Then you can use the internal table in select query....

Check this link. It can use the program in it for your requirement....

https://cw.sdn.sap.com/cw/servlet/JiveServlet/previewBody/118430-102-1-216926/Dynamic%20Internal%20t...

Read only

Former Member
0 Likes
847

This is a FAQ. There are many threads with sample coding showing how to fetch data in to dynamic internal tables. Please SEARCH in SCN.