Show TOC

Using Parameters to Call a Web Dynpro ApplicationLocate this document in the navigation structure

Context

The URL parameters of a Web Dynpro application are defined by the main component.

The window of a component has one or more inbound plugs, and these may have parameters. If a parameter is defined for an inbound plug, it must be assigned a value at runtime. Usually the URL call will transfer the parameter value to the inbound plug. Alternatively in the Web Dynpro Explorer: Display Application you can set a default value for this parameter, which at runtime is overwritten by the value of the URL parameter, if one is defined. If a default parameter is defined in the application, the value is optional.

Caution

If neither a default value is set, nor a URL parameter transferred, a runtime error is triggered.

For more information:

URL of a Web Dynpro Application

Procedure


  1. In the component, switch to the window editor.

    Here you can change the predefined inbound plug, or create a new inbound plug.

    1. Specify the plug as a startup plug (Startup) .

    2. The data type should be string since as yet the data cannot be converted or checked.

    3. Activate the component.

  2. In the application specify the component to be called, the window, and the startup plug. You can now specify the parameters.

    Apart from the default parameters, the startup plug parameters are also available and can be assigned a default value. If no default value is assigned, the parameters have to be specified as URL parameters when the application is called.

  3. Start the application.

    The URL parameter overwrites the application parameter.