cancel
Showing results for 
Search instead for 
Did you mean: 

aligning text line by line in smartforms

Former Member
0 Kudos

I want to display text in a proper format in smartform.I have two tables in my smartforms.at the beginning of each table i should get rundate and run time in a specific format.I have a space precceding my runtime and rundate.How to align the text properly in smartform.

The format is as follows.

Runtime      0.0.0

Rundate     12.05.2012

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member213851
Active Contributor
0 Kudos

Hi ABAP USER,

You need to create a template with 4 text elements : 2 for Run date and 2 for runtime.

In DETAIL viwe of template , mention Height in Fractions to avoid partiel visibility of TEXT elements in output of smartform.

Now in output otions of Text element  , mention  Row and column position.

Text ElememntRowCol
Run Time Text 11
Run Timevalue12
Run Date Text 21
Run Date value22

now save it and activate it.

Best Regards,

Sachin

Former Member
0 Kudos

Hi,

       For the Alignment you can create a template with four cell like 2*2 Matrix. the then fill up 

cell (1,1) : Run time.

cell (1,2) : 12: 23:23

cell (2,1) : Rundate and

cell(2,2) : 24.02.2012.

I hope you are aware of populating Templates and this may help you a lot!

Former Member
0 Kudos

see this thread

http://scn.sap.com/thread/3147313

Aligning in smartform