CASE command in SAPscript
Syntax
CASE symbol
...
[WHEN value|WHEN OTHERS]
...
ENDCASE
Example
/: CASE &NAME&
/: WHEN ’ROBERT’
* He is ROBERT.
/: WHEN ’JOHN’
* He is JOHN.
/: WHEN OTHERS
* Who is he? &NAME
/: ENDCASE
- thitima's blog
- 2311 reads
Syntax
CASE symbol
...
[WHEN value|WHEN OTHERS]
...
ENDCASE
Example
/: CASE &NAME&
/: WHEN ’ROBERT’
* He is ROBERT.
/: WHEN ’JOHN’
* He is JOHN.
/: WHEN OTHERS
* Who is he? &NAME
/: ENDCASE
Post new comment