on 11-22-2013 8:37 PM
Hello,
we developed a custom POWL, with a custom feederer, that extracts employee appraisals. Once results are taken out in ALV, if we select one row and we click on EDIT or VIEW, then nothing happens. What we would expect in this case is that standard webdynpro with appraisal document is triggered.
Does anybody have a hint?
Thank,
Daniele
Hi Daniele,
Since you have custom powl feeder, please check what code you have written in method 'HANDLE_ACTION' for calling standard wd.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Remove the code which you have added for 'i_actionid = 'DISPLAY'' it will work fine in FPM but not in POWL.
Put a breakpoint on below statement.
IF ( i_actionid = 'OFFLINE_DESCRIP' AND i_action_conf NE 'Y' ) OR ls_powl_msg-msgtype = 'E'.
* Do not raise the event
ELSE.
e_portal_actions-parameters = lt_params.
e_portal_actions-fire_wdevent = 'X'.
ENDIF.
Check if e_portal_actions-fire_wdevent is getting set or not also check what values are getting populated in e_portal_actions-parameters.
Hi Daniele,
I was trying to analyze your POWL.
I feel that the template is not getting opened through your POWL but it is getting opened through WD 'HAP_START_PAGE_POWL_UI'.
For test purpose I want you to do the following:
Put a breakpoint in method 'GET_FIELD_CATALOG' of class 'CL_HRHAP00_STARTPG_POWL'.
After that put a breakpoint in 'WDDOINIT' and 'FOLLOWUP_POWL' mrthods in component controller of 'HAP_START_PAGE_POWL_UI' .
Now execute the standard application 'HAP_START_PAGE_POWL_UI_MSS' and check if it stops at the breakpoints we placed above.
Hi Hitesh,
we deciced to build a custom POWL because the standard one is already used for displaying a certain type of appraisal. Since user do not want to see appraisal in the same pwl, we went for building a new access pointe to documents. And this is giving us big headaches 😕
Thanks for your help,
Daniele
Debug method 'FOLLOWUP_POWL' completely and get all the application parameters.
Add application hap_main_document' in LPD_CUST.
In 'HANDLE_ACTION' method of your powl call method 'NAVIGATE' of class 'CL_HR_NAVIGATION_SERVICES' to open the appraisal template.
In standard POWL was used inside WD Comp and the part of opening the appraisal template was inside the WD comp, Since here we are trying to use POWL standalone, thats why we will have to open the document in above mentioned way.
Hi Hitesh,
class CL_HR_NAVIGATION_SERVICES can't be found in our system. We solved our problem this way:
CALL METHOD cl_powl_runtime_services=>get_powl_controller
IMPORTING
e_powl_int_controller = lv_wdcomp.
CHECK NOT lv_wdcomp IS INITIAL.
CALL METHOD lv_wdcomp->wd_get_api
RECEIVING
result = lv_wdcontr.
CHECK NOT lv_wdcontr IS INITIAL.
lr_api_component ?= lv_wdcontr.
l_wnd = lr_api_component->get_window_manager( ).
l_result = l_wnd->create_external_window(
url = l_url ).
l_result->open( ).
Thank you!
Daniele
is having a similar requirement in which we have to open a WD appl from POWL,
we got the part till url right, But are facing problems in opening the WD appl using the above code.
Can you please check the thread http://scn.sap.com/thread/3458634 and help solve the issue.
http://scn.sap.com/docs/DOC-31014
have you done all the steps?
are you using portal and configuring OBN?
For POWL, we deliver standard BO business objects with appraisal in it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.