Application Development 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: 

How to put a negative sign in Front

shubster
Explorer
0 Kudos

actually i have to calculate a amount for example A=300 B=200 C=B-A. In output it is showing C = 100. but it should be -100

so there should be negaite sign in front of those

i'm using decimal datatype both in structure as well in declaring.

5 REPLIES 5

venkateswaran_k
Active Contributor

Is this ALV report output OR module pool screen?

shubster
Explorer
0 Kudos

It is alv report

matt
Active Contributor

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.

matt
Active Contributor

Please show your exact code with the data types used.

Sandra_Rossi
Active Contributor

Hopefully you can find answers to your question: