!--a11y-->
BAdIs for Use in Documents 
BAdIs for use in documents are used in the SAP Business Information Warehouse (BW) component, package RSOD KW Document Connection. You can find them in the BW Customizing Implementation Guide under SAP Business Information Warehouse ® BW Enhancements.
The following tables provide an overview of the BAdIs defined for use in documents and the corresponding methods:
You use this BAdI to access BW documents when saving and reading and make customer-specific changes. The individual methods support the following options:
BAdI |
Methods |
CHANGE_PROPERTIES |
Change properties of a document |
CREATE_PROPERTIES |
Create properties of a document |
DELETE_PROPERTIES |
Delete properties of a document |
STORE_CONTENT |
Write document content to a database |
SELECT |
Select documents (AWB or Web application) |
HIERARCHY_RESOLVE |
Control hierarchy resolution in reporting |
You use this BAdI to change HTML generated by the “Single Document“ Web item or to define it yourself. You use this BAdI to:
● Display further properties of the document (such as Last Changed By or Changed At) in the Web application.
● Display the content of the document.
● Add links or pushbuttons to change or create documents in the Web application.
Methods |
Description |
CHANGE_RENDERING |
Change output (HTML) |
You use this BAdI to change HTML generated by the “List of Documents“ Web item or to define it yourself. For example, you want to display documents with their content instead of just displaying links.
Methods |
Description |
CHANGE_RENDERING_CONTEXT |
Change context (the selection) |
CHANGE_RENDERING_FUNCTIONS |
Change output of the Additional Functions pushbutton |
CHANGE_RENDERING_LIST |
Change output of document list |
CHANGE_RENDERING |
Change entire output of item |
You use this BAdI to make customer-specific modifications to how documents are maintained on the Web. The following operations are supported:
● Activating version management of documents
● Filling the content of a new documents from a source document
● Determining the short text of a new document from the document property
● Hiding properties (such as InfoProvider or query)
● Preventing the creation of new documents (for example when there is already a document for this combination of characteristics).
Methods |
Description |
DETERMINE_VERSION_HANDLING |
Determine version handling on the Web |
BEFORE_RENDERING |
Option to change the document before displaying it |
The BAdIs can be used multiple times and are not filter dependent.
See also:
For more information, see the system documentation for interface methods.

In order to
display this documentation, you first have to branch to the interface by
double clicking on the interface name. On the Methods tab page of the
Class Builder, select the
Documentation for the method you
require.
