0% found this document useful (0 votes)
82 views12 pages

Create Web Dynpro Component E.G. ZTEST - WDA - TAB and Save As Local Object

To create a Web Dynpro component that displays data from a database: create a Web Dynpro component, add a context node, insert a tray and table on the layout tab and bind the context node to the table, write code in the WDDOINIT method to fetch data from the database and populate the context node using setters so the data displays in the table at runtime, save, activate, and run the application.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views12 pages

Create Web Dynpro Component E.G. ZTEST - WDA - TAB and Save As Local Object

To create a Web Dynpro component that displays data from a database: create a Web Dynpro component, add a context node, insert a tray and table on the layout tab and bind the context node to the table, write code in the WDDOINIT method to fetch data from the database and populate the context node using setters so the data displays in the table at runtime, save, activate, and run the application.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 12

Create Web Dynpro component e.g.

ZTEST_WDA_TAB and Save as Local


object.

Go to CONTEXT tab and create node e.g IT0001 as shown in the below
screen shots.

Goto LAYOUT tab Insert TRAY element on view Later Insert TABLE
element inside the TRAY.

Bind Context node with TABLE UI element as shown in the below screen
shots.

Goto METHODs tab Double click on WDDOINIT method to write code to


fetch from DB and using SETTERs, data is passed to corresponding context.
As Context is bound with Layout, at runtime Data is display.

Save and Activate all.

Create Web Dynpro Application e.g. ZTEST_WDA_TAB and Run using F8.

You might also like