Hi Mazal,
Try this,
Loop at it_erdk into wa_erdk.
If wa_erdk-total_amount LT '0'.
wa_erdk-total_amount EQ '0'.
modify it_erdk from wa_erdk.
endif.
endloop.
The above code will change the total amount value to '0', if it is less than '0'.
Hi Mazal,
Try this,
Loop at it_erdk into wa_erdk.
If wa_erdk-total_amount LT '0'.
wa_erdk-total_amount EQ '0'.
modify it_erdk from wa_erdk.
endif.
endloop.
The above code will change the total amount value to '0', if it is less than '0'.