‎2008 Jul 21 10:25 AM
Hi,
there is other way to write this or statement ?
IF key_field EQ 'DEM' OR key_field EQ 'OVP' OR key_field EQ 'EP' OR key_field EQ 'EF'.
regards
‎2008 Jul 21 10:37 AM
‎2008 Jul 21 10:27 AM
Cosmo,
here is this is another way:
CASE key_field.
than
when.
Amit.
‎2008 Jul 21 10:28 AM
hi,
you can also do:
IF key_field IN ('DEM', 'OVP', 'EP', 'EF').
...
hope this helps
ec
‎2008 Jul 21 10:37 AM
‎2008 Jul 21 11:31 AM
Hi Cosmo,
Use...
CASE key_field.
WHEN 'DEM'.
<your next statement>.
WHEN 'OVP'.
<your next statement>.
WHEN 'EP'.
<your next statement>.
WHEN 'Ef'.
<your next statement>.
ENDCASE.
‎2008 Jul 21 11:43 AM
Hi,
Check this link:
http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3571358411d1829f0000e829fbfe/content.htm
Regards
Adil