02-16-2015 9:18 AM
Hi,
In table QCVMT we have data that looks like this:
H<SB>2</>O boil at 100<SP>0</>
When printing this info using SAP script it looks like this:
This is done using character format which is part of the form definition:
I have new development and I want to use Smart Form.
I created a smart style that have the SB and SP formats and colors.....:
I applied the smart style to the form and the results:
When I use hard coding this working (That proves IMHO that the style is active )
When the data reside in standard texts (SO10) this is also working .
When the data reside in regular tables this is not working (and this is what I need)
Am I missing something or this is another case where a newer development is dropping a feature that were used in the past ?
Regards .
02-16-2015 11:11 PM
Hi,
to get the SmartForm to put the text through "text processing" (to format the text, to bind values to fields contained in the text lines, etc.) it would need to be put in an internal table of TYPE TLINE_TAB (using FM CONVERT_STREAM_TO_ITF_TEXT for example), which is then output using Text Node of Type "Dynamic Text". Something like this:
Basically, one would have to create and pass the "text part" of SO10 text (SapScript text) in an internal table...
I don't know if there is an easier way, but the field values in a normal "Text Element" Text Type will never be "reprocessed" for character formats, variables etc.
cheers
Jānis
02-16-2015 11:11 PM
Hi,
to get the SmartForm to put the text through "text processing" (to format the text, to bind values to fields contained in the text lines, etc.) it would need to be put in an internal table of TYPE TLINE_TAB (using FM CONVERT_STREAM_TO_ITF_TEXT for example), which is then output using Text Node of Type "Dynamic Text". Something like this:
Basically, one would have to create and pass the "text part" of SO10 text (SapScript text) in an internal table...
I don't know if there is an easier way, but the field values in a normal "Text Element" Text Type will never be "reprocessed" for character formats, variables etc.
cheers
Jānis
02-17-2015 6:16 AM