Skip to Content
Author's profile photo Ajoy Chakraborty

Dynamic Programming in Webdynpro ABAP

Steps to create PAGE HEADER at runtime.

1) Create a webdynpro component in SE80.

2)

WD Component.JPG

3) Go to VIEW1 -> METHODS tab

WD Methods Tab.JPG

4) With in WDDOMODIFYVIEW method, write the following piece of code:

WD Code.JPG

SAVE and ACTIVATE the Component

5) Create Webdynpro Application

WD Application.JPG

6) SAVE and TEST

WD Result.JPG

Similarly, you can also create other Elements at runtime.

Following is the code to create TEXT VIEW at runtime.:

WD Text View.JPG

SAVE/ ACTIVATE and TEST

WD Text View Result.JPG

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.