Show TOC

Reading AccessLocate this document in the navigation structure

Use

When implementing the business logic of business object entities, you may need to read node instance data. For example, a consistency validation must read the node instance data corresponding to the node instance keys that have been handed over to check certain attributes. Business Object Processing Framework (BOPF) supports reading access of business object instances with the help of an access object, which is provided as importing parameter. It implements the /BOBF/IF_FRW_READ interface, which provides the following methods:

Method

Description

RETRIEVE

Returns the target node instance data of the requested node instances

RETRIEVE_BY_ASSOCIATION

Follows an association to retrieve node keys and data

CONVERT_ALTERN_KEY

Converts one (alternative) key into another (alternative) key.

GET_ROOT_KEY

Returns the keys of the root node instances of the node instance keys that have been handed over.

COMPARE

Compares the current and previous image of node instances IT_KEY of node IV_NODE. The result is passed as a change object. If required (IV_FILL_ATTRIBUTES = true), the attributes of the node instances are also compared and the result is written into the change object. The scope defines whether just the node is specified or the complete subtree is compared (only supported on root nodes and not for delegated objects).

More Information

For more information about these methods. see the interface documentation of the /BOBF/IF_FRW_READ interface.