Start of Content Area

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

Definition

The optional DATA_MODE parameter determines the data mode when calling up Web templates: You use this parameter mode to determine whether the system is to access HTML pages or data precalculated in the background. If this parameter is not specified, the system always sends requests to the OLAP processor and reads the current data.

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 it the required value.

Example

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

CMD=LDOC&TEMPLATE_ID=yourTemplate&DATA_MODE=STORED

For more information, see the help.sap.com/nw04 internet address SAP NetWeaver Information Integration SAP Business Information Warehouse BI Suite: Business Explorer BEx Web   Web Application Design: BEx Web Application Designer Command URLs Commands for Web Templates Call Web Template and Call 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 precalculated data. An error message is displayed if no data is available.

Caution

Note that you must use the URL to preassign the variables in the STORED mode. When using a query with variables, you need to add the same string to the URL that you used as a parameter string for the Reporting Agent setting.

Note

You can write a small cockpit application in which you compose the URL from the entry values of a selection list using an HTML <form> tag or JavaScript function. For more information, see the help.sap.com/nw04 internet address SAP NetWeaver Information Integration SAP Business Information Warehouse BI Suite: Business Explorer BEx Web Web Application Design: BEx Web Application Designer Using Formulas and Using JavaScript Functions.

Selection lists can be filled from a control query.

See also:

Control Query for Precalculating 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 precalculated data, provided that precalculated data is available for the data provider.

If no precalculated 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 precalculated HTML pages.

An error message is displayed if no data is available.

The following graphic shows the functions 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 precalculated HTML pages, provided that precalculated HTML pages are available for the Data Provider.

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

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

 

 

End of Content Area