04-16-2007 10:29 AM
Hi,
I am using a function where there is an import parameter which is type to one of the class and i don't know i how you pass the values to function.
Can any one help and if you have any document regarding this pl. send it to me.
Thanks
Atul
04-16-2007 10:35 AM
What you can do is create a variable with reference to the class, and use this variable as import parameter.
DATA: L_VAR type ref to CL_<yourclass>.
Fill L_VAR with appropiate data.
Call function module with import parameter L_VAR.
regards,
Hans
Please reward all helpful answers !!!!!
04-24-2007 11:23 AM
Hi,
Function module where i want to pass values is "REBD_API_MEASUREMENT_CRE". can any one explain me how to pass the valuse to this.
Thanks,
Atul
04-24-2007 11:37 AM
in the import parameter enter a variable name and choose "type ref to" and then enter your class name.
while calling the fm , to this variable you have to pass instantiated class variable of the same type
Raja