Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg : Data Length

Former Member
0 Likes
432

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

3 REPLIES 3
Read only

Former Member
0 Likes
411

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

Read only

former_member609120
Contributor
0 Likes
411

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

Read only

Former Member
0 Likes
411

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) ,