Object documentation Object Tag for the Properties of Web Templates Locate the document in its SAP Library structure

Definition

Object Tag for defining the properties of Web templates.

Use

The attributes of a Web template can be defined in an object tag. In addition to the Web template attributes listed below, all of the context menu properties also belong. These properties can also be transferred with URL when calling up the Web template.

Note

Parameter 'CMD' must be set to 'SET_PROPERTIES' to indicate that these are the attributes of the Web template.

Properties

Description

TEMPLATE_ID

Name of the Web template

Name under which you stored the Web template in the Web Application Designer.

STATELESS (optional)

‘X’ = Yes, ‘  ’ = No

Status-Free Navigation

For Web templates that are used almost exclusively for display without further navigation, it is more useful to set the attribute STATELESS. The session on the application server is terminated when the Web template is created. This saves resources on the application server.

Note

If this attribute is not specified, it is assumed that the page is still needed for navigating.

 

USE_PERSONALIZATION (optional)

'X' = Yes, '  '  = No

Use Personalized Web Template, if Available

If the parameter is set to ‘X’, the personalized Web template for the current user is used. If personalization does not exist for the Web template or the parameter is not set, the Web template is executed without personalization.

STYLE_SHEET (optional)

Path for a stylesheet that you want to use to display the Web template.

This overwrites any stylesheet that you may have already assigned.

Example
Example for a path specification:

/sap/bw/mime/BEx/StyleSheets/Meadow_BWReports.css

JAVASCRIPT (optional)

’X’ = activate, ‘    = do not activate

Using JavaScript

Using this parameter, you ensure that Web applications are created using JavaScript (extensive interaction options) or suppress the use of JavaScript (restricted interaction).

Note

If this attribute is not transferred, JavaScript is activated automatically in Web browsers of version >=4.0.

 

SNIPPET_OPERATIONS (optional)

’X’ = activate, ‘    = do not activate

Reload changed components of the page

You use this attribute to control whether only changed objects are loaded in navigation. This function has higher Web browser requirements. For this reason, this function is only supported by MS Internet Explorer version >=5.0.

Note

If this attribute is not transferred, loading is activated automatically for the suitable Web browsers.

 

ENABLE_OPEN_WINDOW (optional)

’X’ = activate, ‘    = do not activate

Open Dialogs in New Windows

Using this attribute, you can control whether a new browser window is opened, for example, for the properties dialog box or for filtering. If this attribute is not specified, new windows are opened (if supported by the Web browser).

VARIABLE_SCREEN (optional)

‘X’ = activate variable screen, ‘  ’ = do not activate, if possible

Force Variable Screen Display

If you call up a Web template that has query views containing variables that are ready for input, you can use these attribute to display the variable screen. If you do not set this attribute, or set it to ‘  ’, the variable screen is hidden, wherever possible. However, it is still shown if, for example, the required variables that are ready for input have not yet been filled.

MELT_VARIABLES (optional)

‘X’ = merge, ‘  ’ = display each query individually

Display Same Variable(s) Only Once

The same variables for different queries are only displayed once.

If you call up a Web template containing several query views that have variables that are ready for input and you go to the variable screen display, you can determine, through these parameters, whether variables, which are used in all query views and in the same context (same compounding, same initial value), are to be provided for input only once.

If the variables correspond to different InfoProviders, then the input help is automatically read from the master data table.

VARIABLES_CLEAR (optional)

‘X’ = reset variable, ‘  ’ = do not reset

Reset Variables to Default Values

If you call up a Web template that contains one or more query views that have variables that are available for entry, you can specify this attribute to reset the default variables through the query view. Afterwards, the variables have the default settings from the variable definition.

SUPPRESS_WARNINGS (optional)

‘X’ = do not display warnings, ‘  ’ = display warnings

Do Not Display Warnings

With this attribute, warnings are not displayed. Terminations are still displayed.

SUPPRESS_SYSTEMMESSAGES (optional)

