Get Example source ABAP code based on a different SAP table
Object Services to Release 7.00
1 Loading several persistent objects 2 Query service
ABAP_MODIFICATION_1 Loading several persist objects
The interface IF_OS_CA_PERSISTENCY of the persistence service contains (since Release 7.0) the methods GET_PERSISTENT_BY_OID_TAB, GET_PERSISTENT_BY_KEY_TAB, and GET_PERSISTENT_BY_QUERY to be able to retrieve more than one persistent object at once from the database and to create the appropriate runtime objects in the ABAP program.
ABAP_MODIFICATION_2 Query service
Since release 7.0, the object services offer a query service to search and load persistent objects from the database.