Application Development 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: 

Doubt with the lengths

former_member582701
Contributor
0 Kudos

Hi all,

I have an stupid doubt with the quantum lengths beetwen: domain, lenght table and length idoc.

Example:

table LIPS field LFIMG: length = 13

Domain of LFIMG = MENG13 = 13 chars 3 decimals and 17 as output length

Segment E1EDL24 field LFIMG: export length = 15

13, 15, 17?? How i have to interpret this?

Regards,

Manel

1 ACCEPTED SOLUTION

matt
Active Contributor
0 Kudos

Well, the 13 refers to the length of the data as stored in the data base. I.e. LFIMG takes up 13 bytes in a record from LIPS.

The 17 says that when you display the number in output form, the maximum length displayed is 17.

The 15 is a character field. It is the maximum length of the quantity in output form, that can be put into the segment.

This does mean that if your quantity in LIPS is above a certain value, it won't fit into the segment.

matt

3 REPLIES 3

matt
Active Contributor
0 Kudos

Well, the 13 refers to the length of the data as stored in the data base. I.e. LFIMG takes up 13 bytes in a record from LIPS.

The 17 says that when you display the number in output form, the maximum length displayed is 17.

The 15 is a character field. It is the maximum length of the quantity in output form, that can be put into the segment.

This does mean that if your quantity in LIPS is above a certain value, it won't fit into the segment.

matt

0 Kudos

Hey matthew,

Thanks for your answer but i don't understand that all three are using same Element Data (LFIMG) with same Domain (MENG13) and idoc for example has a length of 15 instead of 13 or 17.

Regards,

Manel

matt
Active Contributor
0 Kudos

LFIMG in segment E1EDL24 on my system, as viewed through SE11, has no domain associated with it. It is directly set to CHAR 15.

matt