cancel
Showing results for 
Search instead for 
Did you mean: 

wd_create_action

Former Member
0 Kudos

Hi experts,

what is the use of the method wd_create_action.

I saw this in component controller of the WebDynpro application.

Thanks,

Points assured.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jasmine,

In which application you have seen this?

I am asking because it is not any standard hook method...

and also It wont allow us to create method name starting with wd.

Former Member
0 Kudos

Hi,

I saw this method in component controller. Using code wizard(Method called in current controller).

Actually currently im working with Component usage. In component controller of child component I saw this method.

The Auto generated code is,

DATA:
   l_action          TYPE REF TO if_wd_action.

 l_action = wd_this->wd_create_action(
 " is_Validating =                    "  Wdy_Boolean
   event_handler =                     "  String
   command =                          "  String
   text_key =               ).        "  String

Thanks.

Former Member
0 Kudos

Hi Jasmine,

What i could understand from this method is that an action is required to be triggered without having pressed a button or any action performed by the user on the screen.

This is generally done sometimes when a specific event handler method needs to be triggered to update or perform a specific task without user intervention.

The best that you can do is to find out where this method has been called and which event is registered to be called explicitly.

Regards,

Kinshuk

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jasmine,

This method might be a specific method for use in the webdynpro application you saw. just check the code inside the method which gives you an idea as to what functionality is achieved using this method and then you can analyze from where (VIEW) is it called?

This is not a standard hook method.

Regards,

Kinshuk