cancel
Showing results for 
Search instead for 
Did you mean: 

Amount printing problem in smartform

Former Member
0 Kudos

Hi Experts,

I am developing the Invoice using smartform and i am printing the net amount in the output. In print preview it is ok, but while printing i am facing the misalignment in the amount field.

For Example:

field : &VBAP-NETPR(C)&

Unit Price

-


12

-


333

-


34343

--- 3434355

34343434343

Note: line (---) is the empty space

Required Output:

Unit Price

12

333

34343

3434355

34343434343

Note: In print preview i am able to see the correct output . But while printing i am not get the proper output. I am using Epson Dot matrix printer . please provide me the valuable solutions.

Thanks in advance

Satish

Edited by: satish A on Apr 27, 2009 11:23 AM

Edited by: satish A on Apr 27, 2009 11:25 AM

Edited by: satish A on Apr 27, 2009 11:26 AM

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi!

In your smartform

define Style for your smartform.

there create a paragraph format in which in the tab Indents and Spacing define the alignment as left-aligned .

save the style and activate it.

now go to your form and there where you are writing the text unit in that text node

go to the output options tab and rite your style name in the style input box.

then go to the general attributes tab and there in paragraph formats you can find your paragraph format that you have defined select in in the list box.

activate your form.

you will get the desired output.

Regards.

Former Member
0 Kudos

use condense .It removes the emprty spaces.

CONDENSE <FILED-NAME>

Former Member
0 Kudos

check this field paraggraph format.

if you are using like RA : &VBAP-NETPR(C)& here RA paragraph format

goto smart style and select the RA Par.format here select RIGHT ALLIGNMENT.

Former Member
0 Kudos

Define the field of type character.

If this does not solve the issue, try defining SMARTSTYLE, define a Paragraph format and set as left-aligned in it.

Assign paragraph format to your field

You will need to properly assign margins etc, so that it properly aligns with your other contents.

Regards,

Mohaiyuddin

Former Member
0 Kudos

Hi,

before printing &VBAP-NETPR(C)& move the value to a CHAR field.

eg:

data : lv_netpr(20) type c.

lv_netpr = VBAP-NETPR.

&lv_NETPR(C)&

also, it is good to print the currency value in RIGHT ALLIGNMENT.

Regards,

Pavan

Former Member
0 Kudos

Hi,

Try using char field for the amount so that it starts from left.

Regards,

jaya