Problem visualizing a view of a z component

Hi guys,
I have created a new component and i have added it a view.
When i try to preview it i'm gettin these exceptions.
Clase excepción: CX_BSP_WD_RUNTIME_ERROR - La vista ZBP_DAT/ERPMat no se ha podido vincular
Método: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW
Línea texto fuente: 171
Creación de contexto fallida en vista ZBP_DAT/ERPMat de Aplicación /sap/crm_ic_preview
Se ha producido una excepciónClase excepción: CX_BSP_WD_INCORRECT_IMPLEMENT - Controlador de vista o custom se ha implementado con error
Método: CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING
Línea texto fuente: 51
Inicialización de vista ZBP_DAT/ERPMat de Aplicación /sap/crm_ic_preview fallida
Se ha producido una excepciónClase excepción: CX_BSP_WD_INCORRECT_IMPLEMENT - Controlador de vista o custom se ha implementado con error
Método: CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING
Línea texto fuente: 51
La vista & de Aplicación /sap/crm_ic_preview no se puede visualizar
Se ha producido una excepciónClase excepción: CX_BSP_WD_INCORRECT_IMPLEMENT - Controlador de vista o custom se ha implementado con error
Método: CL_BSP_WD_CONTROLLER=>DO_CONTEXT_NODE_BINDING
Línea texto fuente: 51
Any idea?

Hi,
Redefine the method wd_usage_initialize, you have to bind the interface view context node to the context node of the component ZBP_DAT.  Check for the component usage and bind the context nodes in method wd_usage_initialize.
METHOD wd_usage_initialize.
  CASE iv_usage->usage_name.
    WHEN 'zztest'.
          CALL METHOD iv_usage->bind_context_node
            EXPORTING
              iv_controller_type        = cl_bsp_wd_controller=>co_type_component
              iv_target_node_name  = 'TARGET_NODE'
              iv_node_2_bind           = 'SOURCE NODE'.
ENDCASE.
ENDMETHOD.
In the above code specify the controller type, that is where you want to bind the context node, is it component or custom controller.
Regards,
Arun
Edited by: Arun Kumar on Jul 1, 2010 9:04 AM

