cancel
Showing results for 
Search instead for 
Did you mean: 

purpose of methods wd_create_action ?

Former Member
0 Kudos

Hi friends..

while creating web dynpro component in WDA. automatically controller interface if_componentcontroller get created.

inside the code.. i can able to see

1. constant for context name

2. elments for context node

above 2, i created in the context node so its coming but

3. methods wd_create_action

importing

Event_Handler type String

Is_Validating type Wdy_Boolean default ''

Command type String

Text_Key type String

returning

value(Result) type ref to If_Wd_Action.

what is the purpose of this code ?

why it wil come ? wen we use thid method ?

kindly give some inputs

regards

deva

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Deva ,

Refer this :

read the last answer.

May it helps you.

Thanx.

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

This is useful in dynamic programming - when you don't create your UI elements at design time in the view layout, but instead create them dynamically at runtime in the WDDOMODIFYVIEW method. You also need some API method to call in order to create actions and connect those actions to event handlers.