!--a11y-->
General Attributes 
General attributes are attributes that are valid for all Web items in Web applications.
The following general attributes are available:
Attributes |
Description |
Logical name of a Web item (ITEM or NAME) |
As well as the Web item key (ITEMID) that is assigned when the Web item is created in the Web Application Designer you also have to assign a logical name when using the Web item in the Web application. This enables you to use the same Web item several times in a Web application. If commands are sent to this Web item you always have to specify the name of the Web item as the parameter ITEM. SAP recommends that you keep to the conventions supported by the Web Application Designer when specifying names: The name should be a maximum of 30 characters long and consist of characters “A-Z”, “0-9” and “_”. It cannot start or end with “_”. Adhering to these conventions facilitates the upgrade to future SAP releases.
You cannot use a command-URL to change this attribute. |
Web item key (ITEM_ID) (option 1)
|
You create a Web item for a Web application based on a Web item setting that you have made in the Web Application Designer.
You cannot use a command-URL to change this attribute. |
Class name for the Web item class (ITEM_CLASS) (option 2) |
Name of the ABAP object class that generates the output. 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. The class name for the table is, for example, CL_RSR_WWW_ITEM_GRID |
Logical name of the Data Provider for the Web item (DATA_PROVIDER) |
You have to assign every Web item to (exactly) one data source. The Web item gets the data and metadata from this Data source that is needed to generate the output as well as commands. SAP recommends that you keep to the conventions supported by the Web Application Designer when specifying names: The name should be a maximum of 30 characters long and consist of characters “A-Z”, “0-9” and “_”. It cannot start or end with “_”. Adhering to these conventions facilitates the upgrade to future SAP releases. |
Height (HEIGHT) |
You can only specify the height in pixels.
This attribute is not used in tables. |

The parameters ITEMID and WBID (ITEM_WBID) used in BW 2.x are still supported. However, we recommend that you no longer use these.
In the BEx Web Application Designer, in the Properties area, you can set the following attributes in the Web Item tab page, under General:
Attributes |
Description |
Caption (CAPTION) |
You can enter a caption. If you do not enter a caption, then an appropriate value is suggested. |
Generate caption (GENERATE_CAPTION) 'X' = Yes, ' ' = No, 'BORDER' = Borders only
|
By activating this attribute ('X' = Yes), an additional row containing the Web item is generated in the table. The text you have entered under Caption is displayed in this table. If you choose Borders Only, a border is generated without any additional lines for the caption. In this way you are able to realize all border types that are available under the Border Type attribute, without generating a caption line.
The SAPBEXTableCaption style is used for the caption. |
Width in pixels (WIDTH) |
You can only specify the width in pixels. You can use the suggested width or determine a new width using Change Attribute...
Note that the Web browser automatically increases the widths of tables if the one you have chosen is too small. |
Border type (BORDER_STYLE) 'BORDER' = With border ‘NO_BORDER’ = Without border ‘FORM’ = Form |
Here, you can choose the following display types for the Web item: · With border Set as default value for table, generic navigation block, Alert Monitor, filter, text elements, menu, list of conditions, and list of exceptions.
The border is only displayed if GENERATE_CAPTION=X. · Without border Set as default value for maps, charts, and individual documents. · For form The content of the Web item is normally displayed with a blue background. Set as default value for document list, hierarchical context menu, label, dropdown box, radio button group, and checkboxes.
The standard value settings represent the recommended display type for the Web item. |
Closed (CLOSED) ‘X’ = Yes, ‘ ’ = No |
You can close the Web item (CLOSED=X): The Web item is not displayed. Only the caption still appears (if there is one) and the open/close symbol for this Web item. By clicking on the open/close symbol, you can make the Web item visible or invisible.
To be able to see the caption, you have to activate the attributes Generate Caption and Objects with Navigation Links. |
Hide object (HIDDEN) ‘X’ = Yes, ‘ ’ = No |
You can hide the Web item (HIDDEN=X): Although the Web item embedded in the Web template, it is not visible. The Web item and the caption with the open/close symbol are not shown. |
Objects with navigation links (GENERATE_LINKS) ‘X’ = Yes, ‘ ’ = No |
If you do not want the user of the Web application to be able to navigate within it or if you want the user to be able to print the display, and therefore the context menu is no longer to be displayed, then deactivate this function.
This attribute creates the open/close symbol, with which you can open or close the Web item. Behind this symbol is a link that calls up the Web application with the corresponding parameters. |
Web item controls different data providers (TARGET_DATA_PROVIDER_I) (optional) For many Web items, this attribute appears under the respective special attributes. These Web items obtain their data from a view. |
If a Web item is to control several data providers, for example, a navigation block, it can be expressed by this parameter. If it is not specified, the Web item always controls its own data provider. The values specified under this parameter are the logical names of the data providers, for example, references using wild cards. You do not have to specify the data provider belonging to the Web item. If it is missing, the Web item does not control its own data provider. The Web item output generation is always based on the item’s own data provider and does not include the others. The commands are forwarded to the target data provider. |