SAP® Documentation

Single view

/SCMTMS/CL_GENERIC_BOPF_BUFFER - Helper class for generic fast table access

Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This class is used to buffer any table and maintain any access key to the buffered data at runtime.

There exist 3 methods which enable this:

- WRITE_BUFFER
Write the content of any table into the buffer and simultaniously build up an access tree with the given key information.

- READ_BUFFER
Read data from the buffer of any table, that has been stored with WRITE_BUFFER with an arbitrary key at runtime.

- DELETE_BUFFER
Delete data from a buffer. This may be the whole buffer (i.e. all buffered tables), one buffered table or one or more records from a buffered table.

Relationships

Example

Notes

Further information

There exist 2 class tables which store the whole buffered data.

- MT_TABLE_DATA
This table contains the all buffered tables. Every record in this table contains the structure name of the buffered table and a link to the data of the table.

- MT_TABLE_KEYS
This table contains the all access trees to the buffered data. Every record in this table contains the structure name of the buffered table, a key number, the key segments related to the key number and a sorted table with records of concatenated data fields according to the given key segments and the corresponding pointers to the data record.

With this data model it is possible to have always an O(logn) access to a data record with any at runtime defined access key.






PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1637 Date: 20190616 Time: 085548     sap01-206 ( 9 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.