/BOBF/CL_DAC_GENERIC - Configuration: Database Access
CL_GUI_FRONTEND_SERVICES - Frontend Services ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
Generic data access class based on the BOBF meta model (persistency part). The class can be used toaccess the data on the database on node level. Also supported are multiple nodes on the same database table (in the same record and as different database records).
The generic data access class supports partial loading of compositions as well as all node-related queries and an optimized access for CONVERT_KEY_TOP_NODE_ID.
Relationships
To use the generic data access class the internal model as well as the underlying databse tables needto be maintained in the BOBF meta model. If your attributes on the database do not correspond to the attributes in internal model the persistency attribute mapping needs to be maintained in addition.
If the same database table is used for different nodes in the case of separate database record the NODE_KEYhas to be primary key attribute of the database table. In this case the persistency attribute mapping is mandatory.
Example
The generic data access can be used very early for prototyping but still operating on the final databasetables. If the performance requirements are not met the generic class can be replaced by a plain implemented class (which might also be generated from the meta model).
Notes
If you run into exceptions in the generic data access class most probably there is an error in your meta model.
Further information
General Data in Customer Master CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 1492 Date: 20120526 Time: 050447 triton ( 102 ms )






