even odd program

 even odd program.

        REPORT ZEVEN_ODD.
        types ty_id type i.
        parameters p_var type ty_id.
        if p_var mod 2 eq 0.
          write: 'even'.
        else.
          write: 'odd'.
        endif.

Comments

Popular posts from this blog

ABAP for all

bapi introduction

amdp