ABAP CODE FOR FIBONACCI SERIES

REPORT  ZFIBONACCI.
DATA:
      w_a type value 0,
      w_b type value 1,
      w_c type i.
do 10 times.

  w_c w_a + w_b.
  w_a w_b.
  w_b w_c.
  WRITE w_c.
  ENDDO.

Popular posts from this blog

Working with batch Classification Change Function Module

WORKING WITH BOM EXPLOSION FUNCTION MODULE(CS_BOM_EXPL_MAT_V2)