‎2015 Aug 15 9:50 AM
HI all, I need to convert class-methods parameters to FM parameters. I have zclass with zmethod. which has 3 importing parameters and 2 changing parameters. Now i need to replace this method with FM along with parameters . So i used 3 importing parameters in FM import parameters. Now where do i need to put method's 2 changing parameters in FM? Do i need to put in Changing parameter or tables parameters.? Thanks
‎2015 Aug 15 10:34 AM
Hello KSRCM,
of course in chaning parameter, you can add it without any problem,
and if you face any problem by code or something like this, just let us to know
Ps. if you have tables in changing parameter, you can alos, do it in Tables, as you want.
But if you dont have ITAB, so you don't need to add it in TABLES,
By the way, Chaning accepts ITAB or another parameter like strucure or something else.
Regards
Ibr
‎2015 Aug 16 2:51 AM
You should use the changing option and not the TABLES option. The tables option is obsolete now.
You can read more about the same here.
V.
‎2015 Aug 16 3:19 AM
Hi,
Just curious why not you use the class ?
Why go back in time ?
Regards.
‎2015 Aug 16 6:30 AM
Hello,
I also do the same question, why do you want to create a function? This method is local? If not, I see no reason for you to turn it into a function, now, if it is local, what are the impacts of transforming this class / method as global?
Warm regards,
Raphael Pacheco.
‎2015 Aug 16 12:39 PM
HI,
yes this is a good quesion, why you need to create a funciton
if this class-method global, so you can access by Class name.
Class_name=>class-method. Thats all.,
so why you need to create a funciton
Regards,
Ibrahim