2009 Jul 17 2:10 PM
Hi,
I have created field of type currency.
Which may include negative values with minus sign or positive values. If in case its a negative value, it should move it to a specified column in ALV or different field if in case +ve.
Is there is a FM to check negative(based on sign) or positive number and moved to specified column.
2009 Jul 17 2:16 PM
hi
here is the logic to identify the sign.
if var lt 0.
"its negative.
else.
"its positive.So move accordingly
endif.Regards
Sajid
hi
here is the logic to identify the sign.
if var lt 0.
"its negative.
else.
"its positive.So move accordingly
endif.Regards
Sajid
2009 Jul 17 2:13 PM
Is this a joke. Check if, move and '=' statements from standard abap documentation
2009 Jul 17 2:16 PM
hi
here is the logic to identify the sign.
if var lt 0.
"its negative.
else.
"its positive.So move accordingly
endif.Regards
Sajid
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |