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

Using Character format in Smartforms

Former Member
0 Likes
14,304

Hi All,

My requirement is that in my smartform i need to have certain words in the same line to be in different font styles .

I think we can acheive this using character format,but i dont know how.

Pls help me with this.

Thanks,

Faiz

Moderator message: please search for available information/documentation before posting.

Message was edited by: Thomas Zloch

1 ACCEPTED SOLUTION
Read only

Former Member
6,986

Hi Faiz,

we can achieve different Font styles in a single line in smartforms.

Create the desired Paragraph and character formats in style. In ABAP editor, try like this,

P1   <C1>Hello ..... </> <C2>Hello with diff font style </> <C3>&hello&

Please reward points if you are able to proceed.

Regards

Vivek

7 REPLIES 7
Read only

jeroen_verbrugge2
Active Participant
0 Likes
6,986

Hi,

Create a style first. In that style, create your character formats.

Then use this style in your smartform, either by assigning it for the whole for in form attributes -> output options or on a specific node in output options. Then mark the different words in your texts with the desired format.

See attached style for an example. You can upload this if you want by choosing Utilities->upload.

Rgds,

Jeroen

Read only

vinoth_aruldass
Contributor
0 Likes
6,986

hi,

you have to create smartstyle for that in that character format you have to create.

then in your output oprions in smartforms you have to put your smartstyle name.

just google out for more information.

hope it helps,

Vinoth.

Read only

Former Member
6,987

Hi Faiz,

we can achieve different Font styles in a single line in smartforms.

Create the desired Paragraph and character formats in style. In ABAP editor, try like this,

P1   <C1>Hello ..... </> <C2>Hello with diff font style </> <C3>&hello&

Please reward points if you are able to proceed.

Regards

Vivek

Read only

Former Member
0 Likes
6,986

Hi Faiz,

If you have a character format C1, C2 and paragraph format as P1.

P1     Example text <C1> C1 font applied </> <C2> C2 font </>

Hope this helps. Let me know if you require additional info.

Thanks,

Tooshar Bendale

Read only

Former Member
0 Likes
6,984

Yeah it is Possible using Style.. Create Ur Own Style .

Regard's

Smruti

Read only

Former Member
0 Likes
6,984

Hi faiz,

Understand the below information,

p1-style1(font or paragraph)

c2-style2(character format)

<p1>faiz<c2>rahaman</c2>is a abaper</p1>.

Regards

Mahesh

Read only

0 Likes
6,984

you can choose script editor and write or try to apply the above way it help to you

Regards

Mahesh