cancel
Showing results for 
Search instead for 
Did you mean: 

problem in ECM involving HRECM00_PLANNING_OVERVIEW(standard WDA component)

Former Member
0 Kudos

Hi Guys,

I am currently working in HR module(ESS/MSS).Here we will have to use the standard WDA component HRECM00_PLANNING_OVERVIEW to implement the budget approver application.

If you launch it in portal and select a budget owner that gets populated in the first screen and click on "Review Details" button it basically calls a java web dynpro application which shows all the employess under that particular budget approver.

If you open HRECM00_PLANNING_OVERVIEW in se80,and goto the method "onactionopen_planning"(method which gets fired when "Review Details" button is clicked) you will see the last stament as-

ELSE.

wd_this->launch_planning_ui( ).

ENDIF.

Double click and go inside aunch_planning_ui().

method LAUNCH_PLANNING_UI .

DATA fpm TYPE REF TO if_fpm.

DATA navigation TYPE REF TO if_fpm_navigation.

DATA key TYPE fpm_s_navigation_key.

DATA target_key TYPE string.

fpm = cl_fpm_factory=>get_instance( ).

" Store table of pernrs in memory so that comp planning UI can read it

wd_assist->write_memory_for_planning(

EXPORTING

crevi = wd_this->selected_crevi

planning_pernr_tab = wd_this->planning_objec_tab ).

" Navigate to Compensation Planning iView

key-key1 = 'HRECM'.

key-key2 = 'HRECM_LAUNCH_PLANNING'.

navigation = fpm->get_navigation( is_key = key ).

target_key = navigation->get_key_from_alias( iv_alias = 'ECM_WDJ_LAUNCH' ).

navigation->navigate( iv_target_key = target_key ).

endmethod.

This is the standard code for the method.

navigation = fpm->get_navigation( is_key = key ). In this line its callin get_navigation and getting all the navigation parameters for the java wd application i beleive. If you go inside method get_navigation you will find in the last line its assigning

APPEND ro_navigation TO mt_navigation.

in mt_navigation if you go deep inside the class attributes at debug mode and see the attibute mt_target you will get an attribute application_params inside which the portal path(in bold) is getting fetched.

application_params

LINK_TEXT |Review Details |

OBLIGATORY|X |

APPLICATIO<POP |

APPLICATIO<ECM_WDJ_LAUNCH |

PATH_TO_PA<ROLES://portal_content/com.sap.pct/line_manager/com.sap.pct.erp<

Parameter_< |

disabled | |

invisible |

I want to know from where it is getting the portal path(path_to_pa)?Because i have to change the portal path for my use.

Please help experts.

Thank,

Saikat.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Oops....forgot to close the thread.

solved this a long time back.It can be configured by the transaction lpd_cust.

thnx,

saikat.

Answers (1)

Answers (1)

Former Member
0 Kudos

I was surprised no one answered this.Anyways,I have included the solution that I have found.

Thanks,

Saikat