‘X’ = do not display system messages, ‘  ’ = display system messages

Do Not Display System Messages

With this attribute, system messages are not displayed.

DATA_MODE (optional)

‘NEW’ = use current data

‘STORED’ = Use precalculated data

‘HYBRID’ = use precalculated data; request current data if this is missing.

‘STATIC’ = use pre-calculated HTML pages

‘STATIC_HYBRID’=  use pre-calculated HTML pages. If there are none, search for pre-calculated data; if nothing found, request current data.

Read Mode for Data

If you do not specify this attribute, a request is without exception sent to the OLAP processor and the current data is read.

For the modi ‘STORED’ and ‘HYBRID’, data has to be precalculated using the Structure linkReporting Agent.

See Structure linkDefining the Web Templates Setting.

DEVICE_OPTIMIZATION

Output Optimization (Device-Dependent)

By selecting this attribute, you bring about an automatic, device-specific optimization of Web item settings at runtime (for example, chart size for PDAs).

USE_PAGE_WRAPPER

Automatic Session Management

If you select this attribute, the resources are automatically released to the server. You can find additional information about this attribute under Determining Properties for a Web Template.

RRI_DISPLAY_TARGET

Standard setting: menu barRRI

Show Jump Target In

With this attribute you can control the RRI jump from the context menu.

When the standard setting is selected, the RRI jump takes place in a window with a menu bar.

If you do not make an entry, the RRI jump always takes place using a new window.

If you enter a frame name, the RRI jump takes place in this frame.

If you enter the name of an existing window, the RRI jump takes place in the window with the specified name.

 

Examples

The Web template should appear with variables entry

<object>

   <param name=’OWNER’ value=’SAP_BW’>
   <param name='CMD' value='SET_PROPERTIES'>
   <param name='VARIABLE_SCREEN' value='X'>
</object>

Context menu should not contain an enhanced menu

<object>

   <param name=’OWNER’ value=’SAP_BW’>
   <param name='CMD' value='SET_PROPERTIES'>
   <param name='MENU_ENHANCED' value=' '>

</object>

 

The following, additional attributes for setting data providers or special data providers / Web items are usually set only in conjunction with command URLs for calling up Web templates. However, they can also appear statically in the object tag. The index in the parameter is indicated in the following by '_I'.

Displaying a query      

Properties

Description

INFOCUBE

Technical name of the InfoProvider

QUERY

Technical name of the query

VARIANT (optional)

Variant, if you are not required to enter a variable.

 

Display of another query view

Properties

Description

DATA_PROVIDER_ID

Technical name of the saved query view

VARIANT (optional)

Variant, if you are not required to enter a variable.

Recommendation

The attributes PAGEID and WBID that are used in BW 2.x are supported for the Web templates created under BW 2.x. However, we recommend that you no longer use these.

Attributes for overwriting the data provider initialization

Properties

Description

SET_DATA_PROVIDER_I

Logical name of the DataProvider

Name of the data provider for which you want to set a new initialization.

INFOCUBE_ I (Option 1)

Technical name of the InfoProvider

QUERY_ I (Option 1)

Technical name of the query

DATA_PROVIDER_ID_ I (Option2)

Technical name of the saved query view

VARIANT (optional)

Variant, if you are not required to enter a variable.

Attributes for overwriting the Web item initialization 

Properties

Description

SET_ITEM_I

Logical name of the Web item

Name of the Web item for which you want to set a new initialization.

ITEM_ID_I (Option 1)

Web item key

A Web item is created for a Web template on the basis of a Web item setting made in the Web Application Designer.

ITEM_CLASS_I (Option 2)

Class name of the Web item class

Name of the ABAP object class that output generation transfers. This corresponds to the use of non-reusable Web items (standard Web items) in the Web Application Designer. Web items are created with the default values for the attribute.

Der Klassenname für die Tabelle ist z.B. CL_RSR_WWW_ITEM_GRID.