Entering content frame

Object documentation Text Elements Locate the document in its SAP Library structure

Definition

Web item that displays the text elements for a query view in a Web application.

Use

The Web item This graphic is explained in the accompanying text Text Element provides information on the query, on which the query view, and therefore the Web application, is based. You can also select text elements individually.

Structure

The text elements are similar to the text elements in the BEx Analyzer and are made up of the following parts:

·        general text elements:

-         technical name of the query (REPTNAME)

-         description of the query (REPTXTLG)

-         InfoProvider (INFOCUBE)

-         key date for the query (SRDATE)

-         validity of the data (date and time) (ROLLUPTIME)

-         the person who wrote the query (AUTHOR)

-         the last time the query was changed (date and time) (MODTIME)

-         the last person to make changes to the query (MODUSER)

-         current user (SYUSER)

-         the last time the query was refreshed (date and time) (SYUZEIT)

·        Variables

·        static filter values

As well as its general attributes, the Text Elements Web item has the following attributes:

Attributes

Description

Display general text elements (SHOW_COMMON_ELEMENTS)

‘X’ = Yes, ‘  ’ = No

If you activate this attribute, the common text elements are displayed.

Display static filter values (SHOW_FILTERS)

‘X’ = Yes, ‘  ’ = No

If you activate this attribute, the filter values that you determined in the filter area of the query definition are displayed.

Display variable values (SHOW_VARIABLES)

‘X’ = Yes, ‘  ’ = No

If you activate this attribute, the variable values for the query (on which the Web application is based) are displayed.

List of text elements (ELEMENT_NAME_N)

 

By listing the text element names in combination with their type ELEMENT_TYPE_N, you are able to determine which entries appear as text items and the order in which they appear. With general text elements the name corresponds to one of the values listed above (under General Text Items). With variables the name corresponds to the variable name, and with filters the name corresponds to the name of the characteristic.

Note

If you do not specify this parameter, all the filtered characteristics and filtered structures are displayed.

List of the types of text elements (ELEMENT_TYPE_N)

Note

Both attributes, List of Text Elements (ELEMENT_NAME_N) and List of Text Element Types (ELEMENT_TYPE_N), are addressed in the Web Application Designer in the Element List (ITEM_LIST) attribute that lies below.

 

See above: List of Text Elements

COMMON = General text element

FILTER = Static filter value

VARIABLE = Variable value

VARIABLE_KEY = Key for variable value

List of elements

(ITEM_LIST)

This attribute contains a list of text elements with type and name. You can choose the type of text element from the list or enter the name of the item manually.

Only display values

(ONLY_VALUES)

‘X’ = Yes, ‘  ’ = No

If you activate this attribute, the values for the text elements are displayed without any labeling, and the formatting is separated by semi-colons.

The combination of ONLY_VALUES=X, ITEM_TYPE =COMMON, and ITEM_NAME=REPTXTLG, makes it possible to access a text element directly in the Web template, here for example, the query name. The name is used in a title, for example.

Example

Display of validity of data, filter value for cost center and values for 2 variables

<object>

<param name='OWNER' value='SAP_BW'>
<param name='CMD' value='GET_ITEM'>
<param name='ITEM' value='Text'>
<param name='ITEM_CLASS' value='CL_RSR_WWW_TEXT_ELEMENTS'>
<param name='ELEMENT_TYPE_1' value='COMMON'>
<param name='ELEMENT_NAME_1' value='ROLLUPTIME'>
<param name='ELEMENT_TYPE_2' value='FILTER'>
<param name='ELEMENT_NAME_2' value='0COSTCENTER'>
<param name='ELEMENT_TYPE_3' value='VARIABLE'>
<param name='ELEMENT_NAME_3' value='myFirstVariable'>
<param name='ELEMENT_TYPE_4' value='VARIABLE'>
<param name='ELEMENT_NAME_4' value='mySecondVariable'>
<param name='DATA_PROVIDER' value='MyDataProvider'>

ITEM :Text

</object>

 

 

 

Leaving content frame