Skip to Content
0
Former Member
Jan 16, 2012 at 05:50 AM

Re: data type mismatch

47 Views

Hi expert,

I have declare two structure from table k8100009 and table mara and taking matnr as key field for joining in table

k810009 matnr is refer by field name as artnr and in mara it is matnr.The error i am getting is data type and length should be same.

types: begin of ty_k8100009,

artnr type k8100009-artnr,

end of ty_k810009.

types: begin of ty_mara,

matnr type mara-matnr,

end of ty_mara.

when joining two table using for all entries

for ALL ENTRIES IN lt_mara

where artnr = lt_mara-matnr " here i am getting error

can any one throw some light on this.

Regards,

Addu

Moderator Message: Asking of the same question from a different ID will invite deletion of both IDs. FINAL warning for both accounts. If these basic questions and RoE violations continue, then both IDs will be deleted.

Reference thread: Re: table k810009 Joining

Edited by: kishan P on Jan 16, 2012 11:30 AM