Entering content frame

Background documentation Updating of Change Pointers and Document Indices Locate the document in its SAP Library structure

Change pointers, and in some applications document indices for the created documents, are used as source data for adjusting documents in line with condition changes.

Change pointers

When you save changed conditions, specific change pointers that indicate the type of change are updated to database table BDCP. In addition to technical data, the table also stores the user name of the person who changed the data, and when the change occurred.

Note

For updating change pointers there is no difference in creating new conditions, or changing existing ones.

The following settings must be maintained so that these change pointers can be updated:

In the standard system, table TBD62 already contains all the entries for the types of condition changes that are needed for document adjustment. Therefore, it is not usual to make changes in this table. You can call the maintenance of this setting in Customizing for the relevant application.

This graphic is explained in the accompanying text

Document indices

As well as change pointers, document indices also have a role to play in document adjustment in the application areas Purchase order and Pricing. Once saved, these document indices are updated to the relevant document in table S111 based on application-specific Customizing.

Note

Table S111 is also used for Subsequent settlement. Entries for this application area are indicated by the letter E in the field S111-KVEWE.

The document indices contain information as to the conditions upon which the document is structured. Using this information, the system can quickly determine the documents affected by condition changes. Document indices are therefore a connecting link between documents and their underlying conditions.

Purchase orders and sales price calculations can be based on many conditions of different types. However, there are two reasons why analyzing condition changes for all condition types is not always useful. As document adjustment is a very time-consuming process, if all condition types are included then the performance of the programs in question can be severely affected. In addition, from a business point of view, it is neither necessary nor desirable to take all changes into account, because some condition changes have, for example, no particular effect on price determination, or necessitate very frequent document adjustment.

In Customizing for both these applications you can therefore enter which condition types should be taken into account in change analysis (table T6I1). For each condition type, you must also specify the condition tables you want and the condition origin. Document indices are only written to the condition types entered here.

 

The difference between both application areas in Customizing tableT6I1 and for the document indices (table S111) is made through the document category.

Document

Document Category

Purchasing documents

01

Pricing Documents

10

For more information see Worklist Generation.

Updating document indices to calculation documents can be controlled using Customizing and the Business Add-In (BAdI) SPC_DOCINDEX_CONTROL. The BAdI is used as a filter for the document indices that are to be created on the basis of the pricing worklist settings in Customizing. You can therefore exclude all, or individual document indices from the update.

Example

No document indices should be created when you are pricing perishable articles, as the pricing worklist function is not used for these articles. This is because the purchase and sales prices change very regularly for perishables.

 

This graphic is explained in the accompanying text

Leaving content frame