Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Get pushed button

$
0
0

I'm try this in wddobeforeaction() with the code:

 

DATA: lo_api_controller TYPE REF TO if_wd_view_controller,
         lo_action         TYPE REF TO if_wd_action.

 

lo_api_controller ?= wd_this->wd_get_api( ).
lo_action = lo_api_controller->get_current_action( ).


IF lo_action IS BOUND.
     IF lo_action->name EQ 'SEND'.

     "code

ENDIF.

ENDIF.


But not works. lo_action->name is initial and lo_action is not bound.

 


Thanks.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>