Hi,
Total may have more number of digits than EKKO-ZBD1P.
Change the data type of totals as shown below.
DATA: BEGIN OF IT_EKKO OCCURS 0,
LIFNR LIKE EKKO-LIFNR,
LPONR LIKE EKKO-LPONR,
ZBD1P type p DECIMALS 3,
ZBD2P type p DECIMALS 3,
END OF IT_EKKO.
Pls close the thread if your error is cleared.
Regards,
Ananth