PCUI Button Call to custom URL

I understand and have implemented the CRM PCUI HTML viewer to call a custom URL within a tab. However, now I need similar functions from a button calling a URL and executing in a new window. Any thoughts on how to do this.

Hello,
I am doing some research on how to "improve" some navigation for the marketing planner pc-ui (crm 4.0).
Within this application the user use case goes something like this. 
They have done a search on trade promotions, set focus on a particular line in the results list, several tabs have rendered in the detail area 1...on the basic tab there is a button that says "generate customer event"...note this has been renamed by the customer...this button goes and creates the shell of a customer event...in fact the standard application issues an information message broadcasting the newly created event id upon completion.
The desired navigation preference is once the user pushes the button, force a save (with or with out a confirmation box) then open a new window for that specific customer event...so that the user can then direcly make changes with the full functionality of the application.  The users then plan to close the application window putting them back where they started.
I am aware that some simple generic searches with a second window could quickly return the newly created customer event(s), but the requirement to navigate like the above description continues.
Some questions.  Is this possible to change?  If yes, it is my guess that some changes are needed not only in crm but in the portal(EP) as well?
Any hints on how to provide this navigation feature are appreciated.
Also, is there any further documentaion on the the use of events and field groups for navigation, as I expect this is where changes/enhancements may be needed.
Thanks
Brian