Similar Messages

  • Problem in changing CAPTION (header) of a View in Web dynpro component

    Hi All,
    I want to change the Caption (header) text of a View in Web dynpro component. But when i transport it the changes are not reflecting in other systems.
    Also when i activate the Web dynpro component in development system, it issues a message "The text belongs to package $TMP". But the Web dynpro component is assigned to a custom package.
    Any pointers to resolve this is appreciated.
    Thanks in advance.
    Regards,
    Navin.

    Hi
    Please check the 'text' property of the caption.
    e.g : If you are using OTR to bind the text then it might be possible that the OTR text belongs to $TMP package.
    Please explain how have you binded the caption ?
    Regards,
    Puneet

  • Visual Design view in JDeveloper doesn't work

    before it worked fine ,
    .... my friend gave me his code in UIX , i try to see the design from the visual design view , but I got surprised that that the design view didn't response .
    so could you please give the suggested solutions for this problems..
    Regards

    It would be helpful is you actually supply an error message or the actual UIX code that you are using.
    Also - how about openning a TAR with Oracle Support?

  • How to delete a view from a enhanced component?

    I wish to know the possibility of deleting a view from a enhanced component.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set. But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    I want to delete those views from the first component. Let me know How to delete a view from a enhanced component?
    Regards,
    Prabahar

    Hi Raju,
    If you do not need those enhancment views in any of the components ( ie IUICMD & IUICMRD ) , then open the BSP application in SE80 , under controller, there will be files with extension .do as yourviewname.do ...delete those !! These will not dele the Z classes....but just deletes their presence from the BSP...
    I would suggest following approch :
    1) go to SM34 , open BSPWDVC_CMP_EXT....Select you enhancement set and click on enhancement defination in leftside panel.
    2) now select the IUICMRD and CLICK ON CONTROLLER SUBSTITUTION...
    3) now you will see all the enhancement available for that component...Delete the entries for those two views from there...
    This is just deleting the entries...this does not delete any objects from the system.
    4)Now click on Back arrow, and delete the entry for IUICMRD...save.
    5) Now open BSPWD_CMP_WD for IUICMRD...you will get the enhance component button... You can now freshly enhance this component..
    6) We did not touch to the entries for IUICMD  in the BSPWDVC_CMP_EXT...So now if you open the component IUICMD in workbench with you enhancement set...you will see all the enhancement..including those two views which you wanted to delete from IUICMRD.
    7) If you want to delete the enhancement for these views...then right click on the enhance views and select Delete enhancement...You will get a popup listing IMPL, CTXT and CN classes, select all Z entries in the pop up and those all will be deleted physically from the system...and thus view enhancement will be rolled back...
    All the best !!
    Thanks & Regards,
    Suchita
    If you are not sure, you can create copy of IMPL, CTXT and CN classes in se80 and then proceed for deletion..You can also make copy of entire BSP in se 80 before deletion...

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • Weird event display problem in week view

    Hi. I'm getting a weird display problem in week view. First time this has ever happened.
    Some events appear to be missing, but when i double click on where I know the event is supposed to be, a new event is created (as excepted), and the missing events suddenly appear. When i move forward or back by a week, and then return to the week in question, the missing events are gone again. But, I can see the missing events in day view or month view.
    Any ideas?

    Dean,
    Next, try reinstalling the Mac OS X v10.6.2 Update (Combo).
    If that is unsuccessful:
    1. Use iCal>Export...>for each one of your individual calendars.
    2. Delete all but one of your calendars.
    3. Create a calendar and name it "Test."
    4. Delete the calendar which remained after step #2.
    5. Quit iCal.
    6. Remove the iCal plist, and drag the iCal plist file to your Desktop.
    7. Log out/in or restart.
    8. Restart iCal and use iCal>File>Import...for each one of the calendars that you exported in step #1.
    9. Delete the "Test" calendar, and any "Home/Work" calendar which was automatically created when you opened iCal in step #8.
    ;~)

  • Problem with a view in XK01 transaction

    Hi All,
    I am working on upload conversion for Vendor Master. While doing conversion, i am getting a problem with a Contact person view in XK01 transaction. In contact person view the telephone field column sometimes allowing to add data ,sometimes it's not allowing data which results an error in conversion program saying that the telephone field in not an input field. I don't know why the view is showing the telephone field like that.
    Can any one suggest the solution for this problem. I know this is configuration problem with a view but i posted in ABAP forums.
    Thanks

    Hi Ben,
    I assume that you are writing a BDC program to upload contact person information. If so, you are trying to populate a table control here. Please check to see if you are calculating the index to assign values to the correct rows.
    if you are calculating index in your program then i think it should be configuration problem as you said.
    Thanks,
    Ganesh.

  • Visual design view in Studio Enterprise 8

    I have recently discovered both Studio Enterprise 8 and Studio Creator, previous to which I was only using netbeans. However, I've been looking for a way to create either JSP applications or standar java applications with an IDE that has a visual design view in it.
    Studio Creator has a visual design view only for JSP pages, but it does not seem to have the robustness of Studio Enterprise 8. Studio Enterprise 8 has a Palette tool, but for the life of me I cannot find the visual design view in it. Is there a way to activate a visual design view in Studio Enterprise 8? or, do I need to download an add-on?, or do I really need to create projects in Studio creator to later transfer only the JSP pages to Studio Enterprise?
    Any help would be greatly appreaciated.
    TGD

    Besides the visual designer for JSP (Creator) , Swing GUI and UML (JSE8), what other types of visual designers are you expecting or wish for in JSE 8?

  • Calling a method in the view controller from the component controller

    Hi
    Is there anyway to call a method in the view implementation from the component controller??
    Thanks
    jack

    Thanks for all your replies. I want this kind of a functionality because Im trying to invove a DC (Child DC) from a Parent DC such that the Child DC's view is displayed onto the view container of the Parent DC. I have embedded using 'interface view of a component instance' in the Parent Window and am able to create the component and set usage though the onPlugDefault of the Child View.
    But I observe that when i make a call from the parent, the flow is like this:
    1. The wdDoInit of the Child Component Controller gets triggered first.
    2. Then the wdDoInit of the Child's <b>VIEW</b> gets triggered
    3. and <b>THEN</b> the onPlugDefault of the Child Component Interface View
    What I had actually wanted was to Fire onPlugDefault where Im calling a method LoadData(), after which the Child DC's view must be triggered so it can display the fetched data.
    What is actually happening is the view gets displayed, but no data is displayed in the view.
    Right now I have just given a work around where Im triggering <b>LoadData()</b> of the <b>COmponent COntroller</b> from the <b>wdDoInit</b> of the <b>VIEW</b>.
    Is there a better way to do this? I find it strange that I have to load the Data from the view.
    Thanks
    Jack

  • Problem with HTML viewer

    Dear All ,
    I am facing a problem with HTML Viewer . My senario is as follows :
    1. I have created one HTML page . On that page there are 4 Images
    2. I imported that HTML page in SAP with the help of transaction SMW0
    3. I Called that HTML page in my ABAP program using the method "load_html_document" of class cl_gui_html_viewer
    4. This is happening perfectly ok on the machine on which all this developement was done.
    But the issue is when I execute my ABAP program on a different machine , those Images on that HTML page are not displaying.
    Can you please guide me how to remove that machine dependancy?
    Regards,
    Nikhil

    Hi Nikhil,
    Please check if the image is properly imported properly. Also check if there is any option which you might have forgotten while imported like dependeency.
    Regards
    Abhii...

  • Need to access a context_node in an another view of the same component

    Hi experts,
    I need to access a context_node which is not in my view but it exist in an another view of the same component.
    The component is ICCMP_BP_DETAIL.
    i need the context_node "CUSTOMER" from the view Bupadetail to view Bupacreate. so that i can make those context_node Attributes available in the configuration screen.
    regards,
    chella.

    Hi Chella,
    You can access the context node from other view using the custom controler or getting a context node from view that you are and use the method get_parent(to get predecessor objet) or get_related_entity(to get sucessor object).
    I think the second way is easier.
    Use transaction GENIL_MODEL_BROWSER and GENIL_BOL_BROWSER to know in wich object you are and where you have to go!
    Best regards,
    Caíque Escaler

  • Copying view to the same component is not working

    Hi Experts,
    I have a requirement to split the Installed Base Hierarchy view (IBHIER/TreeEnhanced) into two parts.
    Each of these parts will show a specific number of levels in the Installed base hierarchy.
    So I was trying to copy the standard IBHIER/TreeEnhanced view using the copy option by right clicking on the view name.
    I have already enhanced the component IBHIER.
    While copying the view, I am proving the following values.
    I get a message that the view is successfully copied into the z bsp application.
    I can see the view added to the z bsp application in SE80.
    But I do not see the view added in the view list in the component workbench(bsp_wd_cmpwb).
    Can you please let me know the correct process?
    Thanks,
    Samrat.

    Hi Samrat,
    i have tested in my system..
    you have copied that view right then go to run time repository go to treeoverview into that view area add ur view by bspcomponent is zibhier and view is ur copied view.
    go back and load the component again the you will see the view.
    have you seen this link this is similar to your requirement..
    How to copy standard view in same component.
    just go through this you may get some idea..
    Regards,
    Srinivas.

  • Powerpoint problem in presenter view.

    I'm having a powerpoint problem in presenter view. For some reason it's only showing the slide I'm on, as opposed to showing the next slide as well. Anyone else ever run into this?

    I'm having a powerpoint problem in presenter view. For some reason it's only showing the slide I'm on, as opposed to showing the next slide as well. Anyone else ever run into this?

  • Calling a view into another Dynpro Component

    Hi,
            Could you please let me know the steps involved in calling one of the view into another abap webdynrpo applications.
    Thanks,
    Kumar

    If you want to use a view from another WD Component, then you have to have a Component Usage for that other view.  Have you ever used the ALV Component?  If so this is exactly the process that you would follow.  You can read more about the techique here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a7/1d8b412bb5b35fe10000000a1550b0/frameset.htm

  • Popup for view of the same component

    Hi,
    I want to display a view in a popup window, I know how to do it using interface view of an external component.
    But Is it possible to open a view of the same component in a popup window?
    Regards,
    Mauricio

    Hi,
    Create a window in you component, say MyPopUpWindow.
    In Runtime Repository, Attache the view of your component to this window.
    Now create a Component Usage , Say CUXyzPopUp , for your component as used component and use MyPopUpWindow in there. Always use F4 for attaching views, windows and attaching window to Component Usage.
    You are done !!
    Now use the usual code for creation of popup using this Component Usage.
    reuse_popup = comp_controller->window_manager->create_popup(
    iv_interface_view_name = 'ZCOMP/MyPopupWindow'  "#EC NOTEXT
    iv_usage_name = 'CUMyPopup'                      "#EC NOTEXT
    iv_title = lv_title  ).
    Hope this helps.
    Thanks & Regards
    Suchita

Maybe you are looking for

  • GR/IR Freight Clearing Account - GR & Invoice Verification

    Dear Gurus, I have made a PO for 1200 pcs unit price 69.20$.  (GR based IV).   (Valuation - Moving average price) Delivery costs - Freight (FRB1) - 1200$ I have splitted the PO quantity in to 3 different Inbound deliveries Inbound 1 - 400 pcs Inbound

  • Issue Action links,Column sorting in OBIEE(11g) 11.1.1.7.0

    Hello everyone, I want to provide the feature column sorting to my users but i dont want to provide any feature to users when they click on right mouse button.When we click on right mouse in action link column value it is giving the "action links","i

  • OWB process flow & Oracle Workflow

    Hi, In order to deploy the OWB process flow packages, is it necessary to have Oracle workflow installed on the Target server? When I tried to deploy a process flow package to the target database (10gR2 db), it required a user called owf_mgr. As far I

  • Reg:Single Check for Multiple Vendors

    Hi Experts, I want to Issue a Single check for all vendor open items... For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor, any idea

  • Format Payment Instructions with Text Output issue

    Hi All, We have requirement like don't want print checks in oracle, just process the payment, generate the document number(check number) in oracle and send the data file to third party system. It takes care the check printing. For this I developed e-