Skip to Content
Former Member
Jul 05, 2012 at 01:31 AM

Negative sign when output


I've an ABAP report where it will populate the result in an .TXT file

In SAP, it has indicate whether the Amount is H or S.

IF gw_regup-shkzg NE 'H'. gw_inv-wrbtr = gw_regup-wrbtr * -1. ELSE. gw_inv-wrbtr = gw_regup-wrbtr. ENDIF.

When i debug it, it does show it has negative sign behind

But when it got printed out in the TXT, there is no negative sign. Does the P(7) DECIMALS 2 might be causing it?


untitled.PNG (1.4 kB)