on 03-19-2008 6:47 AM
Hello friends,
I have created one window in smartforms.
my condition is looks like....
IF ( WA_DATA-INCO1 = 'GRP' OR WA_DATA-INCO1 = 'GRQ' OR WA_DATA-INCO1 = 'GRR' )
AND V_NAME <> ''
BILL 1
ELSE
BILL2
ENDIF.
So, I have add condition in my node like.....
WA_DATA-INCO1 = 'GRP'
OR
WA_DATA-INCO1 = 'GRQ'
OR
WA_DATA-INCO1 = 'GRR'
V_NAME <> '' " Not Initial
*But here, It will take AND condition with not identical match.
I want any of first 3 and last one for checking*
Is it possible in smartforms?
Guide me please.
Full points rewarded if useful
Regards,
RH
Edited by: Ronny Hanks on Mar 19, 2008 7:47 AM
Hi,
Create a program line before the window. now write the coding as you have given in the program lines.
set global flag to indicate whether you want to process this or not.
Now goto to your window properties, click on condition tab, give the global flag name and the expected value.
Reward points if useful.
Regards,
Niyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
by setting flag !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
declare global variable
use program line pass the global variable as output
write the code using the import parameters to set the INCO values to g_value
then assign the g_value to text element
no need of any condition in the text element
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
when go to text element's - condition tab.. you enter the condition in first line . then come to second line and press the button which is near to delete button and check button in the conditions tab. that is used to enter "OR"condition .In the third line, you enetr your condition.
example: a= b or c=d or e=f and g=h.
first line a = b
then in second line press "OR" button whihc is between Delete and Check button in condition tab.
then enetr c=d in third line.
then in 4th line press "OR" button whihc is between Delete and Check button in condition tab.
then in 5th line enter the condition e=f,
then in 6th line enter the condtion g=h.
Thanks
San
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.