This website is not affiliated with, sponsored by, or approved by SAP AG.

How to align number to the left in smartform

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

How to align number to the left in smartform

Postby Alicealice » Fri Mar 02, 2012 1:08 am

Dear All,

I am doing changes for the invoice below but I have no idea how to do it in the smartform.
Could you please guide me how to align the number to the left?

Thanks.
Alicealice
 
Posts: 72
Joined: Sun Oct 02, 2011 11:52 pm

Re: How to align number to the left in smartform

Postby Gothmog » Fri Mar 02, 2012 4:42 am

What invoice below ?
Anyway, look at the paragraph format in the style associated to the smartform.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1941
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home

Re: How to align number to the left in smartform

Postby Rich » Fri Mar 02, 2012 5:12 am

If you align numbers to the left, unless they are padded with zeroes or spaces the decimal points will not line up. Which is the whole point of aligning them to the right.
Regards

Rich

Image
Abap KC:http://www.richard-harper.me.uk/Kb
SFMDR:http://www.se37.com
Rich
 
Posts: 7112
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool

Re: How to align number to the left in smartform

Postby YuriT » Sat Mar 03, 2012 9:48 am

Just use &WA-NUMBER(C)&. this will remove leading spaces Rich mentioned and they will no longer appear aligned to the right
YuriT
 
Posts: 885
Joined: Fri Feb 03, 2006 6:40 am
Location: Basel/Riga


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 5 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.