Hi Gurus,
Please check the below coding.
IF wa_t_history-db_cr_ind EQ 'H'.
-
> wa_t_history-val_loccur = wa_t_history-val_loccur * - 1.
wa_t_history-val_forcur = wa_t_history-val_forcur * - 1.
wa_t_history-quantity = wa_t_history-quantity * - 1.
ENDIF.
see in the second line i marked by arrow.
wa_t_history-val_loccur = wa_t_history-val_loccur * - 1.
can u please tell me what is the meaning of * - 1.