Hook Methods in webdynpro ABAP

What are hook methds in web dynpro ABAP? list of hook methods availabel in web dynpro ABAP

+ -

HOOK METHODS in View Controller:

Hook Methods are standard SAP methods in web dynpro programming which are automatically created by SAP to control the execution flow of a web dynpro application.

These methods are similar to events in SAP reports (classical reports).

Hook Method in Web Dynpro ABAP

WDDOINIT:

Method for initialization logic, this is the first method displayed before view is displayed. This method is used to initialize variables, default data etc.

WDMODIFYVIEW:

This method is used to modify view dynamically based on user actions, this is used for dynamic programming.

WDDOBEFOREACTION:

This method is used to validate user input.

WDDOAFTERACTION:

Method for all common logic used in all methods or event handler methods.

WDEXIT:

This method is used for clearing/refreshing nodes, attributes etc.

Please Sign in to ask a question

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


Lesson Navigation

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