Start of Content Area

Object documentation Parameter DATA_MODE Locate the document in its SAP Library structure

Definition

The optional parameter, DATA_MODE, determines the data mode that is used when Web templates are called. The modes of this parameter determine whether the system accesses HTML pages or data that has been precalculated in the background. If this parameter is not specified, requests are always sent to the OLAP processor, and the most current data is read.

Use

To call up a Web template with a particular data mode, add the DATA_MODE parameter to the URL generated by the BEx Web Application Designer, and assign the required value to it.

Example

http://your AppServer:yourPort/SAP/BW/Bex?

CMD=LDOC&TEMPLATE_ID=yourTemplate&DATA_MODE=STORED

You can find additional information under Structure linkCalling Up Web Templates and Structure linkCalling Up Parameterized Web Templates.

Structure

Data mode DATA_MODE=NEW

When you add the DATA_MODE=NEW parameter to the URL, the system uses the most current data. The system uses the most current data even when this parameter is not set.

The graphic below illustrates the function of the DATA_MODE=NEW data mode:

This graphic is explained in the accompanying text

Data mode DATA_MODE=STORED

When you add the DATA_MODE=STORED parameter to the URL, the system only accesses pre-calculated data. An error message is displayed if no data is available.

Caution

Note that you must use the URL to pre-assign the variables in the STORED mode. If you use a query with variables, you must add to the URL the exact same string that you used as a parameter string in the Reporting Agent setting.

This graphic is explained in the accompanying text

To do this, you can write a small cockpit application, in which you use an HTML-<form> tag or a Java Script function to compile the URL out of the entry values from a selection list. You can find additional information under Structure linkUsing Formulas and Structure linkUsing JavaScript Functions. Selection lists can be filled from a control query.

See also:

Control Query for Pre-Calculating Web Templates

The graphic below illustrates the function of the DATA_MODE=STORED data mode:

This graphic is explained in the accompanying text

Data mode DATA_MODE=HYBRID

When you add the DATA_MODE=HYBRID parameter to the URL, the system uses pre-calculated data, provided that precalculated data is available for the Data Provider.

If no pre-calculated data is available, the system requests current data from the OLAP processor, as in the NEW mode.

Data mode DATA_MODE=STATIC

When you add the DATA_MODE=STATIC parameter to the URL, the system only accesses pre-calculated HTML pages.

An error message is displayed if no data is available.

The graphic below illustrates the function of the DATA_MODE=STATIC data mode:

This graphic is explained in the accompanying text

Data mode DATA_MODE=STATIC_HYBRID

When you add the DATA_MODE=STATIC_HYBRID parameter to the URL, the system uses pre-calculated HTML pages, provided that pre-calculated HTML pages are available for the Data Provider.

If no pre-calculated HTML pages are available, the system searches for pre-calculated data, as in the STORED mode. 

If no pre-calculated data is available, the system requests current data from the OLAP processor, as in the NEW mode.

 

 

End of Content Area