BAdIs for Use in Documents

Use

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 Start of the navigation pathSAP NetWeaver Next navigation step Business Intelligence Next navigation step BI Enhancements Next navigation step BAdIs for Document Enhancements Next navigation step BAdI for Documents.End of the navigation path

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

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 for changing or creating documents in the Web application

    Methods

    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.

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

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

Default Settings

The BAdIs can be used multiple times and are not filter dependent.

More Information:

For more information, see the system documentation for interface methods.