Monday, 30 May 2016

If..Else..Endif

If..Else..Endif


Ex :
  1. Go to transaction code SE38. 
  2. Enter the program name Z or Y<program name>
  3. Select attribute type as Executable program.
  4. Click on Save.

Source Code


PARAMETERS SAL TYPE I.

IF  SAL > 25000.

  WRITE 'software engineer'.

 else.

   WRITE 'IT support engineer'.

 ENDIF.




Input :



Output




Input




Output





No comments:

Post a Comment