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.
Showing results for 
Search instead for 
Did you mean: 

left and right align in one text element

0 Kudos


I want to print the tax and tax amount in the same column. So I have taken 2 fields w_tax for tax and w_taxamt for tax amount, I want to align the w_tax to left and w_taxamt to the right.

Is it possible to give 2 alignments in on text element? I tried it, but not working.

Thanks and regards,



Former Member
0 Kudos

Hi Madhuri,

Create two text elements and use the same. If possible try to split the columns into two cells.


Karthik D

Active Contributor
0 Kudos

Hi Madhuri,

Inside  1 Text element , you can use Different paragraph formats for different allignment.

Eg: create 2 different Paragraph formats i.e P1 and P2 ( right and left alligned)  using TCODE SMARTSTYLES  , activate it and include these  styles name inside smartform in Tab 'Form attributes' -> Output option.

Now you can use diiferent allignments in 1 Text element for Tax and tax amt.

Regards Sachin.