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

cl_gui_textedit and superscript

Former Member
0 Likes
813

Hello, everybody.

I have a question about cl_gui_textedit. I need to show superscript like in Excel. For instance, C^.

Does anybody know how to solve this problem?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
609

Hi,

No need of using cl_gui_textedit.

You can just copy the superscript value from excel or word and paste in SAP, it will work.

Also check the link given:

Hope it helps you.

Thanks,

Sarita Singh

4 REPLIES 4
Read only

Former Member
0 Likes
610

Hi,

No need of using cl_gui_textedit.

You can just copy the superscript value from excel or word and paste in SAP, it will work.

Also check the link given:

Hope it helps you.

Thanks,

Sarita Singh

Read only

Former Member
0 Likes
609

Hi,

I don't think that it will be beneficial of using cl_gui_textedit.

In the Charecter format, you need to declare it as super script, check the Charecter formatns in SMARTSTYLES, then you come to know, just check the Super script option, then use that charecter format in the Smartform.

Hope, it would help you.

with regards,

Mamta

Read only

0 Likes
609

Actually, I need to save text with superscript in SAP table in format which excel than can read and display as superscript. Is this possible?

Read only

Former Member
0 Likes
609

Hi,

It is not possible to store data as superscript or subscript in database table entries...

U can display text as superscript or subscirpt in SMARTFORMs or SAPscripts...

For SAPscript u have to define char type and set the parameter for Superscript for that char type...

For SMARTFORM u have to define char type in SMARTSTYLE,,,

there also u have to define char type and set the parameter for Superscript for that char type...

Hope, it would help you.

with regards,

Mamta Kumari