Dynamic Programming in Webdynpro ABAP
Steps to create PAGE HEADER at runtime.
1) Create a webdynpro component in SE80.
3) Go to VIEW1 -> METHODS tab
4) With in WDDOMODIFYVIEW method, write the following piece of code:
SAVE and ACTIVATE the Component
5) Create Webdynpro Application
6) SAVE and TEST
Similarly, you can also create other Elements at runtime.
Following is the code to create TEXT VIEW at runtime.:
SAVE/ ACTIVATE and TEST