Show TOC

BAdIs for Use in DocumentsLocate this document in the navigation structure

Definition
Use

BAdIs for use in documents are used in the SAP Business Information Warehouse (BW) component, package RSOD KW Document Connection. You find the SAP Customizing Implementation Guide (IMG) under Start of the navigation path SAP NetWeaver Next navigation step Business Warehouse Next navigation step BW Enhancements Next navigation step BAdIs for Document Enhancements Next navigation step BAdI for Documents End of the navigation path.

Caution

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:

BAdI for Documents (RSOD_DOC_BADI)

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 (DW Workbench or Web application)

HIERARCHY_RESOLVE

Control hierarchy resolution in reporting

BAdI for "Single Document" Web Item (RSOD_ITEM_DOC)

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 to change or create documents in the Web application.

Method

Description

CHANGE_RENDERING

Change output (HTML)

BAdI for "List of Documents" Web Item (RSOD_ITEM_DOC_LIST)

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.

Method

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

BAdI for Maintaining Text Documents on the Web (RSOD_WWW_DOC_MAINT)

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).

Method

Description

DETERMINE_VERSION_HANDLING

Determine version handling on the Web

BEFORE_RENDERING

Option to change the document before displaying it

Default Settings

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 Documentationfor the method you require.