Zcomponent to standard component navigation

Hi All,
I created Z comp., search req, search result are created.  they are working. in search result one field is activated with get p method of (hyper link).
after clicking on field it should go to overview page just like other standard applications.
created outbound plug, event,.
I added standard comp in my z comp with comp usage.
but when i m creating navigational link  in the target standard comp's are not showing from f4 help.
how they will come in the f4 help.  please let me know.
thanks
ram

Hi Ram,
Add your component usage view(std view) in the Window and Viewset of Z-component, it will definitely come in the navigation link target F4.
Let me know if that will not work.
Regards,
Shobhit

Similar Messages

  • Populate data into standard component alv from Zcomponent popup data selected

    HI All
    I have to call Zcomponent in standard component and need to pass value into Zcomponent (table) and from  Zcomponent select row and pass back to standard component.
    Steps
    1) Created Zcomponent with interface node
    2) Enhanced the standard component and create used components for  Zcomponent and make it available at component controllers and view controllers.
    When I click on Button in standard component I am calling this Zcomponent as popup window.
    My problem I when I select data in Zcomponent I need to populate the data in ALV of standard component.
    I thought of 2 methods to take my selected back and populate data into standard component ALV.
    1) Create event: EVENT1 and   Interface method Method1 and link to EVENT1
    So that I can raise this event in Zcomponent and populate the data into standard component ALV
    Problem: Under events interface checkbox is visible, when I select my enhancement implementation the interface checkbox not visible under events tab?.
    2) Create Interface method Method1 write logic to populate data into standard component ALV
    But here to when I select my enhancement implementation the interface checkbox not visible under?
    Can anyone please help me why interface checkbox is not visible or any better solution to populate the data back to standard component alv?
    Thanks
    Gopal

    Hi Gopal,
    You can achieve your requirement by using EVENTS as below
    Create an event SET_DATA in component controller of zcomponent and mark it as interface and also include the parameters like context_element( type ref to if_wd_context_element), etc as below
    Now, create an action for the event onLeadSelect of your zcomp Table and write the below code
                     DATA lo_ctx_element TYPE REF TO if_wd_context_element.
                   "get the selected row
                     lo_ctx_element = wdevent->get_context_element( name =
                        'NEW_ROW_ELEMENT' ).
                   "Raise the event with parameter
                   wd_comp_controller->fire_set_data_evt( context_element = lo_ctx_element ).
    Use the Zcomponent in your standard component and make available in std. view's properties
    Create an event handler SET_DATA method for your Zcomp's event as below
    Now, inside this method, you get the parameter CONTEXT_ELEMENT and get the data from this context element as below
                   context_element->get_attrribute( ) or
                   context_element->get_static_attributes( )
    You can populate the data into standard component based on the obtained value from Zcomponent.
    Hope this helps you.
    Regards,
    Rama

  • Navigating from Custom Component to Standard Compoent(IUICCON). Getting Exception "Define Component Usage 'Random Component Usage of Standard component'"

    Hi Everyone,
    We have a requirement to
    Navigate from Custom Component to the Standard Component(IUICCON – Contract
    management) on the basis of some conditions.
    We tried navigating with Manual
    as well Dynamic Navigation. The Navigation is happening properly and the Navigation is completed and we are on the Contract
    Management Screen(Standard component View).
    On the Contract Management
    screen (standard Component view), when we click on New Contract Button; it throws dump stating “Define
    Component Usage IUICOBJ”. After debugging we identified that the issue was with the Parent class/ component is getting changed, because of which the usage was not found.
    Appreciate your help.
    Thanks in Advance.
    Regards,
    Bhavikjp.

    Hi Bhavik,
    Check which is the active enhancement set at the runtime in the component_loading BADI.
    If it is anything other than your enhancement set,Set it to your enhancement set .
    Check if the parameter WCF_IGNORE_ENHANCEMT in Tcode SU01 is set to 'A' for the User.
    Regards JP.

  • Standard component for rendering WPC Pages

    Hi Everybody,
    I'm looking for the standard component that is used to render a Web Page Composer Page.
    I'd like to create a wrapper for this component. But I can't seem to find which component I need to create a wrapper for.
    Does anybody know what component I need to do this? And can this component be called using a url? This would make things even easier for me.
    Thanks in advance.
    Kind regards
    Wouter Delellio

    Let's assume you want to create a custom renderer which will be used to render the error-messages (the h:messages tag). The component-family in this case is: javax.faces.Messages, the renderer-type javax.faces.Messages.
    Therefor in your application's faces-config.xml add this renderer-statement (inside a render-kit, obviuosly):
    <faces-config>
      <!-- other stuff like components, managed beans, navigation-rules,... -->
      <render-kit>
        <renderer>
          <component-family>javax.faces.Messages</component-family>
          <renderer-type>javax.faces.Messages</renderer-type>
          <renderer-class>my.very.special.MessagesRenderer</renderer-class>
        </renderer>
      </render-kit>
      <!-- other renderers... -->
    </faces-config>The code for MessagesRenderer is very dependent on your needs, therefor I will not post something here. Basically you need to extend javax.faces.render.Renderer. For help in that camp, surf to the online tutorials or get yourself a book (I learned a lot from Kito Mann's "JSF in Action"). Additionally grab the source for Sun's RI AND Myfaces and dig into that java-code. There is a huge learning potential looking at that source-material.
    hth
    Alexander

  • To fetch data from a standard component through Component Controller

    Hi,
    I have a requirement in which i have to access and display a standard view of a standard component in a Custom Component.
    I am able to display or configure that view on Custom Component by using Component Usage and Component Interface. But unable to populate the data in that view. Although i have exposed a context node in the standard component and created the same context node in my custom component in the Component Controller and using its method WD_USAGE_INITIALIZE to bind them.Please, provide some pointers on it.
    Cheers,
    Sharad

    Hi Sharad,
               The data will show up only if you put them there. May be the standard component itself gets the data from some where else. Usually, these data are provided by the component controller. For example, the component controller contains the header entity and the used component has access to the header entity via binding and shows all item entries fetched via relations(usually this is done in on_new_focus method). If the binding is there, but no data ia available, it will stay empty.
             Check a standard main component which uses the standard component that you are using and look at how they are establishing the connections.( component/custom controller bindings, on_new_focus methods,,)
    Regards,
    Arun Prakash

  • Error while enhancing standard component CRMCMP_CND

    Hi,
    We have one requirement that Phase Id and Offer Id needs to added in the /SAPCND/GCM transaction and the same needs to be disaplay in the web ui.  So we added two fields in field catalog after that we made two implementation in /SAPCND/ROLLNAME and CRM_COND_COM_BADI.
    Now the funtionality is working fine in the GUI and in WEBUI the field is added but the F4 value is not visible in the new web ui screen.
    So I tried to enhance the standard component CRMCMP_CND, in order to retreive the F4 value help.  While selecting the context node in the standard view CondRecEditView we are getting the status message u201CError during analysis of method REATE_CONDRECORD of class L_CRMCMP_C_CONDRECEDITV0_CTXT. Message no. BSP_WD_TOOLS031u201D
    In standard view itself I am getting this error and while enhancing the component the context node is not converted in to Zclass.
    If we try to add attribute from the context node its giving error create_condrecord does not exist error.
    So I am unable to proceed further.  If any one aware how to solve this issue kindly let me know.

    Hi,
    While enhancing a view of a component only the controller (xx_IMPL) and the context class (xx_CTXT) are extended into Z classes. Context nodes (xx_CNXX) are not automatically extended. You have to do it manually only for the context node(s) you would like to modify. Indeed there is a message that appears when you select the context node but this is not the reason why the CN class is not extended.
    What you have to do is to redefine the method CREATE_CONDRECORD in class ZL_CRMCMP_C_CONDRECEDITV0_CTXT and create a new class ZL_CRMCMP_C_CONDRECEDITV0_CN00 that extends CL_CRMCMP_C_CONDRECEDITV0_CN00
    In ZL_CRMCMP_C_CONDRECEDITV0_CN00 implement method GET_V_xx for the field you want a search help on
    Regards,
    Fabian

  • Standard Component in CRM that will call RFC Function Module

    HI all,
    Is there any Standard Component in CRM that will call RFC Function Module from ECC and that called RFC FM should Fetch the data from ECC.

    You can call RFC from different places, like programs, function modules, web dynpros, classes...
    So you just have to have appropriate RFC on ERP side and call it from CRM side. To call it you use the following statement...
          CALL FUNCTION 'YOUR RFC FUNCTION'
            DESTINATION i_dest "name of server
            EXPORTING
              your export parameters
            IMPORTING
              your import parameters
    Regards.

  • Best Practice : Creating Custom Renderer for Standard Component

    I've been reading the docs and a few threads about Custom Renderers. The best practice seems to be to create a Custom Component where you need a Custom Renderer. Is this the case?
    See [this post|http://forums.sun.com/thread.jspa?forumID=427&threadID=520422]
    I've created several Custom Renderers to override the HTML provided by the Standard Components, however I can't see the benefit in also creating a Custom Component when the behaviour of the standard component is just fine.
    Thanks,
    Damian.

    It all depends on what you are trying to accomplish. Generally speaking if all you need is for the user interface output to be changed then a renderer will work just fine. A new component is usually made in order to provide some fundamental change in server side functionality not related to the user interface. - Ponderator

  • Difference between Basic Component and Standard Component

    Hi Iam just learning JSF, at the same time I try to learn to use Sun Java Studio Creator at the same time. May I know what is the difference between the Basic component and the Standard component in the IDE.
    I have been using the Grid Panel, each time I need a header I manually t ype
    <f:facet name="header">
    </f:facet>
    in the JSP source code. How can I do this visually?
    Thanks,
    james

    The Standard section in the Palette contains the JavaServer Faces reference implementation components. The IDE provides the standard components for backwards compatibility with projects that were built with earlier versions of the IDE. Because the standard components provide less functionality and require more programming, you should use the visual components from the other Palette sections.
    I do not know the answer to your second question.
    Chris

  • How to add "ATTACHMENTS" assignment block in standard component ERP_H

    Dear All,
    I have a requirement where i have to add the "Attachments" assignment block to standard component "ERP_H". I have taken following steps so far and i am able to display the view in the component ERP_H, however no funtionality has been defined.
    I created a component usage of component "GS_CM" in the runtime repository of component ERP_H
    and now i am able to display the assignment block in the overview page of component ERP_H
    Now i have to create a custom controller and here is where the problem lies. When i try to create a custom controller, it asks for a BOL Entity, and in order to have the same BOL entity as in component GS_CM, i have to add Model "CM" to the runtime repository of component ERP_H, however i m not able to add Model CM in the runtime repository of component ERP_H unabling me to create the custom controller.
    Any pointers would help, if there is any other way to create custom controller instead of adding bol component in the runtime repository.
    Regards,
    Pradeep

    hi,
       can you please add the solution , how u have done  it?

  • Custom renderer on standard component

    I try to implement a custom renderer to a standard component (<h:outputText>), but
    my Tomcat failed to start the webcontainer.
    here are my files:
    faces-config.xml
    <render-kit>
    <renderer>
    <renderer-type>MyRenderer</renderer-type>
    <renderer-class>renderkit.MyRenderer</renderer-class>
    </renderer>
    <supported-component-class>
    <component-class>javax.faces.Text</component-class>
    </supported-component-class>
    </render-kit>
    ...renderkit.MyRenderer.java
    package renderkit;
    import java.io.IOException;
    import javax.faces.component.UIComponent;
    import javax.faces.component.UIOutput;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import javax.faces.render.Renderer;
    public class MyRenderer extends Renderer {
         public void decode(FacesContext context, UIComponent component) {
              System.out.println("decode");
              if ((context == null) || (component == null)) {
                   throw new NullPointerException();
         public void encodeBegin(FacesContext context, UIComponent component)
              throws IOException {
              System.out.println("encodeBegin");
              if ((context == null) || (component == null)) {
                   throw new NullPointerException();
         public void encodeChildren(FacesContext context, UIComponent component)
              throws IOException {
              System.out.println("encodeChildren");
              if ((context == null) || (component == null)) {
                   throw new NullPointerException();
         public void encodeEnd(FacesContext context, UIComponent component)
              throws IOException {
              System.out.println("encodeEnd");
              UIOutput comp = (UIOutput) component;
              ResponseWriter writer = context.getResponseWriter();
              StringBuffer sb = null;
              writer.startElement("<test>", comp);
              writer.write(comp.getValue().toString());
              writer.endElement("</test>");
    }

    <h:outputText> will use a rendererType of "javax.faces.Text"; to use a custom renderer on a standard component, you must not only write a renderer and register it, but also add a custom tag that uses that renderer type. Alternatively, you could use the "binding" attribute to set the renderer type like:
      <h:outputText binding="#{someBean.customText}" .../>
    public class SomeBean
      public SomeBean()
       HtmlOutputText customText = new HtmlOutputText();
        customText.setRendererType("MyRenderer");
        setCustomText(customText);
      public HtmlOutputText getCustomText()
        return _customText;
    public void setCustomText(HtmlOutputText customText)
       _customText = customText;
    private HtmlOutputText _customText;
    }-- Adam Winer (EG member)

  • How to refer standard component to create customize component?

    Dear experts,
    Can any one guide me how to refer a standard component to understand the flow of the event of with in the views and there are various methods are present to change properties of a field property. How can we refer the standard code for changing our field property?
    with regards
    crmfresher.

    Hi,
        The CRM 2007 Webclient cookbook is available if you have a marketplace ID.
    Refer to this thread.
    [CRM 2007 WebClient Cookcook available!;
    Regards,
    Arun Prakash

  • Business content for standard component is missing in BW

    In a new BW implementation project what I have done is
    1) activate all datasource in R/3
    2) Replicate datasource in BW
    3) Activate infoobject in business content.
    The problem is, when I go to Business content >InfoObject by Application component> All I see is node OBWTCT ( Technical Content ). Why I Don't see the standard component ex FI SD COPA etc ?  Is there a step missing ?

    Hi,
    Maybe you did not activate the infoareas/infocatalogs.
    Try this:
    -Tx(RSD1)
    -Find any of the infoobject that you activate and check where is present the infoobject.
    Regards
    Assigns point if useful

  • Enhancing standard component with new component usage

    Hi!
    I try to enhance standard component /SAPSRM/WDC_AOFC_BEV with new component usage (say, SALV_WD_TABLE). It allows me to add new usage, but the usage does not appear in the "Component Usages" tree node.
    Is it a bug? Is it possible to enhance a standard component with new component usage?

    Hi Thomas!
    We've been communicating with SAP on this issue for a while and last response we obtained is next:
    Dear customer,
    the possibility to create external controller usages (as required for
    the ALV-usage) is not supported by the Web Dynpro ABAP development
    tools. However, you could try a programmatic apporach by adding the
    ALV-usage dynamically (e.g. in methods or method exits created within
    your enhancement implementation).
    See test component WDR_TEST_DYN_ALV_USAGE for details.
    What's your opinion on this? Is it really not a bug?

  • Created  A view in standard Component.

    Hi All,
           I have created few view and view set In a standard component As per my requirement . This view and view set is created successfully .
    But when I want to add the view or view set In Runtime Resportiory it is not visible.
    For E.g. I want to add the view in Overview page but the view is not showing.
    Some where We have to append.
    Any pointer can help me.
    Thanks in Advance
    Thanks & Regards
    Rasmi Ranjan Pradhan

    Hi Rasmi,
    Are you searching the view in the enhanced component itself?. Usually people do a mistake that they give the standard component name and the view won't be visible. While giving the component name, give with Z.
    Thanks,
    Faisal

Maybe you are looking for