Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Fields in internal table

Hi friends

I have a silly question. Is there any limit to number of fields in internal table. If yes whats the number and what is the best way to declare internal table and what type of internal table would be suggested?. My internal table would be using multiple structures to make up an input file format with 150 fields.

Cheers

Satya

Former Member
Former Member replied

Satya,

I don't know the limits, but I am sure you can easily define an internal table with more than 150 fields.

The way you could have tested this yourself without having to post a message is by quickly creating a test program and define an internal table LIKE BSEG. This table has close to 300 fields.

The real limiting factor is total memory space - which is width * height. So, the wider the itab is the fewer the number of records your program can hold. (Note that total width is number of columns * average width of the column.)

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question