cancel
Showing results for 
Search instead for 
Did you mean: 

Font for text display in smartform issue

Former Member
0 Kudos

Hi All,

I have a requirement where i have to display some part of a line in bold and the rest in normal text.

For that I have created a character format with name B1, Paragraph format P1.

In B1 I have selected font style as bold.

Problem: I am getting the text after the text that has been defined as bold in bold.

Ex: Field Technician - based at Noida.

so here I am getting the text 'based at Noida' in bold which should be actually in normal text.

Code in text editor that I have uesd:

<B1>&wa_t528t-plstx&<B1> based at Noida

I have even tried by creating another character format B2 and used it for the text in normal format But still the problem is not solved.

<B1>&wa_t528t-plstx&<B1> <B2>based at Noida<B2>

please suggest me the solution for this.

With Regards,

S.Asha.

Edited by: S.Asha on Oct 18, 2010 9:12 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member320332
Contributor
0 Kudos

Hi Asha,

Have you tried it like this

<B1>&wa_t528t-plstx&</B1> based at Noida.

Please read below sap help docs for the same which explains about the formatting of text.

http://help.sap.com/saphelp_sm32/helpdata/en/f4/b49eda453611d189710000e8322d00/content.htm

Regards,

Pawan

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Asha,

The problem is you have not closed the character format <B1> you need to end it by using / . here instead of /B1 write only / to end: </B1>.

use only / not /B1.

hope this helps you.

thanks and regards,

Aastha

Former Member
0 Kudos

Hi

Solution for this is

create separate text for these two words

Field Technician for this assign Font as BOld

- based at Noida for this assign normal font. Only thing is in General attribute tab, in text node select Append directly. This will append your text besides the first text.

Regards

Sachin

nabheetscn
Active Contributor
0 Kudos

The problem is you have not closed the <B1> with</>or</B1>. Try any of these it will work.

Nabheet

Former Member
0 Kudos

Hi,

To solve this issue u need to perform following steps:

<<Yet another copy-paste from removed.>>

Moderator Message: This is your last warning

Regards

Akhilesh Singh

Edited by: kishan P on Oct 18, 2010 1:14 PM

Former Member
0 Kudos

HI Aastha,

Thanks for your reply.The problem has been solved.

With Regards,

S.Asha.

Edited by: S.Asha on Oct 18, 2010 5:37 PM

nabheetscn
Active Contributor
0 Kudos

Please close this thread if the problem is resolved.

Thanks

Nabheet