IF command in SAPscript

Syntax

IF 
...
[ELSE|ELSEIF ]
...
ENDIF

Example

/: IF &NAME& = ’ROBERT’
* He is ROBERT.
/: ELSEIF &NAME& = ’JOHN’
* He is JOHN.
/: ELSE
* Who is he? &NAME&
/: ENDIF
img62
Technorati Tags: ,

Post new comment