Question:
hi everyone,
may I know why is there a need to create parameters for an object method? I realised that my method works even if I do not define the parameter containers... I simply called swc_get_element container 'XXXXX' l_xxxx.
thanks in advance!!
Answer:
Parameters are needed the export or import data from your workflow into your task and from your task into the object and visa versa...
_________________
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.
Answer:
Other main purpose of creating parameters on the method is its usefulness while debugging the parameters passed from the task to the object and visa-versa.
Answer:
Well as far as I remember you don't have to have parameters, eg display method has the object key available internally.
However, it is bad programming practice not to identify the parameters that a method expects to use and restrict the interface to those parameters. Also having those parameters defined lets the WF builder plug them into the bindings nice and neatly.
Please be boring and stick to the accepted methods of coding WF, some of us have to come along later and try and clean up the mess.
Jeez, don't they have any development standards at your place