Entering content frame

Function documentation Resetting and Reinitializing Web Items Locate the document in its SAP Library structure

Use

You use this command to reinitialize an existing Web item. The Web item is recreated according to the parameters and is given the data provider and the logical name of its predecessor. This allows you, for example, to create a graphic easily from a table without having to create both objects in the Web template.

Note

You can use this command to create almost every kind of Web item. The Map Web item is however an exception. Map Web items cannot be created consistently using this command.

Features

CMD

RESET_ITEM

Parameter

Description

ITEM

Name of the Web item that is to be reinitialized.

ITEM_CLASS

Name of the ABAP object class that generates the output.

The class name for the Web item Table is, for example

CL_RSR_WWW_ITEM_GRID

or

CMD

RESET_ITEM

Parameter

Description

ITEM

Name of the Web item that is to be reinitialized.

ITEM_ID

Technical name of a library Web item

In order to overwrite individual attributes of the Web item to be reinitialized you can enter them as parameters.

 

Example

Conversion of Web item “item1” to a Web item table without alternating rows:

<SAP_BW_URL ITEM='Item1' CMD='RESET_ITEM' ITEM_CLASS='CL_RSR_WWW_ITEM_GRID' ALT_STYLES=''>

Conversion of the Web item “item1” to a pre-defined Web item Chart.

<SAP_BW_URL ITEM='Item1' CMD='RESET_ITEM' ITEM_ID='myChart'>

When combined with a dropdown box (as HTML form), you can display several charts in one place by leafing through the dropdown box. You can find an example of this in the standard Web template for the Ad-hoc Analysis (subtemplate 0ADHOC_CHARTS).

 

Leaving content frame