‎2015 Jul 17 2:53 PM
Hi,
In my following case I have a table with 3 columns: class and method and value.
Now I want to loop the table and call the method from the class.
Example:
ls_mapping-conv_class = ZCLASS_CONV
ls_mapping-conv_method = UPPERCASE
ls_mapping-conv_value = test
"Conversion
data: cl_class like ref to ls_mapping-conv_class.
call method cl_class->ls_mapping-conv_method changing result = ls_mapping-conv_value.
My result should be:
ls_mapping-conv_value = TEST
Regards
‎2015 Jul 17 3:17 PM
What's wrong with the help?
https://help.sap.com/abapdocu_70/en/ABAPCALL_METHOD_DYNAMIC.htm
The documentation is pretty clear and exaustive......
‎2015 Jul 17 3:17 PM
What's wrong with the help?
https://help.sap.com/abapdocu_70/en/ABAPCALL_METHOD_DYNAMIC.htm
The documentation is pretty clear and exaustive......