‎2007 Mar 29 12:56 AM
Hi, i have a problem with smart form, i want compare numeric values ( reference: data element NETWR_AP ) inside text.
example:
**************************************
/: IF &MVALW& GE '0'
= <C2>&VALORW&</>,,
/: ELSE
= <C3>&VALORW&</>,,
/: ENDIF.
**************************************
-MVALW is a value of data type NETWR_AP.
Target: Print text &VALORW& with caracter format C2(blue color) if MVALW's value is >= 0.
Print text &VALORW& with caracter format C3(red color) if MVALW's value is < 0.
Resut ( Actually 😞
Print both values: VALORW with carcater format C2 and C3.
Can you tell me why happend this??
Thanks a lot.
LG.
‎2007 Mar 29 1:15 AM
You can compare the values in the Condition tab or have a program line where you do the comparison and set a variable. Then check the value of the variable in the condition tab.
Regards,
Ramesh
‎2007 Mar 29 1:45 AM
Thanks for your response...
It worked perfectly
But then i can't do compare numeric values inside text of a smartform???( like sap script )
LG.