Start of Content Area

Background documentation IF_WD_RR_APPLICATION  Locate the document in its SAP Library structure

Interface IF_WD_RR_APPLICATION belongs to the API for the Web Dynpro Runtime Repository. Interface IF_WD_RR_APPLICATION allows access to the metadata for a Web Dynpro application.

Use

Access to this interface, for example in a Web Dynpro component controller method, is made as follows:

data:

data: l_cmp_api           type ref to if_wd_component,

  l_application_api    type ref to if_wd_application,

  l_application_info    type ref to if_wd_rr_application.

 

  l_component_api = wd_this->wd_get_api( ).

  l_application_api  = l_api->get_application( ).

  l_application_info = l_application_api->get_application_info( ).

 

Methods

GET_HELP_LINK

This method returns the help link that belongs to the Web Dynpro application.

For more information see Help Texts in and for Web Dynpro Applications.

Result

Name

Description

RESULT (Type STRING)

Help link for the Web Dynpro application

 

Method IF_WD_RR_APPLICATION=>GET_NAME

This method returns the name of the Web Dynpro application.

Result

Name

Description

RESULT (Type STRING)

Name of the Web Dynpro application

 

GET_STARTUP_WINDOW

This method returns the reference to the description object of the main window of the Web Dynpro application.

Result

Name

Description

RESULT (reference to IF_WD_RR_WINDOW)

Reference to the description object in the main window of the Web Dynpro application.

 

Method IF_WD_RR_APPLICATION=>SET_HELP_LINK

This method makes it possible at runtime to change the help link that belongs to the Web Dynpro application.

Parameter

Name

Description

HELP_LINK (type STRING):

Help link

 

Attributes

MSG_CMP_DSP_MODE

This attribute returns the display behavior of the message component.

Possible values are (see constant CO_MSG_CMP_DSP_MODE):

      CO_MSG_CMP_DSP_MODE-ON_DEMAND (default):

The message component is displayed if there are any messages.

      CO_MSG_CMP_DSP_MODE-STATIC:

The message component is always displayed, even if there are no messages.

      CO_MSG_CMP_DSP_MODE-NO_MSG_CMP (obsolete):

This setting is obsolete and can no longer be selected when creating a Web Dynpro application.

 

 

End of Content Area