Creating first webdynpro ABAP component

+ -

Web dynpro component : It is a central control of a application, it has views, windows, controllers.

Web dynpro application : It is a URL which is associated to a web dynpro component, through which we can test a web dynpro component.

Creating hello world application in Web Dynpro ABAP.

Go to SE80, select web dynpro component/ intf from drop down, provide componenet name as ZSAPN_HELLO_WORLD, press enter a pop up will open click yes.

Hello Worl web dynpro application ABAP

Provide description and enter.

Hello Worl web dynpro application ABAP

Save it in a local object, save the component (Ctrl S).

Go to main view, layout, rootuielementcontainer, insert element, provide id, select page header from drop down and press enter.

Hello Worl web dynpro application ABAP

Select PageHeader, and provide title in the properties area and enter.

Hello Worl web dynpro application ABAP

Save (Ctrl S), double click on component name (ZSAPN_HELLO_WORLD), right click and aativate.

Hello Worl web dynpro application ABAP

A pop up will open just press enter.

Now the hello world component is created, we have to execute and test this component, to test a web dynpro component we need a application...So we have to create an application for this

Again right click on component, create, Web Dynpro application.

Hello Worl web dynpro application ABAP

Provide application name, description, enter and Save (Ctrl S).

Hello Worl web dynpro application ABAP

Hello Worl web dynpro application ABAP

Application is created, right click on application name (not component name) and test.

Hello Worl web dynpro application ABAP

The out put will open in a browser...

Hello Worl web dynpro application ABAP

Learner Questions


No Questions by learners, be first one to ask ..!!

    Please Sign in to ask a question

    Was this lesson helpful to you? Yes No 40 People out of 40 think this lesson helpful


    Lesson Navigation

    ←Previous Chapter
    Next Lesson → Working with UI elements in webdynpro ABAP