How to embed view in a window – WebDynpro

Scenario: We want to embed a view(MAIL_VIEW) in a window(MAIL_WINDOW) on WebDynpro Application.

Double-click on window name at the left menu.

On the opening page, write click on your window name and click on ‘Embed View

 1.jpg

Click on search-help button of View to Embedded

 2

Double Click on view that you want to be embedded

 3.jpg

OTR text in WebDynpro

Go to transaction SOTR_EDIT

Click on Create button

Fill required fields like below

1

Click on Savebutton.

Open your WD application

Create a Label element

Create an Input Field

Assign attribute of ‘labelFor’ as InputField

Write the code of your OTR text into attribute of your Label.

 2

3