02-28-2024 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
02-29-2024 1:30 PM - edited 02-29-2024 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)