‎2008 Jan 22 4:37 AM
Hi all,
Can we pass a internal table to Import parameter variable rather than Table paramter variable in Function Modules.
Plz some one clarify me abt this.
krishna
‎2008 Jan 22 4:38 AM
‎2008 Jan 22 4:38 AM
No .
only through the table .
import parameter is only for an attribute not for table .
Reward points if it is usefull...
Girish
‎2008 Jan 22 4:42 AM
Hi,
You can pass but changes happend in internal table in FM can not use out side of FM.
EX : suppose you are using FM in a report you will pass some values to FM changes will made in FM.Those cahnges can not get effect in program.
Don't forget to reward if useful....
‎2008 Jan 22 4:43 AM
hi,
import parameters are variables or field strings that contain values passed into the function module from the calling program. these values originate outside of the FM and they are imported into it.
Table parametrs are internal tables that are passed to the FM, changed within it, and returned. the internal tables must be defined in the calling program.
so its not possible.
reward if its helpful
‎2008 Jan 22 4:47 AM
hi,
y not, u can pass internal table to import parameter, but the improt parameter should be dfined with reference of table in the function module...
just check this function module for reference.......
'PS01_VS_READ_DATA'
Reward points if useful,
seshu.