Show TOC Entering content frame

Function documentation Specifying Properties for Web Templates Locate the document in its SAP Library structure

Use

With this JavaScript function you can specify properties for Web templates. See also Object Tag for Properties of Web Templates. For example, you can specify a technical name for the Web template or decide if dialogs need to be displayed in a new window.

Features

JavaScript Function

SAPBWGetProperty

Parameter

Description

Name

Name of Web Template Property

SUPPORTS_OPEN_WINDOW: Are you permitted to open new windows? (true, false)

SUPPORTS_DOCUMENTS: Can document links be displayed? (true, false)

SUPPORTS_EXPORT: Is an export according to XLS/CSV possible? (true, false)

SUPPORTS_PERSONALIZATION: Is personalization possible? (true, false)

TEMPLATE_PERSONALIZED: Is the Web template already personalized? (true, false)

NO_BOOKMARKING_SUPPORTED: Are bookmarks impossible? (true, false)

SUPPORTS_VARIABLE_SCREEN: Is a variable screen possible? (true, false)

DATE_FORMAT: Date format (1: DD.MM.YYYY, 2: MM/DD/YYYY, 3: MM-DD-YYYY, 4: YYYY.MM.DD, 5: YYYY/MM/DD, 6: YYYY-MM-DD)

ACCESSIBILITYMODE_ACTIVE: Web template was called up with parameter ACCESSIBILITY=X (see also Barrier Freedom for Web Applications) (true, false)

TEMPLATE_ID: Technical name for Web template

RUNS_AS_IVIEW: Web Application runs as iView (true, false)

RRI_TARGET_FRAME: Attribute RRI_DISPLAY_TARGET (see Object Tag for Properties of Web Templates)

Return value

See above

 

Note

The Web template properties do not have to completely agree with the set properties in the Web template. Sometimes when the device recognition properties are switched off, the Web template properties are then activated.

Example

Specifying the technical name of the Web template

<SCRIPT language="JavaScript">

<!--

var text=SAPBWGetProperty('TEMPLATE_ID');

  alert(text);

--->

</SCRIPT>

 

 

 

Leaving content frame