cancel
Showing results for 
Search instead for 
Did you mean: 

event in webdynpro

Former Member
0 Kudos

can u tell me how to create event in webdynpro

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

Go to actions Tab in your view and you can create events and actions.

Also if you are using any UI elements , Then you will find events in properties tab of th ui element, if you create

an action for that you can find the methods in the methods tab which are created for particular actions.

Former Member
0 Kudos

Hi i m talking about portal event please tell me

with screen sot

0 Kudos

See the webdynpro component WDR_TEST_PORTAL_EVENT.

former_member182372
Active Contributor
0 Kudos

http://help.sap.com/saphelp_nw70/helpdata/en/da/f96f4132f15c58e10000000a1550b0/content.htm


method ONACTIONFIRE_PORTAL_EVENT .
data: L_API_COMPONENT  type ref to IF_WD_COMPONENT,
        L_PORTAL_MANAGER type ref to IF_WD_PORTAL_INTEGRATION.
 
  L_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
  L_PORTAL_MANAGER = L_API_COMPONENT->GET_PORTAL_MANAGER( ).
 
  L_PORTAL_MANAGER->FIRE(
        PORTAL_EVENT_NAMESPACE = 'my_namespace_for_Web_Dynpro_documentation'
        PORTAL_EVENT_NAME      = 'showCustomer'
        PORTAL_EVENT_PARAMETER = CUSTOM_ID ).
 
endmethod.
 

Answers (0)