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: 

maximum field length of custom infotype

Former Member
0 Kudos

I would like to know the maximum length of fields permitted while creating custom infotypes.I have to create a field of 200 characters in a custom infotype.but while activating the infotype the systrm displays a message that field was too long and has been shortenend to 132 characters.

Kindly send your solution asap with details...Kajal

2 REPLIES 2

andreas_mann3
Active Contributor
0 Kudos

Hi Asad,

i think it's 132 (defined and vis. length)

for maintain table views (SM30)

grx Andreas

ssimsekler
Active Contributor
0 Kudos

Hi Asad

It is a limitation of database table creation valid for all transparent tables. However, you can add fields of type LCHAR. You should be aware that you must add a field of type 'INT2' just prior to that LCHAR field which stores the LCHAR field length. And I hope HR programs can handle it. Just give a try and see. If the result is negative, then you have to store those values in another table which has the same keys with the infotype and you have to modify the infotype program to provide data retrieval and update properly in relation with the new table.

For the infotypes, there is also a total length limitation. This is not explicitly checked as far as I know, however you will get errors when you use infotypes having length more than X since HR programs and routines are coded so. I can not remember the number X. But I guess it should be between 1800 or 2400 (except the standard infotype header (PAKEY)).

Hope this much helps...

*--Serdar