CRM IC Web - Inbound Plugs

Hi,
I have created a Custom view and attached the same within the Viewset 'BuPaIdentifyCustomer'. The Custom view is displayed as needed.
I am trying to link 'BuPaSelectCustomer' and my Custom view. BuPaSelectCustomer displays all the customers in tabular format, and the first column is a button, on click of which method EH_ONSELECT is triggered.
I have created a navigational link in BuPaNavigationalLinkGlobal.xml as follows:
                   <NavigationalLink name="intrec">
                    <Source viewRef="BuPaSelectCustomer" outboundPlugRef="default"/>
                    <Targets>
                         <Target viewRef="Z_CRM_IC/IntRecords" inboundPlugRef="INBOUNDPLUG"/>
                    </Targets>
               </NavigationalLink>
The Outbound plug method in the source view is triggered.
I have created manually an inbound plug method 'IP_INBOUNDPLUG' in the target view controller class.  This method is not getting triggered.
Can anyone please help me out in the same?
Thanks,
Shankar

Hi All,
The problem is solved. The inbound plug method's visibility was protected, it has now been set to Public and its working fine.
Thanks,
Shankar

Similar Messages

  • Call Inbound Plug or other method of usage component

    Hi guys,
    in crm web ui  i created one component named "A" which has several component usages. One of the usage component is named "B".
    Now the usage component "B" has an inbound plug called "ClearAll", which i want to trigger from component A.
    How do i do that? Or more specific, how do i get the interface controller of component B, so that i can call a the inbound plug method "clearall",
    My Problem is not about Popups.
    in WD_USAGE_INITIALIZE i'm already able to populate the context, but what i need is a method call before or after sharing the context node:
    call method super->wd_usage_initialize
         exporting
           iv_usage = iv_usage.
       case iv_usage->usage_name.
         when 'CUBP_HEAD_SEARCH'.
           try.
             iv_usage->bind_context_node( iv_controller_type  = cl_bsp_wd_controller=>co_type_component
                                          iv_target_node_name = 'PARTNER2'
                                          iv_node_2_bind      = 'PARTNER' ).
    Thanks!

    Very Good ! thanks for this, i also analysed a little bit yesterday and achieved to really call the window controller:
    What i wanted to do is to call the clear_all of BP_HEAD_SEARCH - component, which i always specified as component B.
    In Component A using BP_HEAD_SEARCH, i hooked some coding into method DO_PREPARE_OUTPUT of the only View, which is an overview Page
    Hooking up this method, i'm sure that the initialitation of all context nodes etc. of component B took place and i'll be able to successfully call the inbound plug:
    if me->prepared_output <> 'X'.
      data lr_usage type ref to cl_bsp_wd_component_usage.
      data lr_if_window type ref to cl_bp_head__searchhelpwin_impl.
      data lr_if_window_abstr type ref to  cl_bsp_wd_window.
      lr_usage      ?= me->comp_controller->get_component_usage( 'CUBP_HEAD_SEARCH' ).
      lr_if_window ?= lr_usage->get_interface_view_contr( 'SearchHelpWindow' ).
      lr_if_window->ip_clear_all(  ).
    endif
    the clue was not to use the interface if_bsp_wd_component_usage, but to use the class cl_bsp_wd_component_usage as type of the usage object.
    Doing so, i'll be able to call method get_interface_view_contr which will give me the window controller finally.
    But your solution is good as well !
    Thanks!

  • Event handler of inbound plug not called when plug fired by event handler

    Hello All,
    I have a rather bizzare problem, hopefully someone out there can figure out what is going on, as I'm rather stumped.
    I have 2 views, A and B. They are linked by plugs, InA, InB, OutToA, OutToB. OutToB is linked to InB from A to B, OutToA is linked to InA from B to A.
    There is an onActionLink in view A. Clicking on this triggers an action which calls the wdFirePlugOutToB method.
    In view B some handling is done in the method onPlugInB, then wdFirePlugOutToA is called to change the displayed view back to A.
    As far as the user is concerned they don't ever see view B. (this bit works perfectly!)
    Now also in view A I have an event handler which handles a event from the component controller. It also calls wdFirePlugOutToB.
    If I trigger an event in the component controller this event handler is called and the method called. However, when I put a breakpoint in the onPlugInB, flow never reaches here. Flow does get to the wdDoModifyView of view B but never to the inbound plug event handler.
    Any suggestions as to what I might need to do? I would have thought calling the wdFirePlugOutToB method would ALWAYS trigger the linked event handler onPlugInB.
    I am running NW04 SP18.
    Thanks!

    Hi Bharathwaj,
    The project I'm working on has a requirement to allow for a road-mapped process (FPM) which has one step in which multiple screens can be accessed. I'll give an example: A user in step A selects the cost centre that they want to work with, in step B they need to maintain several pages of information about this cost centre. The do not want to break this information into steps, as there is no logical progression from one step to the next, and it may well be that the user wishes to go from maintaining screen 1 to screen 3, and then screen 2, and then screen 4. Stepping between all screens (1->2->3->2->3->4) wastes time and is not very user friendly. Step C of the process confirms the data that the user entered in step B, and Step D is the validation that the changes have been committed to the database. (a very familar 4 step process for those using ESS).
    To allow for this requirement, I have designed a left navigation pane type screen. links appear on the left of the screen and the user can use these to navigate between different screens (implemented as FPM IVAC VCs) on the right of the screen.
    It is quite an elegant solution (even if I do say so myself although quite complex to implement. I have relied very heavily on reading the code SAP put together for the FPM. The most complex part is that in order to update the the content of view containers in an application you must trigger a web dynpro view navigation by firing a plug to a different view.
    Unfortunately I don't have any sample application code, only the finished product, which I can't really share. But I can say that if you look at the FPM code carefully, working from where the wdInit of the FPM is called, it will eventually make sense.
    One thing I found slightly frustrating, you can't use the FPM's component usage register (FPM method attachComponentUsage(IWDComponent, IWDComponentUsage)) to add a VC... darned inconvienient really (you'd think that the web dynpro framework could have implemented the concept of extending an interface, but the IBLC and IVAC interfaces are different! - even though the IVAC is just IBLC + a few methods), but then again you can manage the instantiation of the used VC yourself and call the onInit method of the VC passing the current fpm reference, to attach it to a common FC, and given that you should be sharing context through the FC and never the VC, then really this isn't too much of an issue. (I spent ages worrying that I couldn't add the instances of the VC that I was using within my navigation pane VC to the fpm instance list, until I realised that it really didn't matter!)
    One day - when I have time (yeah right!) I might put together a blog about this sort of stuff, in the meantime, it keeps me plenty busy enough not to have the time!
    Hope this helped in some small way,
    Cheers,
    Chris

  • Can't call Inbound Plug before DO_VIEW_INIT_ON_ACTIVATION

    Hi everyone,
    I have a custom quotation search page containing an extra column (quotation-ID) that:
    shows the quotation id
    acts as a link
    points the user to a completely custom screen
    In this custom screen I need to access the GUID of the selected quotation. Here's how I solve this:
    Event handler -- called when user clicks Quotation ID
    Using dynamic navigation, I redirect the user to the page containig my custom UI object type 'ZREA_FOLLOW_BCG', and I pass along the quotation that was selected, the entire entity. (see partly code below)
    CALL METHOD cl_crm_ui_descriptor_obj_srv=>create_entity_based
        EXPORTING
          ir_entity           = lr_entity
          iv_ui_object_type   = 'ZREA_FOLLOW_BCG'
          iv_ui_object_action = 'B'            "display
        RECEIVING
          rr_result           = lr_desc_object.
    Inbound Plug -- fired when navigating
    I created an inbound plug 'IP_FROM_SEARCH' in my custom window. In SPRO I made sure this IP is called when navigating dynamically using my UI object type. (see image)
    In the body of this inbound plug I can access the quotation in the local variable 'iv_collection'. I pass the GUID of this entity on to a public attribute of the component controller. This way I will be able to access it from everywhere in the component. (see code partly below)
    lv_guid = lr_entity->get_property_as_string( 'GUID' ).
    lr_coco->current_rea_guid = lv_guid.
    DO_VIEW_INIT_ON_ACTIVATION
    In DO_VIEW_INIT_ON_ACTIVATION the following code lets me access the GUID from the attribute in the component controller:
    lr_coco ?= me
    ->comp_controller.
    CHECK lr_coco IS BOUND.
    lv_value = lr_coco->current_rea_guid.
    As a result, I now possess the GUID I wanted, and I can load my custom screen using this GUID.
    However.....
    All of this works fine. The inbound plug is fired, and then comes the DO_VIEW_INIT_ON_ACTIVATION, as it should.
    But when I test this in the webui, and I then click the 'Back' button, I'm being redirected to my custom search page. If i then select another quotation, the custom page loads again, but using the quotation that I selected the first time!
    I debugged this and I noticed the following: The second time (after I pressed 'back'), the DO_VIEW_INIT_ON_ACTIVATION is loaded BEFORE my inbound plug is. This is why the GUID is not updated yet...
    Can anyone tell me how I can make SAP fire the inboud plug first? Maybe I need to clean something up?
    Thanks in advance!
    Jonathan

    Hi Jonathan,
    have you tried to put the code you have in the DO_VIEW_INIT_ON_ACTIVATION method in a different method? I'd suggest putting this code in the DO_PREPARE_OUTPUT method.
    The following post contains th eorder in which the different methods of a component are called: Order of methods in WEB UI. Maybe this is also useful for you.
    Best,
    Christian

  • Is one out bound plug pointing to many inbound plugs ?

    Hai Experts,
                              i hav the doubt one outbound plug is pointing to many inbound plugs  in different view is it possible.
                             in web dynpro ABAP.
                              plz help.

    Hi,
    Yes it is possible to have one outbound plug for multiple inbound plug
    depends on the condition you mention.
    For example
    If you enter range between 10 to 20 you may fire VIEW1 or
    if you enter range between 20 to 100 you may fire VIEW2.
    When creating navigation link you can set one outbound plug to multiple inbound plugs.
    Regards and Best wishes.

  • The Web Service plug-in failed in OrganizationId and Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation

    Hi All,We are receiving below errors in our production envrionment as The Web Service plug-in failed in OrganizationId: c28f361a-8111-e211-b7f2-68b599c03df8; SdkMessageProcessingStepId: 36ccbb1b-ea3e-db11-86a7-000a3a5473e8;
     1.EntityName: userquery; Stage: 30; MessageName: RetrieveMultiple;
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    2.EntityName: email; Stage: 30; MessageName: RetrieveMultiple
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    3.
    EntityName: plugintype; Stage: 30; MessageName: RetrieveMultiple;
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed firstPlease give us idea on above issues.
    Natarajan.V

    Hi,
    What version of CRM you are using? Does this happen when you open the case record?
    We have faced the similar for Account record and was solved using below query. I am not sure about incident.
    Update ACC
    SET ACC.Merged = 0
    from AccountBase ACC
    WHERE ACC.merged is null
    Do you have case merge option enabled on incident entity? As per the MS it is enabled for CRM 2013 SP1 and CRM 2015.
    http://www.microsoft.com/en-us/dynamics/crm-customer-center/merge-similar-cases.aspx 
    Thanks!
    Kalim Khan

  • How to link Inbound plug between 2 windows

    Dear All,
    I create a linktoaction link,
    and I want come out when I click this link then windows.open a new view in other windows,
    by the way have some data transfer between 2 views,
    if 2 viewes in one windows is easy ,but my task is in  2 different windows !!
    I don't know  how to use Inbound plug or Outbound plug ?
    can you help me  ?

    Doke,
    In a Web Dynpro project, only applications can be addressed by a URL. So, trying to get a URL for your new Window may not be possible. There are 2 ways to get past this issue though.
    1. Use the approach suggested by Satyajit in [this Blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7143].
    or go this way. I tested this and it works.
    2(a). In your popup window, 'Win_Popup' embed an 'Interface View' say"Popup_InterfaceView".
    2(b). Assign a plug of type 'Startup' to this Interface View and to embedding Window too if you are using CE 7.1.
    2(b). Create a new Application say "Popup_App"and assign your newly created Interface View "Popup_InterfaceView" as its target.
    2(c). Get URL for this new application like this.
                 String deployableObjectName = wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
                   try {
                            WDDeployableObjectPart deployableObjectPart = WDDeployableObject.getDeployableObjectPart(
                            deployableObjectName,"Popup_App",WDDeployableObjectPartType.APPLICATION);
                            String urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart);
                   catch (WDURLException e)
                          messageMgr.reportException(e.getLocalizedMessage(), false);
    2(d) Use the generated URL for navigation.
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(urlToTargetApp ,"title");
    wdContext.currentContextElement().setWindowRef(window);
         window.setWindowSize(300, 300);
         window.setWindowPosition(50, 50);
         window.setTitle("Title Name");
         window.open();
    This works.
    Hope this helps.
    Vishwas.

  • Displaying custom BI queries on CRM 2007 WEB UI

    Hi,
    I would like to know the process involved in displaying a custom BI query in CRM 2007 WEB UI. Can someone please advise ?
    Regards

    Hello,
    there is SAP documentation available for this on service.sap.com/crm-inst
    It is in the CRM 2007 -> Webclient UI folder.
    cheers Carsten

  • Getting an error while creating a ERP Quotation from CRM Sales Web-UI.

    Hi Experts,
    I am getting an error while creating a ERP quotation from CRM Sales Web-UI. Here  I am enclosing the screen shot. Please give me the solution for this.Thank you in advance.
    Regards
    Kishor Kumar.

    Hi Kishore,
    Please refer to the link below -
    Entry of ERP Sales Documents in SAP CRM - Sales Quotation and Order Management - SAP Library
    Also, refer to the SAP note -
    1446253  - FAQ note: ERP documents in the CRM Web UI (lead-to-cash scenario)
    This note will give you the related topic and the configuration required through SAP help links.
    Hope this will be useful.
    Thanks and Regards
    DJ

  • Invoking Siebel CRM OnDemand Web Service via BPEL

    I'm trying to invoke a Siebel CRM OnDemand Web Service via BPEL. Basically, the Siebel guide says to post to a url with user/pwd to get a session ID returned from a cookie. I did that using embedded java and have the session ID as a variable in my BPEL process. My problem is with now calling the Web Service to perform the action. I have a WSDL from Siebel, but the guide says to use an HTTP post with the session ID in the url and the XML in the body. How do I do that? Shouldn't the WSDL handle that when I create the Partner Link? Do I need to use more embedded Java for this or can I set up a Partner Link? I created a Partner Link and it shows the methods I want to use, but I get the following error when I try to call it because I don't know where to add the session ID:
    <ErrorCode xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">SBL-ODU-01006</ErrorCode>
    <ErrorMessage xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">Internal Error: Session is not available. Aborting.</ErrorMessage>
    Any help would be GREATLY appreciated. Please let me know if you need more information.
    THANKS!

    The Siebel OnDemand web services can accept the siebel session token in the URL. Append ';jessionid={%sessionIdFromCookie%}' to the end point. Obviously this has to be done dynamically. Refer to the article called 'Making BPEL Processes Dynamic' (http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html) pay particular attention to the 'Eliminating address dependency at run time' section.
    Peter

  • Creation of Tech Master data with CRM IC Web Client

    Hi Experts,
    I have a query regarding creation of Technical master data via CRM IC Web client ( CRM7.0 & ECC6 for ISU)
    1) If we are using CRM IC web Client then , how the creation of Technical Master Data is triggered from web client ?
    2) Where the technical master data created first ISU or CRM ?
    If anyone has the info on this please let me know.
    regards,
    Sagar

    Hi Sagar Arvind Phirke,
    1) You need to configure CRM Middleware to exchange data between CRM and IS-U;
    2) Data is created first in CRM, then it's replicated to IS-U.
    Check this helpful documentation: http://help.sap.com/saphelp_crm70/helpdata/en/46/66235fc77c453a8696f76c66e8014c/frameset.htm
    Best Regards,
    Pedro Nunes

  • Add extra Business Objects to model CRM 2007: Web Client Records

    Hello,
    Could anyone tell me how I can add more Reference Objects in Case Management?
    I copied the model CRM 2007: Web Client Records and added a new node (with for example Business Object Service Order) just like product and installations (which are visible under the reference objects)
    I created a new element type under SCMG_SP_CASE_RECORD --> Z_CRM_SPS_CASE_RECORD and in the customizing we attached the model to the case type under Case Management --> Extended Customizing --> Process Actions --> Assign Action Profile to Case Type.
    Still the new Business Object in the model isn't visible under Case Management in de WebUI.
    Could anyone tell me if I'm missing something or is there a config guide available how to add more business objects?
    Looking forward to your replies.
    Kind regards,
    Joost Christenhusz

    Eddie,
    Are you familiar with Access Control Engine (ACE)?
    Go through this -> http://help.sap.com/saphelp_crm50/helpdata/en/04/0177f9bb67ac4cafb84bb4d4c1d8fc/content.htm.
    and https://websmp205.sap-ag.de/~sapdownload/011000358700002121742006E.
    Authorizations in CRM are controlled through ACE.
    Hope this helps.
    Amar.

  • Pass export file/directory name in Web Engine plug-in

    I use a custom Lightroom web engine plug-in that I use to publish my website (5000+ pages).  Here is an example of an output section:
    http://www.johnkane.com/2010-03-01-MuirWoods/index.html.
    I use Dreamweaver to synchronize all the assets such as menus and links, including the plug-in files (Lua pages).  Each web gallery is published to its own folder in my website.  It works great except that every time I publish/republish a web gallery, I have to scroll and identify the directory in the Export / Save Web Gallery dialog box (or type the file (directory) name in for an initial export/publish).
    I have created a panel text box and variable (metadata.directoryPermalink.value) that can contain the directory name.  By storing this directory permalink along with the web gallery, I hope to ensure that each gallery is always published to its correct directory...
    ... except I don't know how to pass this variable to the export dialog box (as "File name" which actually is the directory name all the gallery files are exported to.
    Do I specify this in the manifest?  I don't see references in either the manifest or galleryInfo files... or in the sdk LrWebViewFactory section.  Perhaps I've missed it?
    Any help appreciated!
    Thanks,
    jk

    Hi,
    I haven't tried to write a web engine so don't know the answer off the top of my head. A quick glance at the SDK guide and the two SDK samples didn't give me any hints at the answer.
    Before I nudge one of the gallery developers to see if they know the answer I need to confirm one thing. Can you please confirm you have a file in the same directory as your manifest using the name "myfunctions.lua", and that your require statement looks something like this:
      require "myfunctions"
    (Thie filename should be considered case sensitive).
    I know its an obvious question but I need to ask before I ask one of the others for assistance.
    Matt
    UPDATE: It might also be worth having a look at Sean's 3 post series on web galleries, which is the only other resource I can recall re building web galleries.
    Added additional resource re web gallery development

  • Developing a Web Gallery Plug-in

    Hi - hope I'm in the right place.
    I'm pretty new to LR and am attempting to develop a Web Gallery Plug-in using the SDK (so far, so good).
    A  couple of things puzzle me.  First, the model statement in  galleryInfo.lrweb appears to control many things -- the documentation  refers to tags imported from com.adobe.lightroom.default, but I'm not finding the file or any documentation for that.  Second (and similar), there is reference to a custom.css file that appears to control a lot of this, too.  Likewise, I'm not finding that file or any documentation for it.
    Am I missing a major concept here (I'm not a web guru)?
    Thanks for any help.

    Custom.css is the file created from the ["appearance.XXX.XXX"] statements as specified in the manifest.lrweb file (page 130/131 in my version of the PDF)

  • Pdf doc  is required for  B2C  CRM 2007  WEB SHOP

    Hello Experts,
    We have a scenario where (pdf doc ) is required for  b2c Header level and tem level in CRM 2007 web channel.
    we  have set up a product and product catalog and maintained a PDF document in the HEADER AREA--
    Documents Tab--BDS_PDF folder.
    After intial replication Documents was published in the following path 
    *catalog/DE DE161EE3D35DAAF19F1E000C29D94525.pdf     *
    we are able to find images and pdf in the  index server but unable to  see the same in the web shop.
    Did I miss some thing ? Do I need to do any other settings in XCM or in JSP?
    Thanks in advance
    Namitha Verma

    Hello  namitha Verma
      I am facing the same problem, are  you able solve the problem kindly let me know .     
    Regards
      Kiran Posanapalli

Maybe you are looking for

  • Stuck in file transfer mode?

    I recently bought a NOkia 5310 express music phone, and I'm trying to copy some songs onto it. Whenever I try to get it set up to copy the music it says that my phone is "in file transfer mode, and cannot be use with pc suite, quit file transfer mode

  • Additional Field(customized) in G/L acct bal line item display FS10N-FBL3N

    Steps done: 1st: I appended an extra field(customized) to RFPOS and RFPOSX structures. 2nd: Went to FIBF and looked for BTE applicable and found sample_interface_00001650. (Line item display: Add data per line) 3rd. I copied sample_interface_00001650

  • YYYYMMDDUUMMSS ?

    Hi, How to get this in an variable without - of : YYYYMMDDUUMMSS date and time. Adibo.

  • Plant Maintenance Tables

    Hello All, I am curious to find a list of SAP Plant Maintenance (Preventive Maintenance) tables. Ideally, I would like to see a relational diagram too. Thank you in advance, Sasa

  • Any way to remove all "apps" for all users?`

    I get that the new start menu is a compromise, and it's neat that it's "back." What I'm not clear on, is if it's possible to remove/hide the "apps" for all users. I'm not keen on having all users have all of these, especially in a corporate environme