
The IF_WD_RR_WINDOW interface belongs to the API for the Web Dynpro runtime repository .
The IF_WD_RR_WINDOW interface allows access to the metadata for a Web Dynpro window.
Refer to the method documentation in the system.
GET_NAME
This method returns the name of the window.
GET_VIEW_USAGE
This method returns the view usage for the specified name.
If there is no view usage for the specified name, the system triggers exception CX_WDR_RR_EXCEPTION.
GET_VIEW_USAGES
This method returns the view usages for all views that are directly embedded in the window (not within a view container of another view).
EMBED_VIEW
Temporarily embeds a view at the specified embedding position and sets it as the default view. This generates all required view usages, view container assignments, view containers, and component usages along the embedding path as long as they do not already exist.
GET_ROOT_VIEW_USAGES
This method returns the view usages for all views that are directly embedded in the window (not within a view container of another view).
GET_ROOT_VIEW_USAGE
This method returns the root view usage for the specified name. A root view usage is a view usage that is embedded directly in the window and not in a view container of another view.
CREATE_ROOT_VIEW_USAGE
This method temporarily creates a root view usage for the specified name. A root view usage is a view usage that is embedded directly in the window and not in a view container of another view.
DELETE_ROOT_VIEW_USAGE
This method deletes the specified root view usage.
As a prerequisite for this, the view usage to be deleted must have been created dynamically (for example using method IF_WD_RR_VIEW_CNT_ASSIGNMENT~CREATE_ROOT_VIEW_USAGE, IF_WD_NAVIGATION_SERVICES_NEW~PREPARE_DYNAMIC_NAVIGATION, or IF_WD_NAVIGATION_SERVICES_NEW~DO_DYNAMIC_NAVIGATION).
A statically created view usage - created using ABAP Workbench - cannot be deleted.
SET_DEFAULT_ROOT_VUSAGE
This method sets the specified view usage as the default view usage. As a result, the view that belongs to this view usage is displayed for the initial window structure.
CREATE_NAVIGATION_TARGET
This method temporarily creates a navigation target. If a navigation target already exists for the combination SOURCE_PLUG_NAME, TARGET_PLUG_NAME and TARGET_VIEW_USAGE_NAME, the method call has no effect. In this case, the return value is initial. If a navigation target with the same name already exists, exception CX_WDR_RR_EXCEPTION=>TARGET_ALREADY_EXISTING is triggered.
DELETE_NAVIGATION_TARGET
This method deletes a dynamically created navigation target with the name provided. If no relevant navigation target exists, the method call has no effect.
As a prerequisite for this, the navigation target to be deleted must have been created dynamically beforehand (for example using the method IF_WD_RR_VIEW_USAGE~CREATE_NAVIGATION_TARGET, IF_WD_NAVIGATION_SERVICES_NEW~PREPARE_DYNAMIC_NAVIGATION, or IF_WD_NAVIGATION_SERVICES_NEW~DO_DYNAMIC_NAVIGATION).
DELETE_ALL_NAVIGATION_TARGETS
This method deletes all dynamically created navigation targets for the specified outbound plug.