Fields in internal table
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.
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.)