Similar Messages

  • Toolbar Button to Open Custom URL for a Business Partner

    Hi All,
    for a CRM 5.2 implementation, I'm trying to open a URL in a new explorer window when on hte BP Account Overview ( Corporate Account ).
    I've created and added the Button, I've created an event, but when I launch the code behind the event to open a new explorer window, this does not work.
    I've tried several alternatives already ( see below ), but can't seem to find a working one.
    Can someone please helpme out ?
    Component BP_HEAD, view BPHEADOverview.
    CALL METHOD navigation->GOTO_PAGE
      EXPORTING
        URL     = 'http://www.sap.com'
       SESSION =
    or
    call method cl_gui_frontend_services=>execute
      exporting
        application = 'iexplore.exe'
      parameter   = 'http://www.sap.com'
      exceptions
        others = 1.
    or
      CALL FUNCTION 'CALL_BROWSER'
        EXPORTING
          URL                          = w_url
        WINDOW_NAME                  = ' '
          NEW_WINDOW                   = 'X'
        BROWSER_TYPE                 =
        CONTEXTSTRING                =
       EXCEPTIONS
         FRONTEND_NOT_SUPPORTED       = 1
         FRONTEND_ERROR               = 2
         PROG_NOT_FOUND               = 3
         NO_BATCH                     = 4
         UNSPECIFIED_ERROR            = 5
         OTHERS                       = 6.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks

    Hi,
    First of all I would advice you to post this question in the new CRM 2007 forum.
    We have created our own button that calls an URL in a separate window. Here is some coding from the method CALLBACK~GET_BUTTONS which may inspirere you:
    CONCATENATE 'javascript:window.open'
                  lv_http
                  '","Print","resizable=yes,height=850,width=700,dependent=yes,status=1");'
             INTO lv_java.
      ls_button-type     = cl_thtmlb_util=>gc_icon_print.
      ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SALESQUOT_PRINT' ).
      ls_button-on_client_click = lv_java.
      ls_button-page_id  = me->component_id.
      ls_button-enabled  = abap_true.
      APPEND ls_button TO rt_buttons.
      CLEAR ls_button.
      ls_button-text     = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
      ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
      ls_button-on_click = 'FOLLOWUP'.                          "#EC NOTEXT
      ls_button-page_id  = me->component_id.
      ls_button-enabled  = lv_persistent.
      APPEND ls_button TO rt_buttons.
      CLEAR ls_button.
    /Anders

  • PCUI Button - Call Function Module

    Hi,
      In CRMM_ACCOUNT Application, Relationships tab, I want to add a Button, which will pass the Selected Contact Person to a FM in CRM. Is there a way to do that?
    Thanks in Advance,
    Ranjan

    Hi Abdul,
             I want to pass the Selected Contacts to the FM and then generate VCard Files. Those files will be EMailed to the User who clicked on the button. That way we will be able to move the CRM Contact Data to Outlook. We have not implemented Groupware Integration and we want to have this work around till we get that functional.
    Thanks,
    Ranjan

  • PCUI - open New Window via Button (to call custom URL / HTML viewer)

    Hello group,
    I have followed the "Use CRM PCUI HTML viewer to call a custom URL" in order to create a custom URL to BW web template.
    However, instead of displaying the URL in a tab (this works fine), I want a Button in the Accounts view to open up a New Window displaying the URL there.
    Here is what I have done:
    Create Field Group & Structure
    Create Event
    - Usage: Layout-Relevant
    - Text: Web template call
    Added Event to Toolbar Group ACC_OIC
    Define Application Layout (CRMM_ACCOUNT) for Event
    - Position: New Window
    - Screen Element Type: HTML
    - my field group
    - my structure
    Define Application Set (COMM_BUPA)
    - my structure
    - my access class
    The button is there, when clicked the read-method of my access class is executed, but no New Window is opened with the URL displayed.
    Is there something I am missing? Can the HTML viewer not called in a new window?!
    I appreciate any input you can provide me.
    Thanks and regards,
    Erik

    I have the same problem. PCUI toolbar button open url http://www.google.com in new window   .
    It sames so easy open a link on web page.
    why so hard in PCUI !
    My god , who design the PCUI.
    anyone solve this problem , let me know please. Thanks!
    [email protected]

  • Calling wrong BSP url in CRM PCUI

    Hey
    Im using CRM 4.0 PCUI 60.2 and issue with an event on the Quotation BSP. In this application you have the opportunity to print/preview an quotation. If i press this button, a new window opens with following URL:
    http://myhost:8003/sap/bc/bsp/sap/ml_preview.do?
    The problem is that this url is incorrect and i get an BSP error. The correct URL should be http://myhost:8003/sap/bc/bsp/sap/crm_ml_preview/ml_preview.do?
    How can i change this url? should i do it in the config of the PCUI ? In that case HOW? or is it possible to  make an alias in the transaction SICF?
    Best Regards
    Kristoffer Engh

    Hi,
    we've already done a rework of the marketing attributes screen by using the technique I've described in my Weblog <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a>. But it has one drawback: You can't use the Save button of the PC-UI applicaiton. You have to provide your own. But the usability enhanchement is rearly great.
    Regards
    Gregor

  • CRM5.2 UI-Call a dynamic URL on button click

    Hi all, 
               My requirement is to call a dynamic url on the click of a button in the overview page. I have added a custom button in  the method  IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS , and the related code in do_handle_event.I have created a custom method for the button event. I have enhanced a custom controller and created an attribute.In the custom method created for the button event, I have written the code for retrieving the parameters to be passed to the url.
    In the layout of the view associated with the display view , I have written the following code for calling the URL in a new window.
    <%
    DATA: lr_cuco_EMA TYPE REF TO ZL_BP_CONT_BPCONT_IMPL,
          lv_url TYPE string,
          lv_url1 type string,
          lv_count type i.
      lr_cuco_EMA ?= controller->get_custom_controller( 'ZBP_CONT/BPCONT' ).
      check lr_cuco_EMA is bound.
      if lr_cuco_EMA->gv_VALUE is not initial.
      if lr_cuco_EMA->gv_COUNT IS NOT INITIAL.
      clear lr_cuco_EMA->gv_COUNT.
      endif.
      LV_URL = lr_cuco_EMA->gv_VALUE.
      Concatenate 'http:/' LV_URL  into LV_URL1.
      Concatenate '"http:/' LV_URL '"' into LV_URL.
        lv_count = lr_cuco_EMA->gv_COUNT mod '2'.
        if lv_count Ne 0.
      lv_url = lv_url1.
    endif.
      %>
         <scrpt language="Javascript">
            window.open(<%= lv_url%>).focus();
          </script>
       <%
             lr_cuco_EMA->gv_COUNT = lr_cuco_EMA->gv_COUNT + 1.
             clear lr_cuco_EMA->gv_value.
             clear lv_count.
             clear lv_url.
             clear lv_url1.
             ENDIF.
    %>
    But here my URl is getting called alternate times.If I do not write the code  by using the variable GV_COUNT the url is getting called only the first time of the button click  and to call the URL again you need to navigate back to the search page and again back to the overview page and click on the button.
    Can anyone help me regarding this? I want the URL to be called in a new page on every button click.
    Thanks in Advance,
    Chandana

    Hi Nisha,
    The crux of your issue here is that you want to call the event triggered with onClick before calling the event triggered on onClientClick. This can be achieved by the following code in the function called on the onClientClick.
    function fn_button()
               htmlbSL(this,2,'b_row_selection:onInputProcessing()');
               window.open("new_page",target="BLANK");
    Here, fn_button is the javascript function called on button click, and b_row_selection is the event triggered on the onClick event of row selection.
    Try this out and let us know if it works for you.
    Regards,
    Saurabh

  • How to call a custom form on click of a button?

    We have a requirement to call a custom form on clicking a button which is on a standard form. I cant modify the standard form. Is this possible to handle this event from CUSTOM.pll or forms personalization?
    some sample code will help. Thanks in Advance,
    Message was edited by: 988490e8-2268-414d-b867-9d9a911c0053

    Hi,
    I think you are working with Oracle EBS.
    I don't think so that we can able to call the custom form on clicking button.
    We can call the form from the standard form using both custom.pll and form personalization
    In custom.pll using zoom function we can do this and in form personalization we can call the form by using form function, In both we call the form by creating a special menu in standard from and we used to call.
    So please check further, and let me know if any i can help you any.
    Regards
    Sri     .

  • Suddenly, my custom url buttons disappeared from the navigation bar and I can no longer add new ones. FF22

    I am using Firefox 22 (I like its features and do not want the features added in later version.) I have added a handful of custom URL buttons to the navigation bar that allow me to go instantly to websites I visit frequently. There was/is a function in Firefox for adding such buttons. This morning, after leaving my computer on all night, I found that the custom buttons had disappeared and I could no longer find the function for adding new ones. Can you tell me what has happened and how I can add custom URL buttons? I will appreciate your help. Thank you.

    I solved my own problem. This function was added by Google Shortcuts, which somehow became disabled. After fussing ariound for a few minutes. I was able to restore it.

  • To call a custom page from standard page

    Hello ..
    I want to add a button to the standard page and then call my custom page from the standard page on clicking that.. Can anyone tell me the steps for doing so. Also I want to know that creating this submit button will come under personalisation or customisation.
    And how do I make the changes in the controller of Standard page .Do I need to open that standard page in Jdev.
    Plz help.

    Create a button through personalization and set the destination URL thats it.
    Also I want to know that creating this submit button will come under personalisation or customisation.Personalisation
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • Call a custom procedure in release 2

    How do I call a custom procedure as an HTML form action. I am using release 2. I have a proceudre in my table that runs an update statement when I submit the form. I can't get the form to properly call the procedure. Anyone Know.
    Thanks
    Cal

    why don't you create a dynamic page & just call that custom procedure inside.
    as you know your dynamic page will give you url to call from HTML forms action.
    /pls/portal/.......
    vikas

  • IR Report "Link" Attibute Custom URL Escape : (colon) Character

    <h2>I am running Apex 4.0.2 and have an interactive report page 242 with a result set.</h2>
    Scenario
    In the "Report Attributes" "Link" settings I want to link the report to a 'Custom URL' target to take the user from this IR Report Page 242 to page 243 to a 'Single Record Data Entry Form'
    I am setting the value of the custom url target as:
    f?p=&APP_ID.:243:&SESSION.::&DEBUG.:243:P243_NAME,P243_DESCRIPTION,P243_LOCATION:#SOURCE_NAME#,#DESCRIPTION#,#LOCATION#:The P243_LOCATION column, however, has a ':' colon and a '.' values in the database column itself with a value of *'jdbc:Host123.abcd'*
    When the user clicks on the link the FULL location column is truncated before the ':' - OBVIOUSLY due to ':' being the paremeter separator column in apex
    So, the #LOCATION# value on Page 242 IR Report containing a value of *'jdbc:Host123.abcd'* is trunced on the called page 243 as 'jdbc' only and truncated prior to the ':' value contained in the field.
    Question:
    HOW Can I build the above URL so that the ':' can be visible on the Page 243 form field? with the full value passed into the called page with a value of: *'jdbc:Host123.abcd'* ?
    I tried the SYS.htf_esc(#LOCATION#) around the calling URL above, but doesn't work as expected.
    Any advice is greatly appreciated.
    VSK

    Hi,
    You can not escape colons but you can pass commas in the url. Enclose the item value in \item_value\ to escape the "," in the item value . For colons, I would suggest creating a hidden field in the source report with SQL REPLACE function and replace all the colons with any other character like ||. Then you can use the same replace function on the target page to match with the new item value.
    Hope it helps. Thanks.
    Regards,
    Manish

  • How do I personalize a form to call a custom package instead of standard

    We are finding that the vertex tax package is not correctly calculating the taxes for AR late changes. The late payment charge invoices are being created without an item and we know that if we had this in there the taxes would be calculated correctly. We have a solution designed by a senior architect and would like to pursue that approach unless it has been established it is impossible.
    From the Batch maintenance form ARIINR.fmb there is a generate button. It calls some pl/sql and eventually the api to create the invoice. What we want to do here is from the when button pressed trigger call a custom package (with most of the same logic intact). The problem is is that we don't want to call both the custom and standard package, only the custom one.
    My question is really is there any way to avoid calling the standard package by exiting out of the trigger after the custom package completed? I know I could easily change the standard form to accomplish this but we want to accomplish this in such a way to still maintain our support with Oracle on this form. So we are looking to do this via a personalization or custom.pll change.
    Any help would be very much appreciated. Thanks for your time.

    To my knowledge, both CUSTOM.pll and Forms Personalization execute code in addition to standard code, not instead off.

  • Button to execute custom action(s)

    I have created 3 custom actions which print, e-mail, and fax Opportunities when executed.   These actions work perfect from the SAP GUI, but I am unable to execute them from PCUI CRM as there is no button which is linked to these actions.   Please note that there is a button which prints the opprotunity, and a button which sends an e-mail, but these buttons do not execute the custom Actions which I have created!
    I would like to add a button (custom or standard) to PCUI CRM which would execute my custom Actions.
    I understand how to add buttons to PCUI CRM, but I do not know how to link that button to my custom actions.   Is this even necessary?   I see an "Actions" button, but am not sure if this will automatically link to the custom actions.
    Thanks in advance for any and all responses to my post.

    Thanks for your your help but it was the same thing Timo said before and it didn´t work for me. But I found out what was wrong :) and you were both right.
    I used a template that had a form and when I inserted a form on the page this form was inside the form in the template and that did so that it didn´t work.
    Atlantic Viking

  • Can a Button call a java script and then proceed with the creation

    Hi all,
    I have a simple APEX form on a table,
    with simple function as create and apply changes,
    some items of the form are computed by a "Computation"
    I need the create button to show the computed values, before move to the next page, then proceed with the creation ( submission)
    I have tried to show the values by a java script, but after clicking the button OK of the javascript msg, no submission performed ,
    details:
    the java script is called in the URL of the Button,
    it only contains a alert statement
    is there a way to let the button do that
    or may be the case could be solved by another idea!!!
    rgrds,

    Hi Varad,
    It is Before header of course. I forgot to mention this.
    Yes, you are right Varad, I have read again the question and seems original request was to show Computation that is done in After Submit, more javascript is required of course.
    One possibility is to create On Demand process called COMPUTEITEM where you compute your item, and in the end of on demand process it prints it
    htp.p(:P1_X)
    Then put in HTML header of your page
    <script language="JavaScript" type="text/javascript">
    function setShowItemSub(pThis){
       var l_This   = $x(pThis);
       var ajaxRequest = new htmldb_Get(null, $v('pFlowId'),  'APPLICATION_PROCESS=COMPUTEITEM', $v('pFlowStepId'));
       ajaxRequest.add($x(l_This).id, $v(l_This));
       var gReturn = ajaxRequest.get();
       alert(gReturn);
       ajaxRequest = null;
      doSubmit('aa');
    </script>And in Button URL textarea put:
    javascript:setShowItemSub('P1_X');
    Then no need in After Submit process anymore
    I have put this now in http://apex6.revion.com/pls/apex/f?p=225:1
    COMPUTEITEM On demand process is :
    :P1_X := :P1_X || ' Added this trail';
    htp.p(:P1_X);Of course, all this should be modified accordingly
    Regards,
    Oleg

  • Calling a customized .pdf in Isupplier Portal

    Hi all,
    I hava a urgent requirement in which I have to call a customised .pdf (Purchase Order) instead of Oracle's Standard purchase order. The .pdf can be call by selecting "view pdf" option from the "Actions" message choice. I have checked through "XML Publisher Administrator" responsibility that "Oracle standard purchase order" is a XSL-FO type report and the customized PO, which I have to call is in .RTF format so I changed it from .RTF to XSL-FO type.
    Can anyone suggest me how can I call that customized PO instead of that Standard PO in I Suppliler portal??
    Many Thanks
    Amit

    Hi Amit,
    What can you do in this case extend the controller and there you can capture the button on click of which it generates the report again inside the custom event handller check the value if it is view pdf then generate your custom report else call super.processFormRequest.
    Amit second thing you can do is you can customize the.xsl file for this report and then change it in Documents(it is some setup in PO).
    Regards,
    Reetesh Sharma
    Edited by: Reetesh Sharma on Jul 22, 2010 3:41 AM

Maybe you are looking for

  • Can't connect my 2009 macbook pro to new 2011 LG TV

    I just got a new LG LED LCD TV and I'm trying to connect my 2009 macbook pro to it. I bought a Belkin Mini Display Port to HDMI Adapter at the Apple Store. I also bought the Apple HDMI to HDMI 1.8m cable to connect the computer to the TV. I set up th

  • Selecting a driver

    I have an M-audio firewire 410 audio interface hooked up to 6 speakers, and it works great with my FCP and iTunes. Then I go to Logic, and go to Preferences, Audio, Drivers, and set it to the firewire 410 multi-channel selection. When I go to my time

  • HT4972 I have the original iPad with the original iOS, as I've never updated before. How do I do this?

    I have the original iPad with v3.2.1 and have never upgraded.  How can I upgrade to the latest iOSfor the original iPad?

  • Make the ECM Number mandatory for Routings

    Dear All, in SAP Standard it is possbile to make the ECM (Change No.) mandatory for BOMs using the authorization Object "C_STUE_NOH". Without entering the change number the system will give an error message, maintenance/creation is not possible with

  • Delay in field calculation appearing

    Hi all Apologies but my coding skills are a bit dated. I have three fields A,B and C User puts a number into A and B calculates the value of this multipled by a number using a bit of Javascript var field2 = this.getField("CPDNo").value; event.value =