on 04-23-2008 8:24 AM
Helo All.
I have to print like this in smartform:
'Export Charges' (Hard Coded) 12 (Variable)
'Freight Charges' (Hard Coded) 20 (Variable)
Now I want to print the description (Export, Freight Charges) which is hard coded only when the corresponding variable value is Greater Than Zero.
I tried to enter the If-Endif condition in smartform text editor where I am printing this text, but its not working.
Please suggest some solution !!!
Points are assured
Hi,
Use condition Tab in Text Node
In Field Name give the Variable Name aND in R give greater Than(>) and in Value give 0.
Regards
Sandipan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can take the same approach as you could in SAPscript, include the text within the &'s.
E.g.
&'Export Charges 'EXP_CHARGE&
&'Freight Charges 'FRT_CHARGE&
If the variables are initial nothing is displayed.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.In smartforms if-else can't work.Instead of that Use alternative Node.
->TRUE(text elementshard coded text and &var&) in conditions tab of Alternative ,specify var gt 0.
->FALSE(text elementshard coded text and &var&)
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,
We cannot use the text editor for if-else statements . Either you will have to write in the conditions tab of the text element where you have hard coded the values .
Or before the text add program lines.
Right-click on the window -> create->flow logic-> program lines
I hope this is useful to you.
Regards
Nisrin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.