Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem associated with subscript display

Former Member
0 Likes
482

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

3 REPLIES 3
Read only

Former Member
0 Likes
400

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

Read only

Former Member
0 Likes
400

This message was moderated.

Read only

Former Member
0 Likes
400

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.