Skip to Content

WDA reload application in portal


Hi,

I have a custom termination WDA application(EXIT) in MSS portal with three steps: Select, Edit and Submit. In the final SUBMIT step, once the manager submits the termination form, a message that the given employee is terminated is shown on the portal screen. Now when the manager clicks on the EXIT application again the portal screen should refresh and show the Select screen again.  But this is not happening. The screen still shows the message on the screen. This happens for all the custom WDA applications that are used in the portal i.e. the message on the final step in each application is not refreshed when the application is launched again. The screen is refreshed only when the portal URL is refreshed. I have debugged and found that the the FPM event is never triggered after the last step when the manager clicks on the application again.

The issue started happening only recently. Before the screen was getting reloaded properly whenever the application was launched. We didnt see any recent change in the component controller due to any service pack upgrade or in the custom WDA application in SAP.

Please let me know what can be the possiblity of such an issue happening and how can this be resolved.

Thanks

Anu.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 13, 2015 at 11:25 PM

    You will have to invalidate the Message table .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 14, 2015 at 04:41 AM

    Hi,

    There are two ways in which your requirment can be achieved.

    1) Re-launch the application again using below code.

       DATA : lo_fpm TYPE REF TO if_fpm.
      DATA: lo_navigate_to TYPE REF TO if_fpm_navigate_to.

      lo_fpm = cl_fpm_factory=>get_instance( ).

      lo_navigate_to = lo_fpm->get_navigate_to( ).


      lv_launch-header_text = ''.
      lv_launch-url = '< your WDP application i.e URL>'
      lv_launch-use_suspend_resume = 'X'.


      lo_navigate_to->launch_url( is_url_fields = lv_launch ).

    2) Invalidate the node using lo_nd_node->invalidate( ).

    Thanks

    KH

    Add comment
    10|10000 characters needed characters exceeded