Whenever I have a hyphen "-" in text that is referenced in SMARTFORM text node it prints "-" as "#". I went as far as debugging the INCLUDE TEXT perform within the generated function code created by the SMARTFORM.
There I found the output table %TEXTAREA of fm 'SSFRT_READ_INCLUDE_TEXT and L_TOKEN of fm SSFCOMP_CONVERT_ITF_TO_TOKEN to be exactly as text entered.
While within SMARTFORM I change TDDEST and the paragraph used and it still makes "-" as "#" .
This happens in print preview and print.
In this specific SMARTFORM I am attempting this using either ME23N or ME9F.
Are there any safeguards when using special characters within SMARTFORM texts?
Very strange as for other SMARTFORMS I can even sucessfully print or preview Chinese and eight other languages.
2/16/2011 > went further in dbug and found that text is actually changed by the beginning of CONV_STRUC_OTF_TO_PLAIN_OTF within generated SMARTFORM. I have change SAPSCRIPT paragraph to remove color feature and change font size; the text is placed within a table line that tabbed so I even removed/changed so text could take full line. Still makes "-" become "#".
This is not one SMARTFORM but four distinct SMARTFORMS for Purchase Orders and quotes. Can always be seen in print preview as it happens within generated SMARTFORMS standard routines,
Edited by: Michael Hintergardt on Feb 16, 2011 4:08 PM