Application Development and Automation 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: 
Read only

SAP Script - Invoice Currency display Problem

Former Member
0 Likes
273

Hi,

I am changing SAP Script Invoice. In that invoice there are 4 fields (Subtotal, Shipping, Sales Tax, Total amount) these 4 fields declared as Char (13 Size).

If the amount is in thousands i have to display "," after thousand.

eg. $ 3,478.00

$ 8,739.00

I changed all those four fields as (VBRP-NETWR)CURR data type also. but if the Sales tax or shipping is $ 0.00 the alignment is not coming correctly...

Is there any other way if i declare those fields as CHAR and how can i display "," after thousand.

Thanks,

fractal

1 REPLY 1
Read only

Former Member
0 Likes
248

Hi,

In the print program use write statement..

Example..

DATA: V_NETWR TYPE VBRP-NETWR.

DATA: V_CHAR(13).

V_NETWR = '12121.00'.

WRITE V_NETWR TO V_CHAR.

WRITE: / V_CHAR.

Thanks,

Naren