Problem in ECM involving HRECM00_PLANNING_OVERVIEW(standard WDA component)

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.

Oops....forgot to close the thread.
solved this a long time back.It can be configured by the transaction lpd_cust.
thnx,
saikat.

Similar Messages

  • Enhance the Standard WDA component method

    Hi All,
    Can we write the code in a method of the standard WDA component. I know that we can use post-exit but it will be triggered after the method. My requirement is lying in between the standard method.
    Please suggest if we can write the code mid of the standard method.
    Thanks
    Sanket sethi

    Done. Through overwrite method....

  • I have a problem with Transport the personalization of standard ess compone

    I have a problem with Transport the personalization of standard ess component.
    My problem is in several components, such as:
    portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/
    com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/
    com.sap.pct.erp.ess.area_personal_information/persinfo_es/com.sap.pct.erp.ess.13.pdata
    I have personalized this page (into rol, not directly in the page), with Ctrl+Right button.
    Now i transport the rol, from Development to Quality environment, but i don't see the changes in Quality.
    My system is NW 7.01 SP7, Can be that the problem?
    Any idea to solve this problem?

    First please see note 1234273 which details how best to personalize
    for all users.
    http://help.sap.com/saphelp_nw04s/helpdata/en/42/ed3ce7f8593eebe10000000
    a1553f7/frameset.htm
    Here you can read:
    "If an iView is transported to another portal all these properties are
    also transported. This is needed to make sure that role-specific changes
    could be transported together with the role. End user personalization
    data is NOT transported in this way as end user personalization is only
    local to the current portal."
    Could you please ensure that personalization was done by an admin user?
    I'm afraid that if it was done by an end user, personalization isn´t
    transported as it's explained in the documentation provided.
    Could you please confirm whether you are using exactly the same language
    to access to both systems, development and quality? Maybe you are using
    language en(us) in one system and en(gb) in the other one. Please take
    into account that personalization is language specific.
    From the web dynpro end, the WebDynpro personalization is stored
    NOT in the PCD prior to 710 release. And as such it cannot be included
    in a portal role transport. This feature is available with NW 7.10 SP2
    or later (from webdynpro point stand). The best option is to
    go with NW 7.30 as this is the first NetWeaver release with EP since
    NW 7.02.

  • Adding an Input field in Standard Webdynpro Component in SAP SRM

    Hi Friends,
    I want to add one input field in sap standard webdynpro component in SAP SRM MODULE
    the component name is /SAPSRM/WDC_DODC_RFQ_H_BD
    view name is   V_DODC_RFQ_H_BD
    Upon clicking on SAVE button , it shud save in database
    what is the name of database table and how to solve this problem
    Thnx
    Srini

    Hi Kumar,
    By using Enhancement Framework you can do this.
    How can we add a new field to the Standard Webdynpro application?
    Also check this..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81
    Cheers,
    Kris.

  • Modification in Standard WDA.

    Hi Experts,
    Can we add Custom Field on PO Details in SNC(5.1).The field will be a Display one which would fetch data from R3.
    How can we do this modification as PO details application is standard WDA,please advice how can this be achieve.
    Thankx in advance!
    Regards,
    Sayeda

    Hi Sayeda,
    1). Open any Standard Webdynpro Component to enhance.
    2) If you want to Enhance a method or design a layout on the View, then select the View and then select the View -> Enhance from the menu bar.
    3) Give the Enhancement Name and Description and save it.
    4) After saving you can see that the view would be in inactive state and in the status bar you can see a message like u201CEnhancement implementation XXXXXXXXXX createdu201D. (Where XXXXXXXXXX is the name you had given earlier)
    If you navigate to method tab, you can see Pre-Exit, Post-Exit, & Overwrite Exit.
    a)Pre-Exit u2013 If you write code in this method, it will execute before the standard method executes.
    b)Post-Exit u2013 If you write code in this method, it will execute after the standard method executes.
    c) Overwrite Exit u2013 If you write code in this method, the standard method will be overwritten by this method and only the overwrite exits will work.
    6) Just click on the create button on anyone of the method based on requirement and write your code and activate it and execute the application.      
    Regards,
    Uday

  • CO-PA Cost Component do not match with Standard Cost Component Values

    Dear Members,
    The CO-PA Cost Components (as mapped through KE4R), do not match with Standard Cost Component values for the Group Currency. In local currency the values match.
    System is correctly picking up VPRS value, both in local currency and Group Currency, which is equal to the total of Standard Cost Components however, it is the Value Fields linked to the Standard Cost Components in Group Currency that do not match.
    In KE40, the Indicator is 4:Released Standard Cost Estimate matching Goods issue Date.
    I have verified KEPH/CKMLPKEPH tables. The values are same as that of VPRS.
    Any help/clues?
    Regards
    Satya

    Hi,
    In case of billing documents the group valuation approach is managed in the data structures of the legal valuation in additional value fields. To control costs and revenues in the different views separately, you must create additional value fields and assign them to the data structures.
    The field contents must be filled via the CO-PA user exit, they cannot be entered by assigning conditions to value fields. The profit center valuation is updated in a separate ledger. No separate value fields are necessary.
    The exit to be used is function module 'EXIT_SAPLKEII_002' ( enhancement COPA0005 ). Within the exit you have the complete SD data avaialble in the tables 'T_ACCIT' and 'T_ACCCR'. The conditions can be found in T_ACCIT and the corresponding values ( linked via 'POSNR' ) in table T_ACCCR. The PA line item and the corresponding SD item in table ACCIT
    can be mapped via the line item field 'RPOSN' and the field 'POSNR_SD' in table ACCIT.
    regards
    Waman

  • Adding a new field to a standard webdynpro component's layout

    Hi all,
      I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD')  layout.How do i go about adding a new field to the standard component's lay out?
    can anyone help me with the necessary details?
    Regards,
    Abhinay.

    Check if this is useful to you (Login required)
    https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
    Rgds/Kiran

  • How to Customize the Standard UWL component

    Hello Experts,
    We have a requirement to customize the standard UWL component. 
    But I am not sure how to get standard UWL source code in NWDS and how to create a custom DC from the standard component with different namespace.
    Can anyone please guide me how to achieve this requirement?
    Regards,
    Sambaran Chakraborty

    REPOST with proper format:::
    HI Amar,
    Thanks for you input.
    But we have no option except to go with this customization of UWL; we are in middle of SAP upgrade (NW 7.01 SP07).
    Previously we were in NW 7.0 SP10) and that time we were customized the UWL component.
    But after upgrade it is not allowing us to deploy the old UWL custom component.
    Therefore we have decided to customize the UWL component again with current version.
    Now for NW 7.01 SP07 SAP is not providing the source code(SRC>ZIP) for UWLJWF.sac file. But we are able to get the source code for NW 7.01 SP00.
    Now we have successfully able to build and deploy a local DC from the SRC.ZIP file from UWLJWF.sac of NW 7.01 SP00.
    Then we have created an iview and call the UWL Substitution Application from the custom UWL DC. But when we checked in the UWL Substitution screen we get few issue:
    1.     In the UWL Substitution screen there is not text available for any of the button.
    2.     When we clicked on first button (should be Create Rule button, though no text available for our case) we got an error message of incompatibility, below is the error:
    java.lang.ClassCastException: com.sap.netweaver.bc.uwl.ui.wdp.InternalUWLPeoplePickerInterface$External incompatible with com.sap.netweaver.bc.uwl.ui.pp.wdp.IExternalUWLCustomPicker        at com.sap.netweaver.bc.uwl.ui.subst.wdp.InternalSubstitutionRuleView.wdGetUWLCustomPickerInterface(InternalSubstitutionRuleView.java:362)
            at com.sap.netweaver.bc.uwl.ui.subst.SubstitutionRuleView.wdDoInit(SubstitutionRuleView.java:179)
            at com.sap.netweaver.bc.uwl.ui.subst.wdp.InternalSubstitutionRuleView.wdDoInit(InternalSubstitutionRuleView.java:255)
            at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
            at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
            at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
            at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
            at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
            at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
            at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
            at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:333)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
            at java.security.AccessController.doPrivileged(AccessController.java:219)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Can you please provide your valuable input on this condition?
    Any help from anyone on this issue will be highly appreciated.
    Regards,
    Sambaran Chakraborty

  • How to make Javascript access standard JSF component

    Hello all,
    I'm in need of a proper javascript code that access standard jsf component.
    Like we do for html tags;
    if( el.tagName.toLowerCase() != 'select')
    I need to do the same thing for a jsf tag i.e; <h:selectOneMenu>. How to make javascript access <h:selectOneMenu> like it does with <select> tag ? Please let me know asap. Extremely sorry if the question is kind of stupid....cause I'm a beginner for JSF environment.
    Any sort of help, suggestion or advice would highly be appreciated.
    Thanks in advance.

    Ummmm, I may be off the beaten path, but by the time your javascript is called the h:selectOneMenu would be a select tag within the dom. You should be able to reference that tag as you normally would.

  • Custom Button in Sap Standard webdynpro Component

    Hi Friends,
    i have one requirement
    1. want to added one custom Button in SAP SRM standard webdynpro component - This is done using component configurator
    2. but when i click this button, one   Z webdynpro component should run,
    Can any one please give me  idea on this
    Thanks and Regards
    Kumar Srini

    Hi,
    copy below given code and paste inside of your on action method,
    Note: just change the url address
    data: l_window type ref to if_wd_window_manager.
    data: l_cmp_api type ref to if_wd_component.
    data: str             type stinrg.
    data: result        type if_wd_window.
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = 'ZWEBDYNPRO COMPONENT NAME'
    IMPORTING
    out_obsolute_url = str.
    l_cmp_api = wd_comp_controller->wd_get_api( ).
    l_window = l_cmp_api->get_window_manager ( ).
    result = l_window->create_external_window(
    url = str ).
    result->open( ).

  • Best practice when modifying SAP Standard Development Component

    Hello Experts,
    What is best practice when modifying SAP Standard Development Component (Java Web Dynpro)? Iu2019m looking for the best method to do modifications to SAP Standard DC so that my changes will be kept (or need low maintenance) after a new service package (or EHP) is applied.
    Thanks,
    Kevin

    Hi,
      'How to use Busiess Packages in Enterprise Portal 6.0' is available in this link.
    http://help.sap.com/bp_epv260/EP_EN/documentation/How-to_Guides/misc/Using_Business_Packages.pdf
    Check out for the best practices.
    Regards,
    Harini S

  • WDA Personalization bug when running multiple instances of the same WDA component

    I have found an issue relative to WDA personalization that it seems to be a bug for me.
    Scenario:
    In my scenario, I have a Web Dynpro component A which has two usages of the same Web Dynpro Component B (USAGE1 and USAGE2).There is a WDA application APPL_A defined to fire WDA component A. I have defined a component configuration COMP_CONF1 for WDA component B and an application configuration APP_CONF1 for WDA application APPL_A. This application configuration applies the same component configuration COMP_CONF1 to both usages USAGE1 and USAGE2.
    Runtime behaviour:
    At runtime, I execute application APPL_A using the application configuration APP_CONF1. When I personalize something in the USAGE1 of WDA component B, the effects does not appear in USAGE2 until a page refresh is done. Obviously, as both usages uses the same component configuration at rutime the effects of personalization should be applied to both, but WDA configuration framework fails to apply the changes instantaneously to USAGE2.
    Have you expermiented this behaviour? Is there any workaround for this?

    I have found an issue relative to WDA personalization that it seems to be a bug for me.
    Scenario:
    In my scenario, I have a Web Dynpro component A which has two usages of the same Web Dynpro Component B (USAGE1 and USAGE2).There is a WDA application APPL_A defined to fire WDA component A. I have defined a component configuration COMP_CONF1 for WDA component B and an application configuration APP_CONF1 for WDA application APPL_A. This application configuration applies the same component configuration COMP_CONF1 to both usages USAGE1 and USAGE2.
    Runtime behaviour:
    At runtime, I execute application APPL_A using the application configuration APP_CONF1. When I personalize something in the USAGE1 of WDA component B, the effects does not appear in USAGE2 until a page refresh is done. Obviously, as both usages uses the same component configuration at rutime the effects of personalization should be applied to both, but WDA configuration framework fails to apply the changes instantaneously to USAGE2.
    Have you expermiented this behaviour? Is there any workaround for this?

  • How to call a CRM transaction from WDA  component

    I have requirement where i need to open the CRM transaction CRMD_BUS2000126 from WDA with the object id selected in the context. To be more specific all i need to do is to open the activity screen of a particular give activity number from a WDA component.
    I have checked out the previous threads there is a solution how to fire a transaction from WDA, but i need to send a parameter to this transaction to open that particular activity number screen.
    please advice asap.
    Thanks,
    Shyam

    Karthikeyan,
    Please make sure that flag attribute is under some node, say NODEA. NOW please select the interface node property and input element  of NODEA.
    now NODEA will be available in interface controller. Interface controller acts like a global  controller between two different components.
    So from interface controller you can take that flag value.
    pls reply back if you have any confusion.
    Regards
    Srinivas

  • Standard WDA Application - Change UI element image

    Dear All,
    SNC 5.1 Out of Box solution provides its Web UI in the form of WDA appications.
    1. How do I change the image of a UI element for such a Standard WDA Application.
    2. Also, is it possible to do the modifications in such a way that only a certain group of users can see the modified UI element and the rest see the standard Out of box solution?
    Thanks and Regards,
    Ashwin

    Worst case scenario, you could use the Enhancement Framework to extend the existing application.  You can't modify existing UI element - but you can hide existing ones and then add a custom one. You could also add pre- or post- method implementations. Here is some details on the Enhancement Framework specific to WDA:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/f4b9422e0fb911e10000000a1550b0/frameset.htm
    However you might find that you can acomplish what you want using Customization.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b170d256293c5ce10000000a421937/frameset.htm

  • Standard webdnpro component for employee search using using last Name

    Hi All,
    Can anybody please let me know Is there any SAP standard webdynpro component for the last Name of the employee.
    My Requirment is i have field called Last Name i will give may lastname and serach then it should give the employee no and employee name..
    Thanks
    taragini

    Tarangini,
    you can check this HRASR00_PROFILES_SHOW
    Thanks
    Bala Duvvuri

Maybe you are looking for

  • Zen micro not recognized.. reform

    so my zen micro is no longer recognized by my pc at home or at work.. i have firmware .0.03 installed from nomadworld and everythings been working fine for weeks. the player still works (music) but the removeable disk doesn't (not recognized by pc).

  • Data from Tiger to Leopard

    So I just managed to install Leopard on my MacBook. It required erasing everything first, so I backed up all of my documents and Tiger apps on my 500 GB Lacie Drive. Now I'm wondering what to keep. Some things are obsolete (they come with Leopard or

  • Error in territory rules creation

    I have custom program to create territory rules using BAPI BAPI_TERRITORY_ATTR_CHANGE. Rules need to be created for postal codes by passing values to BP_POST_CODE. This program is working fine in development system. But in QA system I am getting belo

  • Stock in alternative unit

    Hello, Is there a way in SAP to maintain stock in alternative unit at plant level? Would appreciate your input. UV

  • When i am try 2 update m ipod 4g 2 ios5 it shows that this version of the ipod software (1.1.5) is the current version

    when i am try 2 update m ipod 4g 2 ios5 it shows that this version of the ipod software (1.1.5) is the current version