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 data into SM30

Former Member
0 Likes
809

Hi, I have created dynamic selection screen using the FM's FREE_SELECTIONS_INIT and FREE_SELECTIONS_WHERE_2_EX. From these FM's I'm getting the WHERE condition to perform SELECT query. I want to show the data which we fetch for this WHERE condition in SM30. For this I'm calling SM30 thru the FM VIEW_MAINTENANCE_CALL. I have created FORM inside the TMG Event 'AA' and got the entries into TOTAL table by calling the sub-routine TABLE_GET_DATA. This TOTAL table is having all the entries. I want to show the entries in SM30 satisfying the WHERE_CLAUSES of this dynamic selection. Thanks and Regards, Adithya M.

2 REPLIES 2
Read only

Former Member
0 Likes
508

Hello Aditya,

Try to see which entries are coming in EXTRACT table in Flow Logic.

i.e. LOOP AT EXTRACT

     ............

      MODULE  ZFILTER.          " Zfilter is your module.

      ENDLOOP.

Here you can have the restriction using where condition, And accordingly modify the  EXTRACT table.

Please check and let us know if you get a solution.

Regards,

Sudhir Kothavale.

Read only

0 Likes
508

In PAI delete the data from internal table which is not required.So when o/p is displayed it contain the required records.