cancel
Showing results for 
Search instead for 
Did you mean: 

issue with Cheque form amount

senthil_kumar29
Participant
0 Kudos

Hi Guys,

I design a form for cheque printing.

I am using TAB_REGUP table to print the values.

The amount field DMBTR does not display negative sign (-).

It return all values as positive even though some of the amount values are in negative.

Any solution for this issue.

Cheers

Senthil

Accepted Solutions (0)

Answers (3)

Answers (3)

senthil_kumar29
Participant
0 Kudos

TAB_REGUP itself has the field SHKZG, to determine the sign of the amount.

Thanks Guys.. Cheers

Former Member
0 Kudos

if DMBTR < 0.

concatenate '-' dmbtr to char13.

else.

endif.

Former Member
0 Kudos

Hi,

Did u get -ve values in Debugg mode.

Eg: If bseg-shkzg = 'H' (means -ve value)

If bseg-shkzg = 'S' (means +ve value).

But in table all values r stored as +ve.

based on bseg-shkzg u can assign -ve sign to the value.