03-11-2008 5:24 AM
Hi all ,
In the table tadir where thers is field called obn_name its length is Char 40.
& im using for all entries with table modsap where the name length is Char 08.
when i try to use for all entires for the above 2 table 's
its giving error like this .
when using the addition 'for all entries in itab"the fields "NAME" & " ITAB-OBJ_NAME must have same length.
How to resolve this ???
Regs,
Murthy
03-11-2008 5:27 AM
Hi
It will work only if both the fields are having same value. You can do one thing you can supress the unwanted 0's from begining of field if any.
Regards
Aditya
03-11-2008 5:28 AM
That is because in for all entries, the where condition..whatever fields you are comparing must be compatible with each other..i.e they should have the same length,data type
03-11-2008 5:38 AM
Hi,
If your data length in internal table does not have the more than 8 chars length then make your internal table field length as 8chars
OBJ_NAME(8) ,