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

Dynamically internal table determination for GUI_DOWNLOAD

Former Member
0 Likes
291

Hi,

I am using GUI_DOWNLOAD and here i have 8 differnet internal tables with different structers and depending the condition i have to populate the only one table at a time to GUI_DOWNLOAD.Here as per performance i have to call this funciton module only once in the perform and i have to use same perform for different conditions.So now how can i populate this table data to GUII_DOWNLOAD funciton module field DATA_TAB depending condition.

Thanks and regards,

shyla kumar

Hi,

I am using GUI_DOWNLOAD and here i have 8 differnet internal tables with different structers and depending the condition i have to populate the only one table at a time to GUI_DOWNLOAD.Here as per performance i have to call this funciton module only once in the perform and i have to use same perform for different conditions.So now how can i populate this table data to GUII_DOWNLOAD funciton module field DATA_TAB depending condition.

Thanks and regards,

shyla kumar

1 REPLY 1
Read only

Former Member
0 Likes
248

hi,

simlply use this logic:

case <condition>.
when <1st_condtion>.

call gunction 'GUI_DOWNLOAD' 
.
.
data_TAB = <itab1>.

when <2nd_condtion>.

call gunction 'GUI_DOWNLOAD' 
.
.
data_TAB = <itab2>.
.
.
.
endcase.

in this fm is used in many places but will execute only once at runtime.

Jogdand M B