cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms

Former Member
0 Kudos

Hi Experts ,

Can we use different font style in one particular text window for

different word. if yes pls tell me how we can this.

Pls reply ASAP.

Thanx & Rgds

Pardeep Sharma

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Pradeep,

Create two character formats.

Include that style in ur text element

select the word u want diffrnt font and the select character format

same for another word in same text element.

try this

former_member206377
Active Contributor
0 Kudos

Hi Pradeep,

U can definitely create this using smartstyles.

--In the TCode 'smartforms' just below 'form' u have another option 'style' .

--Create a style .

--within the style give the required header data

--right click on paragraph format and select *'create Node'*

-- within the node give the required paragraph format

--in the same way u can also create the character format

To use the created style in ur smartform refer the following method:

-- select the text window where u want to chage the font.

--in the 'output options' tab of the text window, there is a input field called 'style', enter the name of the style which u created .

-- now go to 'General attributes' tab of the same.. Here u find an option called 'style'.

-- click on the arrow in 'style' and u can find the paragraph format and the character format u have created in the smartstyle u created.Now select the data for which u want to change the font and click on the appropriate character or paragraph format.

Hope u find it helpful

Regards,

Vasuki

Former Member
0 Kudos

hi,

create different smartstyles through SE72 then u can assing this to your text wondows.

madhukar

Former Member
0 Kudos

u want different font size in line then do like that <B>&var1& <> <B1> &var2& <> <B3> &var3&<>

where B1 ,B2 and B3 are different type of font size that u have to create in style..

revert back for more clarification

Former Member
0 Kudos

thanks Kumar,

Its not working.

Thanx & Rgds

Pradeep Sharma

Former Member
0 Kudos

it should work , i have done more than 50 forms, and i have done in this way only.

in output options u give ur style name

u just give ur requirement.

Former Member
0 Kudos

Hi pradeep,

Yes u can use different fonts in particular text window.

Define different paragrah formats with different font styles.

use these paragraph formats in ur text window.

u can also use charecter formats and shange particular words in a paragraph.

Best regards,

raam

Former Member
0 Kudos

thanx reddy,

i just want to diffrent font styles in one text window.

Former Member
0 Kudos

Hi Pradeep,

In paragraph format u can define paragraphs with different fonts.

we use these paragraph formats in text window.

For Example

P1 is of font COURIER

P2 is of font TIMES

P1  &VBAK-VBELN&
P2  &VBAK-VKORG&

Best regards,

raam

Former Member
0 Kudos

Hi reddy,

The answer which u have given ...Is that related to sap scripts or smartforms too....

Actually, i am not sure so just wanna know that.

Regards,

bhumika

Former Member
0 Kudos

Hi Pradeep,

yes you can use different fonts in text windows

you can create different character formats and assign in text editor, suppose charater format H you will like that

<H>message</>

in the character format you will give fonts , bold , italic like

etc.

if it is helpful give reward points

Thanks & Regrds

bhupal

Former Member
0 Kudos

thanx Bhupal,

its not working