on 06-25-2010 10:21 AM
Hi gurus ,
i want to add logical expression in alternative of smart forms
my condtion is like as below
if ( ekko-bstyp = 'F' and ( ekko-bsart = 'zc9d' or ekko-bsart = 'zc91' or ekko-bsart = 'zc9u' ) )
if i use the or button it is taking as ekko-bstyp = f or any of the other conditons actually it should be
bstyp = f and any one of the condtions
when i tried to write condition it is not showing syntax chekc but it is giving dump
how to write the expression
regards
afzal
Hi..
Please try using the following in the conditions...it will work..
ekko-bstyp = 'F'
ekko-bsart = 'zc9d'
OR
ekko-bstyp = 'F'
ekko-bsart = 'zc91'
OR
ekko-bstyp = 'F'
ekko-bsart = 'zc9u'
Regards,
Karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
In the alternative node conditions use like this
IF ( WA_EKKO-BSTYP EQ 'F'
AND WA_EKKO-BSART EQ 'ZSTO'
OR WA_EKKO-BSART EQ 'ZIMP'
OR WA_EKKO-BSART EQ 'ZSER'
OR WA_EKKO-BSART EQ ' ' ).
For this in the alternative node conditions
WA_EKKO-BSTYP = 'F'
WA_EKKO-BSART = 'ZSTO'
OR (By clicking the insert OR in the icons in the top )
WA_EKKO-BSART EQ 'ZIMP'
OR
WA_EKKO-BSART EQ 'ZSER'
OR
WA_EKKO-BSART EQ ' '
Let me know if any concerns.......
Regards,
Lokesh .
Hi,
Before the alternative take a program line and mention the conditions over there and set a flag variable.
Now check the flag in your alternative. This is the easiest way to do which i suggest
Thanks & Regards
Sarves.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.