Show TOC Entering content frame

Function documentation Read Strategies Locate the document in its SAP Library structure

Use

How data is accessed can be determined using read strategies. The basic components of read strategies are read methods, which can be used to define the various ways in which data sets can be read. The read strategy determines the order in which the read methods are called.

Read strategies can therefore be used to define the sequence in which template data is read for business partners.

Features

SAP delivers one default read strategy for business partners. In this, the business partner’s own data is read before the template data. Reading a business partner’s own data is always the first step when data is retrieved using a read strategy. Since the business partner’s own data is considered the most specialized occurrence of the possible data sources, there is no read method for reading the business partner’s own data. This means that this behavior cannot be changed.

You can define your own read strategies and set the relevant strategy as the default strategy. Using your own read strategy allows you to implement your own read logic by defining your own read methods and business rules. The use of business rules provides a greater degree of flexibility in determining the conditions under which the data is read.

For example, you may define your read methods for business partner data as follows: 

     Read business partner’s own data

     Read template assigned to business partner

     Read data using the template determined by the rule engine

     When XX occurs, use template A

     When YY occurs, use template B

For more information, see in the Implementation Guide Business Partner ® Templates ® Enhancements ® Business Add-Ins (BAdIs) ® Read Access Using Template Framework.

 

Leaving content frame