2007 Jul 18 5:33 AM
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
2007 Jul 18 5:39 AM
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