‎2008 Oct 21 10:13 AM
hi gurus,
i am making a function module in which i need to make some performs so as to do code reusability. but for that i need to declare variable globally. As i am working wth function modules for the fisrt time. can anyone please help me with that. i dnt want these variables in improt or export parameters.
regards
vibhor
‎2008 Oct 21 10:21 AM
hi vibhor,
there is a tab "display object list" on the top of the sap screen when u r in dat function module. press that.
on the left side of ur screen there will complete lists of object used in fm. in includes there will a top include, declare all the variables u need globally in that top include. u can also create more includes for different performs if u want for modularizing ur program..
regards
palak
‎2008 Oct 21 10:19 AM
Declare in the top include. And next time post in the correct forum.
‎2008 Oct 21 10:21 AM
hi vibhor,
there is a tab "display object list" on the top of the sap screen when u r in dat function module. press that.
on the left side of ur screen there will complete lists of object used in fm. in includes there will a top include, declare all the variables u need globally in that top include. u can also create more includes for different performs if u want for modularizing ur program..
regards
palak