Show TOC

IF_WD_APPLICATIONLocate this document in the navigation structure

Use

Interface IF_WD_APPLICATIONallows access to the description data that is valid for the entire Web Dynpro application.

Methods

GET_APPLICATION_INFO

Returns the metadata description of the application. The result is an object of type IF_WD_RR_APPLICATION.

GET_IS_RTL

Method to specify whether the application can be switched to right-to-left (RTL).

The text direction of languages from the middle east, for example, Hebrew and Arabic is right to left. Right-to-left (RTL) is the opposite of left-to-right (LTR) which is normal for Indo-European languages. With RTL numbers, for instance telephone numbers or posting items, and proper names are written left to right. So in RTL languages there is often a mix of RTL text with LTR sentence parts from LTR languages.

The Web Dynpro programming model supports the RTL concept.

Application developers should note the following points in order to use the full extent of RTL support:

  • Make sure that frames appear in the correct sequence, that is, in RTL the order of the frames mirrors LTR:

    • Menu and content lists belong on the right-hand side

    • The actual content belongs on the left.

  • If required, create RTL versions of your images and make sure that the RTL version of the images is used in the application.

GET_IS_ACCESSIBLE

Specifies whether the mode for Accessibilityis activated.

OPEN_HELP_CENTER

Opens the help center.

More information: Help Texts for Web Dynpro Applications.

GET_REMOTE_ADDRESS

Specifies the IP address of the caller.

GET_CLIENT_ENVIRONMENT

Specifies in which client environment an application is running. For example, the client environment can be the portal or the SAP NetWeaver Business Client. You can get the values from the constant CO_CLIENT_ENVIRONMENT.

GET_CONFIGURATION_ID

Specifies the ID of the running application configuration.

GET_IS_CLOSE_WINDOW_SUPPORTED

Specifies whether the function for closing a window is supported.

More information: Window Plugs: Startup and Exit.

GET_SHOW_EXPLANATION

Specifies whether quick help can be displayed.

If so, the current value of parameter SHOW_EXPLANATIONis returned.

SET_SHOW_EXPLANATION

Specifies whether quick help is displayed.

You can use this method to set parameter SHOW_EXPLANATION.

SET_WINDOW_TITLE

Specifies the title of the browser window, in which the application is running.

You can find an example in the system in component WDR_TEST_WINDOW_SUITEin application WDR_TEST_WINDOW_TITLE.

Note

This function is available only for stand-alone systems. This function is notavailable for Portal integration and the SAP NetWeaver Business Client.