Hi
I am trying to use collect on an internal table.
My Code is as below:
SORT it_bsis BY bcode budat.
LOOP AT it_bsis WHERE tcode IN s_tcode
AND bcode IN s_bcode
AND blart IN s_blart.
it_bill-bcode = it_bsis-bcode.
it_bill-dmbtr = it_bsis-dmbtr.
COLLECT it_bill.
CLEAR it_bill.
ENDLOOP.
" Bcode is a character field...
But it is giving a dump. The error message is posted. Kindly advice.
The COLLECT statement stores totals in the internal table
"\PROG=ZRXYEFIXX_BILL_CODE_1\DATA=IT_BILL[]",
but the values are too large
for the type P field intended to store them.
The name of the field is "DMBTR".
I will ensure your efforts dont go in vain...