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

on Scripts

Former Member
0 Likes
1,262

i need to put superscript in SAP script. By that i mean that if the date is 21 i have to put it as 21st. Can someone tell me how this should be done?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,086

Hi pavan,

1. That facility is alrady available.

2. u can use CHARACTER format.

3. In that there are two radiobuttons :

superscript

subscript.

4. in se71, goto charactger format

choose any format,

then PRESS THE STANDARD BUTTON at the below.

(only then the radio buttons will appear)

regards,

amit m.

11 REPLIES 11
Read only

Former Member
0 Likes
1,087

Hi pavan,

1. That facility is alrady available.

2. u can use CHARACTER format.

3. In that there are two radiobuttons :

superscript

subscript.

4. in se71, goto charactger format

choose any format,

then PRESS THE STANDARD BUTTON at the below.

(only then the radio buttons will appear)

regards,

amit m.

Read only

0 Likes
1,086

HI,

Thanks for the suggestion. it is working but i have an issue. the issue is that the font size i want as superscript is '1' which is not available for that font. What should i be doing in such a case?

Thanks in advance,

Pavan

Read only

0 Likes
1,086

hi pavan,

1. Use font-size 6 or 8

2. It will look perfectly fine

and it will look superscript.

regards,

amit m.

Read only

0 Likes
1,086

You can set the font and font-size in the FONT tab of the character spacing...

If your font doesnt support size 1 then either you must choose another font that supports font-size 1 or use the supported font-size. The decision is yours.

Dont forget to reward points and close the thread.

Regards,

Wenceslaus.

Read only

0 Likes
1,086

Hi,

The issue is that user requirement is 1 font and i am getting that in print preview but when i take a print i get 6 font size.

I dont understand why?

Regards,

Pavan

Read only

0 Likes
1,086

Hi Pavan,

Then it may depend on your printer settings.

Configure your printer settings in SPAD.

Read only

0 Likes
1,086

Hi again,

1. In layout, in se71,

when we enter font size 1,

and try to activate,

the system will give error

saying that font with xyz name size 01 is not available !

2. I tried with font 6,

and after taking the printout

it looks PERFECTLY DESCENT !

(Just looks like super script)

3. Font 1, if available,

will be VERY TINY

(not readable)

4. Hence, 6 is quite practical approach.

Even in MS Word,

the super script font is not 1.

its 4-6 only.

5. Marking the character format

as SUPERSCRIPT,

automatically prints in small size.

regards,

amit m.

Message was edited by: Amit Mittal

Read only

Former Member
0 Likes
1,086

To create superscripts:

Create a new character format : c

In the standard settings set the radio button ON for SUPERSCRIPT.

Then you can assign it to your text as follows:

  • Your text <c>superscripted</>

Where c is the character format.

Read only

Former Member
Read only

Former Member
0 Likes
1,086

Hi Pavan,

On the Standard Settings tab, you find the effects Superscript and Subscript.

Hope it helps.

Regards,

Anuradha.B

Read only

Former Member
0 Likes
1,086

Hi,

You need to create a CHARECTER FORMAT with desired FONT,SIZE and put SUPERSCRIPT ON.

Then in TEXT Elements Code write like this.

Before that you need to split your date in order to come in you own format.

Example: 21st Feb 2006.

&VBDKR-FKDAT(2)&<K>ST</> &VBDKR-FKDAT+2(8)& ........

K= Charecter format which you creates.

Thanks.

If this helpa you reward with points.