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

Currency field: Negative value show positive while debugging

Former Member
0 Likes
498

Hi

I have a problem that the field content field RWBTR in table REGUH shows a negative value , but when i debug my program it does not include the negative sign. The field content shows a positive value.

Any reason why this happens.


  if reguh-rwbtr lt 0.
    stdrec-13 = '10' .      "Credit
  else.
    stdrec-13 = '50' .      "Debit
  endif.

1 REPLY 1
Read only

abdulazeez12
Active Contributor
0 Likes
344

Look for the credit or debit indicator SHKZG or somethign similar in the table REGUH.

The + or -ve sign will not be there in the field..it is stored in different field.