Entering content frame

Background documentation IF_WD_NAVIGATION_SERVICES Locate the document in its SAP Library structure

This interface provides services for dynamic navigation.

Methods

PREPARE_DYNAMIC_NAVIGATION

This method temporarily creates a navigation link.

This method creates a navigation link and a navigation target for the specified parameters. All the necessary view embeddings and view container assignments are created at the same time. If the target view comes from an embedded component, if necessary, the component usage is created. After this method has been called navigation can be performed by activating the outbound plug specified in SOURCE_PLUG_NAME.

The following import parameters exist:

·        SOURCE_WINDOW_NAME

Name of the window in which the navigation is performed This is the window, in which the start and target views are embedded.

·        SOURCE_VUSAGE_NAME

Name of the start view embedding

·        SOURCE_PLUG_NAME

Name of the outbound plug

·        TARGET_COMPONENT_NAME

Name of the target component, that is the view to be displayed in the internal window.

·        TARGET_VIEW_NAME

Name of the target view to be navigated to

·        TARGET_PLUG_NAME

Name of the inbound plug

·        TARGET_EMBEDDING_POSITION

Embedding position of the target view in form of:

<View1>/ <Container1>.<View2>/<Container2>....

If this parameter is set to initial, the view to be navigated to will be directly embedded in the window.

The following return parameters exist:

·        COMPONENT_USAGE

Reference to the component usage if the target view comes from an external component.

DO_DYNAMIC_NAVIGATION

This method creates a navigation link and performs the navigation.

To do this, if they are not yet available, the navigation link, navigation target, outbound plug, component usage, view embeddings, and view container components are created for the navigation target. Finally the navigation is performed.

The following import parameters exist:

·        SOURCE_WINDOW_NAME

Name of the window in which the navigation is performed This is the window, in which the start and target views are embedded.

·        SOURCE_VUSAGE_NAME

Name of the start view embedding

·        SOURCE_PLUG_NAME

Name of the outbound plug

·        PLUG_PARAMETERS

Parameter list for custom events

·        TARGET_COMPONENT_NAME

Name of the target component, that is the view to be displayed in the internal window.

·        TARGET_VIEW_NAME

Name of the target view to be navigated to

·        TARGET_PLUG_NAME

Name of the inbound plug

·        TARGET_EMBEDDING_POSITION

Embedding position of the target view in form of:

<View1>/ <Container1>.<View2>/<Container2>....

If this parameter is set to initial, the view to be navigated to will be directly embedded in the window.

The following return parameters exist:

·        COMPONENT_USAGE

Reference to the component usage if the view comes from an external component.

 

Leaving content frame