KALEEL
  • Home
  • My Apps
  • Blog
    • SAP
      • Successfactors
        • Employee Central
      • ABAP
      • Fiori
      • WebDynpro ABAP
      • Adobe Forms
    • Web
    • Other
✕

WDA window close for UWL item

  • Home
  • Blog
  • SAP WebDynpro ABAP
  • WDA window close for UWL item
SAP WF View workitem of other user inbox
June 11, 2012
IW31 Movement Type Customization
July 17, 2012
Published by Mohamed Kaleel at July 16, 2012
Categories
  • WebDynpro ABAP
Tags
  • Close window
  • Exit
  • Portal
  • WDA
  • webdynpro abap
  1. Open your Window from WDA Component and goto Outbound Plugs
  2. Create Exit Plug ‘O_WD_EXIT’ , Plug Type Exit

  3. Open the view
  4. Add Button for Exit
  5. Create Action ,provide Action Name and double click the Action Name


  6. Write the below Code in you Action method
  7. [cc lang=”ABAP”] DATA: lr_view_cntr TYPE REF TO if_wd_view_controller. lr_window_cntr
    TYPE REF TO if_wd_window_controller, ls_para TYPE wdr_event_parameter, lt_para TYPE
    wdr_event_parameter_list, lr_val TYPE REF TO data. FIELD-SYMBOLS :
    TYPE ANY.
    lr_view_cntr = wd_this->wd_get_api( ).
    CALL METHOD lr_view_cntr->get_embedding_window_ctlr
    RECEIVING
    result = lr_window_cntr.
    CREATE DATA lr_val TYPE c.
    ASSIGN lr_val->* TO .

    =’X’. ls_para-name =’CLOSE_WINDOW’. ls_para-value = lr_val. INSERT ls_para INTO
    table lt_para. lr_window_cntr->if_wd_view_controller~fire_plug( EXPORTING plug_name
    =’O_WD_EXIT’ parameters = lt_para ). [/cc]
  8. Mention your Exit Name which you created in Step 2

  9. img2
  10. Try your App in Portal

  11. img 3

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Share
0
Mohamed Kaleel
Mohamed Kaleel

Related posts

July 4, 2013

WDA: How to programatically populate RadioButtonGroupByKey Without Creating Domain


Read more
June 10, 2012

Open URL in same WebDynpro ABAP Page


Read more
July 25, 2011

EXIT from Webdynpro ABAP Application


Read more

Leave a Reply Cancel reply

Categories

  • ABAP
  • ABAP HANA
  • Adobe Forms
  • Employee Central
  • Fiori
  • Other
  • SAP
  • SharePoint
  • Successfactors
  • Web
  • WebDynpro ABAP

Tags

  • ~NO_LOGON_USEREXIT
  • ABAP 74
  • ABAP class
  • ABAP Code
  • ABAP HANA
  • ABAP OO
  • adobe forms
  • AdobeForm
  • Advance SQL
  • ALV
© 2020 kaleel.in
 

Loading Comments...