SAP® Documentation

Single view

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

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
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.






BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1637 Date: 20190618 Time: 185151     sap01-206 ( 24 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.