Skip to Content

meaning of this error message and how to rectify.

Jun 23, 2017 at 04:46 PM


avatar image

select-options: reservno for RESB-rsnum.


select rsnum matnr bdmng meins enmng bdter from resb into table itab1 where rsnum in reservno.
if itab1[] is not initial.
select matnr maktg from makt into table itab2 for all entries in itab1 where matnr = itab1-matnr.
loop at itab1 into wa_itab1.
read table itab2 into wa_itab2 with key matnr = wa_itab1-matnr.
if sy-subrc eq 0.
wa_itab1-maktg = wa_itab2-maktg.
Modify itab1 from wa_itab1 transporting maktg.

the code show this error msg=

error msg=The database field or the result type of the aggregate function MATNR and the component "RSNUM" of "ITAB2" are not compatible.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Ankita Verma Sep 20, 2017 at 09:19 AM

This Error is coming because structure is not correctly defined before this code.

10 |10000 characters needed characters left characters exceeded