Application Development 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: 

How to set two different Paragraph format in same line in SMARTFORM

former_member258592
Participant
0 Kudos

Hi,

I Want to use two different Paragraph format in Same line, but It's taking only one Paragraph for whole line.

Suppose I have created two Paragraph P1 and P2 and I want to assign like this..

Sold to Party(P1) : &WA_KNA1-KUNNR&..(P2)

Thank you

Sandeep

10 REPLIES 10

Sandra_Rossi
Active Contributor

You can't with a "paragraph format". Instead, you need to use "Character Formats".

0 Kudos

Thank you Sandra..

I don't know too much about Character format..

Could you explain me difference between Paragraph Format and Character Format ?

Thank you

Sandeep

The "SAP Library" is the documentation, it will explain differences. Click the text "Character Formats" in blue above.

0 Kudos

Thank you Sandra, I will check it 🙂

Private_Member_7726
Active Contributor
0 Kudos

That's not possible, what are you trying to achieve (if the character formats do not suffice)?

0 Kudos

Thank you Janis.

I am new in SMARTFORMS..

I want set two different font size in Same line using two different Paragraph format.

But it may be done through character format also ?

because I was thinking, We can use character format only for Bar code..

Thank you

sandeep

Barcode or character formats. The character format attributes also "stack" - one can apply several character formats to part of text. First the character format determining font and the text size, then character format for bold (having no font an size), then character format for underline, for example.

Former Member
0 Kudos

Hi Sandeep Patel,

I think its possible.

If you want to do this function then you need to create Custom "Styles" and apply it in your smartforms.

To Deploy your custom styles in smartforms. In Form Attributes -> Output Options -> Give you style name in Style input field.

Do research on "Creating Styles", You can do it in SMARTFORMS transaction code itself.

After Apply styles in your smartforms, In text node, you can select text and apply what style you want.

Thanks,

Sivaraj Sadasivam.

SimoneMilesi
Active Contributor

Did you try to create 2 different text element, the 1st one with

and its own paragraph style

and the 2nd one with

with the 2nd paragraph style?

"Append directly" basically concatenate the content of the text element to the previous text

raghug
Active Contributor
0 Kudos

I was about to suggest that same. The additional benefit is that you can align the second element much more consistently with other elements above and below it.