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

dynamic selection

Former Member
0 Likes
622

Hi Experts

please help me to fix this issue.

Based on the description entered in the selection screen(s_des) i am fetching corresponding all table fields and corresponding Tables into to i_tab1 ,, upto this is fine.

now i need to execute the i_tab1 to based on another input (s_value) and those values,all tables to be displayed

please help me....

with regards

Madhu latha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
586

Hi,

Do you mean execute i_tab1 means display values in i_tab1?

if yes then just put where condition in loop statement.

loop at i_tab1 into wa_tab1 where field = s_value ( put field u want instead of field)

write 😕 wa_tab1-field1,..........

endloop.

Regards

4 REPLIES 4
Read only

Former Member
0 Likes
587

Hi,

Do you mean execute i_tab1 means display values in i_tab1?

if yes then just put where condition in loop statement.

loop at i_tab1 into wa_tab1 where field = s_value ( put field u want instead of field)

write 😕 wa_tab1-field1,..........

endloop.

Regards

Read only

Former Member
0 Likes
586

Hi,

Your quesion is not cleard. Based my understand. After getting data based on slection craiteria then you write modul pool program there you can add one more screen to give input data .

Regards

Md.MahaboobKhan

Read only

0 Likes
586

Hi

My issues is

i am fetching corresponding Fields and Tables from DD04T and DD03VT tables by passing filed description , this fileds and database tables available in ITAB1.

To check values of any table we do SE11- Table Name - CTRL_SHIFT+F10 and pass value and F8 then we get records .

same way in ITAB1 i have filds and Tables ... i want to execute ITAB1dynamically by passing s_value like how we execute Database table .

i hope i given comple te information about my issue.

with regards

madhulatha

Read only

former_member229729
Active Participant
0 Likes
586

Hi,

I think, your selection screen is:

S_DES

S_VALUE --> Here you are accepting the table at run time.

Now, I assume, your question is, how to fetch values of the above table? Is that right?

Rgds,

Ramani N