on 08-15-2007 11:15 PM
Dear ABAPers,
I have a problem with smartforms. I want certain fields to be displayed only if the tax code does not start with 'U'. In the conditions tab using Excluding pattern U did not work.
Is there anyway I can check if the taxcode does not start with 'U'?
Thanks, will be happy to award points if I am helped out..
Best Regards
Veena
Condition will work, try to re-check your condition...
anyhow to asked for other way.. try to create a program lines and inside program lines check tax code .
Ex: IF tax code EQ 'U'.
Make the fields empty that you are planning to display.
ENDIF.
So, if it is not equal to "U' it will have values and it will be displayed...
My suggestion is try with conditions it will work.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Declare a variable in global declarations of character type say
Chek type c .
In program lines store the first character of the tax field in newly declared filed chek .
Before displaying the text create a conditions tab and chek for the condition that
chek <> 'u' .
In true side of condition tab display the text .
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if that doesnt work, maybe u can try doing the logic inside a flow logic (program lines).
declare a flag in your global definitions for your input and output parameters in the flow logic. inside this logic, if if the tax code does not start with 'U', flag = ' ', else flag = 'X'.
for the fields that need this condition check, under the condition tab, u can make of the the flag to determine which fields need to be displayed.
this is how i did for my smartform.
hope it helps.
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.