BAdIs for use in documents are used in the SAP Business Information Warehouse (BW) component, package RSOD KW Document Connection. You find them in the SAP Customizing Implementation Guide (IMG) under SAP NetWeaver → Business Intelligence → BI Enhancements → BAdIs for Document Enhancements → BAdI for Documents.
Note that BAdIs are only supported for documents on the server (BEx Web runtime, ABAP). They are not supported for documents in BEx Web runtime (Java).
The following tables provide an overview of the BAdIs defined for use in documents and the corresponding methods:
You use this BAdI to access BI documents when saving and reading, and to 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 the database |
SELECT |
Select documents (DW Workbench 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 additional properties of the document (such as Last Changed By or Time Changed) in the Web application
● Display the content of the document
● Add links or pushbuttons for changing or creating 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 output of the 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 new documents from a source document
● Determining the short text of a new document from the document properties
● 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.
More Information:
For more information, see the system documentation for interface methods.
To display this documentation, you first have to branch to the interface by double-clicking the interface name. On the Methods tab page of the Class Builder, choose the Documentation for the method you require.