Monday 30 May 2016

If … endif

If … 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'.

ENDIF.





Save -> Check ->actvate -> Execute.

Input



Execute.

Output



No comments:

Post a Comment