Skip to Content
0
Dec 05, 2006 at 05:10 PM

How to load an internal table in memory ?

469 Views

Hi everybody

I have created a routine for some movements (MC1N) to associate it to a Info Structure (MC25). In this routine i use a SELECT command to load some few records to an internal table. This records are Not-Depend to user, these are records related to some system user configutarion data, that is are data created by the user but are the same data for all users in same Client (MANDT).

The problem is that when i activate the formule, this says my routine use a SELECT , it's a warning, but says i should avoid this. And it recommends me to load the data in some communication structure to do not access the BD every time the routine is used.

Does somebody knows How can i load an internal table in memory so the routine only use the SELECT the first time to load the data to memory, so all the next times just read the internal table data from memory ?

Thanks in advanced

Frank