cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Trademark symbol using SAPScript

DipeshKothari
Explorer
0 Kudos

Hi,

We need to print trademark symbol (u2122) using SAP Script. Right now it is not printing and coming as #. Any solution. I am working on ECC6.00

Thanks,

View Entire Topic
Former Member
0 Kudos

Hi Dipesh

Are you using SUPERSCRIPT to print TM ?

Define a character format with SUPERSCRIPT turned ON and use that for printing TM

Pushpraj

DipeshKothari
Explorer
0 Kudos

Hi Pushpraj,

The trademark symbol is in a string variable (e.g. Material Description) - So I can not use character format to print this. (As will not be knowing exact location where it appears.)

Thanks,

Dipesh

Former Member
0 Kudos

Hi

you could split the variable at 'TM'. like


SPLIT maktx AT 'TM' INTO var1 var2.
PF &var1&<sup>TM</>&var2&

* sup being the SUPERSCRIPT enabled character format.

Pushpraj

Former Member
0 Kudos

Hi

you need to make a function which analyse your variable.

The function has to be made in abap (an easy one).

What it has to do.

Lets it look for (TM).

if found then let it split in 2 strings. var1 var2

Var1 is the part before (TM)

var2 is the part behind (TM)

print &VAR1(C)&(<sp>TM,/>)&VAR2(C)&

*sp must be a characterformat with superscripts format

function call can bedone with:

/: PERFORM xxxxxx IN PROGRAM yyyyy

/: ENDPERFORM

Need any info. Let me know

Gr., Frank

Former Member
0 Kudos

sorry a little mistyping

Hi

you need to make a function which analyse your variable.

The function has to be made in abap (an easy one).

What it has to do.

Lets it look for (TM).

if found then let it split in 2 strings. var1 var2

Var1 is the part before (TM)

var2 is the part behind (TM)

Then print in sapscript:

&VAR1(C)&(<sp>TM</>)&VAR2(C)&

  • 'sp' must be a characterformat with superscripts format

function call can bedone with:

/: PERFORM xxxxxx IN PROGRAM yyyyy

/: ENDPERFORM

Need any info. Let me know

Gr., Frank

Former Member
0 Kudos

the editor of SDN giving me problems.

again

sorry a little mistyping

Hi

you need to make a function which analyse your variable.

The function has to be made in abap (an easy one).

What it has to do.

Lets it look for (TM).

if found then let it split in 2 strings. var1 var2

Var1 is the part before (TM)

var2 is the part behind (TM)

Then print in sapscript:

&VAR1(C)&(<sp>TM</>)&VAR2(C)&

between TM and )

i typed lesser then sign <

slash /

and greater then sign >

but it is remioved when i post this.

'sp' must be a characterformat with superscripts format

function call can bedone with:

/: PERFORM xxxxxx IN PROGRAM yyyyy

/: ENDPERFORM

Need any info. Let me know

Gr., Frank