2024 Feb 28 2:34 PM
Can someone show an ABAP code to calculate Factorial, using recursive methods ?
It will be helpful for best understanding and coding methods in ABAP.
Thanks in advanced
2024 Feb 29 1:30 PM - edited 2024 Feb 29 1:32 PM
Look at a method such as CL_EHFND_ACE_FORMULA_CALC_DAC=>FACTORIAL.
(NB: this class contains also a method FACTORIAL_NOT_RECURSIVE)