Skip to Content
0
Apr 20, 2010 at 06:45 AM

Concatenate

68 Views

Hi,

Good day day.

Ive got a problem with concatenate..

in the billing the discount looks like 21.000- %.

In my programme level,iam pullling the discount value from standard stracture one which is ls_bill_invoice-it_kond. ive got the 210.00% from standard stracture.

Instead of 21%..now my result shows like 210 %. Plz can any one check where i am wrong

Loop at gs_it_kond into gs_kond where kschl = 'RA00'.
IF gs_kond-kbetr < 0.
  gs_kond-kbetr = gs_kond-kbetr  * -1.
ENDIF.
  gv_perc = gs_kond-kbetr.
endloop.
 WRITE gv_perc TO gv_disc LEFT-JUSTIFIED.
 concatenate gv_disc '%' into gv_disc separated by space.

Regards