cancel
Showing results for 
Search instead for 
Did you mean: 

POWL refresh not working when HAP_MAIN_DOCUMENT status changes

Former Member
0 Kudos

I have created a new Application ID for POWL : ZGPM_OFB_CONTRIBUTOR_APPID. POWL query gets called in webdynpro application. POWL list contains feedback documents and one of the fields having links and open up the HAP_MAIN_DOCUMENT using FPM instance. However, when open up and change the status of feedback document to complete, the POWL list doesn't refresh automatically(Refresh doesn't run automatically which works for WD component : HAP_START_PAGE_POWL_UI). Any help is much appreciated.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello sunil,

The one way is as told by loan, As you are opening the client window from POWL, you can use the below way also...

http://wiki.sdn.sap.com/wiki/display/WDABAP/Client+Side+Eventing+-+Refresh+From+Client+Window

Please check and update....

Best regards,

Rohit

ioan_radulescu2
Participant
0 Kudos

Hi Sunil,

Unfortunately the OSA UI functionality hardcodes a lot of stuff in hard contrast to the previous versions. The refresh of the POWL is hardcoded on its own POWL Application ID. Are you still using the standard component HAP_START_PAGE_POWL_UI? If yes, don't use your own application ID for POWL, but define new queries for the OSA POWL Application ID. Since the call of the POWL refresh is something like

    wd_this->fire_to_powl_plg(
    applid =   'OSA-POWL-MSS'           " powl_applid_ty
    qname =     ' '                        " powl_query_ty
    qselpara ' '                        " string
    refreshq 'X'                       " powl_xflag_ty
    srvgroup ' '                        " rzlli_apcl

if your query is part of the Standard Application ID, it will also be refreshed.

Good luck, I.