‎2010 Mar 18 6:36 AM
Hai
while i am generating Z-report the users need to display SiO2 as 2 has to display below the letter O. How to do plz help me.
regards
Sridhar
‎2010 Mar 18 6:51 AM
If you're on a Unicode system, have you tried using Unicode code point 2082 (see [here|http://unicode.org/charts/normalization/chart_OtherNumber.html] for a list of relevant code points or [here|http://www.fileformat.info/info/unicode/char/2082/index.htm] for a more specific reference)?
write: 'SIOu2082'.
I.e. take the code statement above, copy it and paste it into your coding in the ABAP editor. Most likely you will not see the subscript in the ABAP Editor (instead just a rectangle), but check out if the output looks good when you run it... (worked fine for me). Basically the ABAP editor doesn't show it for me, because the font that I'm using in the Editor doesn't contain this character.
Only issue for me is that the output statement automatically picks another font for display, so the text looks a bit odd along with the surrounding text. However, depending on your requirements and your actual output this might not matter and actually look fine.
Cheers, harald
‎2010 Mar 18 7:04 AM
‎2010 Mar 18 7:06 AM
Hi,
iam not sure its possible to display subscript/superscript in a report output or ALV output.
I think it is possible in SAPScripts/ SMARTFORMS.
But the below link is useful to you.
/thread/1307951 [original link is broken]
Thanks,
Raj.