Custom Extension Web Item
Application Context
Web designers and ABAP programmers can use the Custom ExtensionWeb item to create highly individualized Web applications. This Web item makes it possible to display information based on the current navigational state or the result set of a data provider.
ABAP function modules can be read to read data from other sources, while data from other SAP systems can be read using Remote Function Calls (RFC). The status of a data provider can also be used as input parameters when calling the ABAP function modules.
You can use the Custom ExtensionWeb item to add your own HTML, based on a data provider or independently. You can also use this Web item to insert JavaScript into Web templates.
Features
- You can use the CustomExtensionWeb item for any of the following purposes:
- Implementation of an ABAP class that displays HTML, JavaScript or PDF (for export to a PDF file)
- Using the current navigational state (including any variables) and/or the result set of one or more data providers
- Using Web item parameters defined in the Web template; these parameters can be changed using commands
- Displaying all information that can be called using ABAP and Remote Function Calls (RFC), like information from databases or other SAP systems
Process Flow
- To use the Custom Extension Web item, work through out the following steps.
- Create an ABAP class for the Custom Extension Web item
- Create a Web template that you can integrate the Custom ExtensionWeb item into.
- Specify the ABAP class as a parameter of the Custom Extension Web item.
More information:
- Creating an ABAP Class for the Custom Extension Web Item
- Inserting a Custom Extension into a Web Template
Examples
- You can learn more about using the Custom ExtensionWeb item from the following examples:
- Simple Example: Displaying a Simple Text and Parameters
- Complex Example: Displaying the XML of Two Data Providers
- Calling a BSP Page Specifying the Data Provider Status