04-25-2005 6:04 AM
Hello Friends,
How to declare a global variable in function module, other than declaring in Function group/data section of function module.
Regards
Elini.P
04-25-2005 7:32 AM
Hello Elini,
The global data for a Function Group will generally be defined in the TOP Include of the Fucntion Group.
Is there any specific reason why you want to declare it somewhere else?
Regards,
Anand Mandalika.
04-25-2005 8:38 AM
Hi Elini,
You can declare the global data after the ENDFUNCTION statement in your function module if you wish, or you can include your own include in the TOP include.
Actually you can declare global data just about anywhere in your function group as long as its not in between statments like FORM ENDFORM or FUNCTION ENDFUNCTION.
I agree with Anand, though, why?
Cheers,
Brad