Calling external URL defined by Transaction launcher

Hi Experts
  I'm calling the external URL customized through Transaction launcer using the below code when the button is clicked
   lv_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
   lv_navigation->navigate( iv_link_id = 'ZTL_TEST' ).
Which is working fine when it is in web ui context, when I Implemented the same code for interaction center (role : ic_agent)
it was not working  .
I'm not getting what is went wrong, is the coding will get changed depends on Interaction center and web ui
Thanks & Regards
Madhu

hi glenn
Thanks for your reply, actually my issue is not that , it is working fine if we are triggering from navigation bar in  interaction center, but I want to trigger programatically from interaction center which is working fine in web ui using the above code but the same code is not working from interaction center view bupadetailb2b
Thanks & Regards
Madhu

Similar Messages

  • Call external URL from ABAP userexit, capture data and return it to SAP?

    My apologies if this question has been asked before, but I've searched for a few hours today and haven't found anything directly related to my question.  Thank you in advance for any help you may be able to provide!
    I would like to be able to make a call from an SAP userexit during Sales Order Entry in the VA01 transaction in the SD module to an external website, allow the user to capture some data in the external site and then pass that data back into the userexit where I can use it to populate internal tables, etc.
    I'm completely unfamiliar with Web Dynpro programming, but this seems like a good place to start my search for a solution. 
    Does this sound like a problem that can be solved with Web Dynpro and what documentation or code examples should I reference to go about building such a solution.
    I should also note that I'm hoping to build a solution that could be called from any userexit in R/3, SAP ERP, SAP CRM, etc. and would obviously need to learn about what dependencies to consider (ex: SAP GUI version, SAP product release number, Web AS release, etc.).
    Eric

    Thank you for the response.  Let me provide some additional information.
    The external application will be a Hosted Web page.  It is not an SAP system. 
    The external application will be a web page served by a separate system outside of the company domain(shouldn't matter what the technology is I would think - but the web page will be hosted by a different company than the one calling the URL) that would appear as a web page in which the user will enter data, logic will be performed on that data and then some or all of the data would need to be passed back to the calling point in SAP.
    For practical discussions it doesn't matter to me if the call in ABAP occurs in an SD userexit, in a custom report, in an HR screen or in a CRM business partner screen.  There will be many places where this external application may be called from and I'm just trying to figure out how to call an external HTTPS URL and return data from that web page to the calling point in ABAP.
    I hope that clarifies my question.
    Thanks!
    Eric

  • Calling external URL with POST data

    Hi:
    In my action bean I have to call and external URL (outside my domain), and along with this URL 'POST' data. I have tried the following code:
    try {
    FacesContext lclFC = FacesContext.getCurrentInstance().getFacesContext();
    lclFC.getExternalContext().getRequestMap().put("x_loc_zip","94804");
    lclFC.getExternalContext().redirect("http://www.mysite.com/personals/search/search.html");
    } catch (IOException e) {
    throw new FacesException(e);
    finally {
    lclFC.responseComplete();
    This works fine in calling the other URL, but no data is sent thru the post protocol. I have no control to the site I am calling....
    I have also tried
    ExternalContext ectx = FacesContext.getInstance().getFacesContext().getExternalContext();
    HttpServletRequest request = (HttpServletRequest) ectx.getRequest();
    HttpServletResponse response = (HttpServletResponse) ectx.getResponse();
    RequestDispatcher dispatcher = request.getRequestDispatcher("http://www.mysite.com/personals/search/search.html");
                   dispatcher.forward(request, response);
    But this tends to put a "/" at the front of the called URL. Can someone please recoomed the coorect way to call a URL from yr action bean and sending it data thru post protocol. I also wish that this new URL should now be displayed within the browser. This is urgent, yr quick reply is appreciated

    Myfaces sandbox form gives the ability to change its action url and port. Look here:
    http://myfaces.apache.org/sandbox/form.html

  • Close portal (session) when calling external url

    Hi there,
    does anyone know if its possible and if yes, how to automatically close a portal session when (or after) calling an external url from within the portal.
    Cheers
    Walter

    i think you can write a script for this using EPCF.
    Shankar

  • Calling external url like 'GOOGLE'  when user clicks on toolbar button

    Hi All,
           I have done the following steps for url creation:
       1. I have created an event and assigned it to newly created toolbar grp.Then in 'Define Application Layout' I have created an entry specifying name of application, toolbar, event, tab grp and version.
       2. Then in navigation for url generation I have created a method with blank object name. This method I have then assigned to a role.Here i have specified path for extenal link say 'google'.
       3. I have assigned same role to me in su01 transaction.
       4. when i run my application ,toolbar is getting displayed but when I click on toolbar nothing is getting open up.
               Is this the correct way for url generation or do i need to do something else?Is there any coding needs to be done?I have provided with steps done by me.Please help me further.
    Regards,
    vikas

    Hi.
    That's not possible in the PCUI since when the button is pressed a PCUI event is triggered and handle by the PCUI framework and we don't have access to the layout in order to react to such event (like placing javascript windows.open or kind of). The events defined in the PCUI are only supported by the PCUI framework. You could create an HTML container and then start the external web application (www.google.com or whatever) in this container (there is a good blog written by Gregor Wolf at <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url:///people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url) or as Raj said you can use "Object Link Navigation" in order to start a new window with the PCUI layout where you can create another container with the web application you want to display (for more details have a look to the PCUI cookbook).
    Best regards.
    Armando Rodriguez.

  • How to call external application (transaction launcher) from event method

    Hi all
    Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
    Best regards
    Arne Thage / MarchIT / Denmark

    hi,
    check class CL_CRM_UI_LTX_NAVBAR_PARAM.
    call method : CREATE_PARAMETER_OBJECT with parameters
    IV_LINK_ID     Importing     Type     CRMT_UI_LOGICAL_LINK_ID                                                                                Logical Link ID
    IV_PARAMETER     Importing     Type     CRMT_UI_LINK_PARAMETER                                                                                Link Parameter
    RV_RESULT     Returning     Type Ref To     IF_BOL_BO_PROPERTY_ACCESS                                                                                BO Attribute
    I think it should work but have never done myself.
    Best Regards
    Pankaj Kumar

  • Transaction Launcher : How to get return parameters from an external URL

    Hello,
    We need to launch an external URL in the Web Client UI. After the URL is launched, the user does some processing which results in some output values. These value have to be passed back to the Web Client UI and become a part of the quotation he is creating.
    We are able to launch the URL using the Transaction Launcher. But we are not able to find a way to get the output values from the external URL to the Web client UI.
    Please suggest any approach for this. It is OK even if we need to use an intermediate BSP to launch the external URL.
    Regards
    Ajay

    hi ajay
    I had a similar requirement , when the user clicks on button I want to launch the  External URL , can you please let me know how to launch the external url when the user cliks on button
    Thanks & Regards
    madhu

  • Transaction launcher: open URL in new window

    Dear all,
    I know many threads have already been posted about "stateful URL" created with transaction launcher, that open a new browser window AND navigate to an empty screen with the following text (which is more than useless):
    "The requested page has been opened in a new window, please press back button to go back to the last page."
    Carsteen gave some useful hints already in the following thread:
    Transaction Launcher in a new window
    But maybe someone found something new since then... At the moment I'm thinking about "simulating" a clic on the BACK button (like mentioned in this useless message), with something like :
      DATA:
      history TYPE REF TO if_bsp_wd_history_manager_disp.
      history = view_manager->get_history_manager_display( ).
      history->go_back( ).
    Any better idea ?
    Thanks & regards,
    Nicolas Busson.

    Hi Nicolas !
    How are you? :-)
    I assume that since then you have found a way to fix your issue, but as the post is not answered I can tell you that SAP has taken into account this point in SAP 702 EHP1, with a new attribute in the customizing of the transaction launcher called "Keep Work area" :
    Keep Work Area When Opening Launch Transaction in New Window
    This indicator defines whether the work area content is kept when you open a launch transaction in a new window.
    Use
    If this indicator is not set and a launch transaction opens in a new window, then the main window loads the base page of the transaction launcher into the work area.
    If this indicator is set and a launch transaction opens in a new window, then the main window keeps its current content in the work area.
    Dependencies
    This indicator is only evaluated if you have also set the indicator for using a new window.
    Imed.

  • SharePoint External URL 404 Error

    Hi
    I am pretty much new with this - so please bear with me, its prob a simple problem!
    I have an internal (normal) url for a SharePoint site, which works great.
    However, we want to extend the web application, and use forms and SSL. So I done this, filling in the SQL Membership and SQL Role fields as well. I selected Extranet for the zone (assume its this one, if it matters).
    When I browse the external url defined, it just comes up with a 404 error, without even trying really. Any ideas?

    Hi
    Good read:
    http://underthehood.ironworks.com/2010/06/making-a-sharepoint-2010-site-externally-available-alternate-access-mappings-host-header-bindings.html
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Transaction Launcher - External URLs

    Hello,
    I've created a link to an external URL using transaction launcher and the actual link itself works fine, but I have a couple small issues that I'd like to fix if anyone has any advice:
    First, I have it set to launch the URL in a new window, and the window pops up behind the Webclient.  Is it possible to have it pop up on top?
    Second, once the user clicks this link, in the webclient itself, they're taken to a screen that says:
    The object you have selected is starting in a new browser window. You can continue working normally in the current application. However, you may have to navigate back to the page you were working on.
    ...and then they have to click the back button to return to the screen they were on before they clicked the link.  Does anyone know how to keep the web client on whatever screen the user was already on and just launch the link in a new window without having it navigate anywhere else?
    Thanks!

    Hi TOM,
    If your requirement is to open some URL say google.com etc in a now window, then there are only 2 ways
    1) Use Transaction Launcher
    2) Use PopUp Window.
    1) If you use transaction launcher, and created the link in your direct link group then on click of the link, the URL will open in new window but you cant avaoid the message that you get in the current window. Also, if users POPUP Blocker is ON, user will never come to know why the new window has not launch.
    2) This is very simple and straight forward approch for opening URL. However, POPUP windows in WEB UI are modal windows, so say on click on a button on Account Overview Screen, i open google.com in a popup then unless i close this popup , i can not work on the account overview screen .  However, you can see the account overview screen as it is and you can resume back when the popup is closed. Also you can define the even handler on close event of pop up so you can pass the data to & fro between the webclient view and the pop up.
    to open some extrenal URL in a PopUp , You will need to create a blank view and attach it to a window. In .htm file of the view, you can use  tag IFRAME and call your external URL here.
    I have done this to open a dotNet application through web ui and it works excellently !!
    Hope its helpful.
    Thanks & Rregards
    Suchita
    PS : the popup blocked problem will still be there however, it flashes a message like pop up blocker is ON in case of using popup window

  • Using the transaction launcher to call a BOR method to display a PDF

    Hello gurus,
    I have created a PDF icon and an onclick action to open a pdf, that displays on every row of an assignment block in the actions column, but I do not know the technical process to determine how to get a PDF from the IXOS system from the line selected. (even if I know it depends on an ID attribute of that assignment block) I want to to call a transaction launcher with the url for the pdf in the IXOS that has an ID that identifies which line in the assignment block the user has clicked the pdf icon for (does that make sense?)
    In CRM 4, in the collection factsheet assignment block, the link was coded into an XSLT which is then displayed in the GUI and you would have a clickable link for a pdf file in a row in a table. That link would be as follows:
             <xsl:variable name="ev_key">SAPEVENT:?OBJTYPE=<xsl:value-of select="attributes/OBJTYPE"/>&amp;OBJKEY=<xsl:value-of select="@KEY"/>&amp;LOGSYS=<xsl:value-of select="attributes/LOGSYS"/></xsl:variable>
                 <a href="{$ev_key}"></a>
    This will get the file in IXOS and display it, in CRM 4. In CRM 7, the link is an icon in every line of an assignment block.
    Here are some questions I have now for the functional side in the meantime:
    1) Can we fetch the PDF in IXOS for each line of an assignment block and have it open? If so, how? Transaction launcher, function modules (like ARCHIVOBJECT_DISPLAY) in the OPTA package? (the package for all IXOS related function modules..)
    2) Which URL should I call with the transaction launcher? a URL link to the PDF on the IXOS system?? or sapevent:xxx?
    3) Do we have to configure a transaction in the IMG to be launched with the attributes listed there? Do we have to link it to any classes/ objects?
    4) Do we have to have the code to the logical link dynamically to call the right PDF for each table line? Is it right to put this code in my event handler?? Usually transaction launchers are just in the nav bar.....
    5) Are there any existing examples of this or a similar functionality/ logic that I could refer to, preferably in CRM 7 WebUI?
    6) Do you have any code to just display a PDF in a new window? Or prompt a download?
    One possible way I thought of would be for me to have a logical link defined in the IMG for the transaction launcher, and have the attributes defined for my BOR object that I would call, and pass it different attributes (eg. objtype, objkey, logsys...) and then return the PDF and display it in the UI in a new browser window by itself. (There is a BOR method for my BOR object named  'display_pdf'!!!!)
    What do you think would be the optimal solution here? Does my theory of calling a BOR object with a transaction launcher to display a PDF make ANY sense whatsoever???
    Please do not hesitate to propose any potential solution. Any partial answers/ links to wikis/ other threads, anything would be much appreciated.
    Thank you in advance.
    Best regards,
    Jonathan Laplante
    Edited by: Jonathan Laplante on Jul 2, 2011 4:50 AM

    Hi Any help on this....I am still awaiting the response.
    Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
    Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
    Steps Performed:
    I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
    1) Defined logical system in tcode CRMS_IC_CROSS_SYS
    -The logical link looks like this
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
    2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
    URL link here is
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
    -Note: My selection screen okcode os ONLI*
    -The logical system ref is provided here
    3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
    4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
    5) Added this in the NAvlink/Bus Role etc
    6) Now in the handler class of the TL the code looks like this:
    IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
    __gdc ?=
    cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
    __value
    =
    'ZC_TEST'.
    add_parameter(
       iv_name =
    'RS38M-PROGRAMM'
    iv_value = __value ).
    However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

  • Transaction Launcher to call custom transaction

    Hi ,
    I have a requirement where i need to call a custom transaction using transaction launcher. I am able to successfully launch the transaction. But i need to pass a value to the transaction.
    For eg. If i am calling a custom report transaction which has a selection screen field 'FORMNAME' as a parameter i need to pass the name of the form to the transaction. I am not able to pass that value. Can any one help me onthis.
    I have seen all the posts , but could not get any help on how to set the value for custom transaction. I can see how it is done for standard transaction.
    Regards
    Ansari

    Hi Any help on this....I am still awaiting the response.
    Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
    Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
    Steps Performed:
    I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
    1) Defined logical system in tcode CRMS_IC_CROSS_SYS
    -The logical link looks like this
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
    2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
    URL link here is
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
    -Note: My selection screen okcode os ONLI*
    -The logical system ref is provided here
    3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
    4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
    5) Added this in the NAvlink/Bus Role etc
    6) Now in the handler class of the TL the code looks like this:
    IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
    __gdc ?=
    cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
    __value
    =
    'ZC_TEST'.
    add_parameter(
       iv_name =
    'RS38M-PROGRAMM'
    iv_value = __value ).
    However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

  • URL Based Transaction Launcher not loading

    Hi All,
    There is a URL based transaction launcher configured to display a crm opportunity report.
    All the settings seem to be fine.
    The configuration is done correctly in the wizard.
    The URL is defined in view CRMV_IC_LTX_URL.
    The logical link and Traget are also specified correctly.
    the z handler class also gets called , but still the URL is not loading.
    There is no error, but just a blank screen.
    the system is CRM 5.2
    could it be any browser issues or issue with BW system or any other issue ?
    Could you please help me in finding the problem ?
    thank you somuch,
    regards,
    Pushpa

    Hello,
    If you are watching this thread, I have a typical requiremnt like yours.
    After creating the ITS URL id  , I do not want to put this on the Navigation Bar.
    But this lTS URL i want it as a link on one of the actiivty page. And also i should be able to pass parameter.
    Please sugget what and how to achieve this.
    Thanks,
    Jaya.

  • Transaction type called by ITS - Transaction Launcher

    Hello guys,
    In the ICWC in CRM 5.0 what transaction type could we call with ITS by Transaction Launcher?
    For example, I know that we can call transaction like ppoma_crm, bp, is01, but if we defined Z transaction type in the path SPRO » CRM » Transactions » Basic settings » Define Transaction Types,  could we call this transactions by ITS in Transaction Launcher?
    Could you take off me this doubt?
    Best Regards,
    Mary

    Hi
    The transaction launcher allows to connect to any remote CRM ERP or R/3 transaction as well as URLs to a navigation bar. Thus, the remote transactions can be maintained directly in IC WebClient.
    Any link entry of the navigation bar that is supposed to call the transaction launcher needs a navigation bar entry that points to a launch transaction ID. Here the details of the transaction to be launched are described: the launch transaction type, the type of object to be called the method (like create, display, change) and possibly parameters to be passed to the transactions. These settings can be configured using the transaction launcher wizard.
    Transaction launcher supports two types of transaction
    a.     Launching pages of People Centric CRM
    b.     Launching BOR transactions of CRM or any remote SAP system
    Path is IMG&#61664;CRM&#61664;Interaction Center WebClient&#61664;Basic Functions&#61664; Transaction Launcher&#61664; Configure Transaction Launcher (Wizard)
    Business Transaction Profile (Name should be in Capital)
    Three standard buttons in the navigation profile navigate to the views of the CRM business transactions
    a.     Interaction Record: - stores communication related data of communication channels.
    b.     Sales Document: - includes quotations and order status and stores all sales items the customer wants to order.
    c.     Service Document: - It represents the service aspect of a phone call.
    The business transaction profile is controlling which CRM business transaction type is linked to the navigation bar buttons.
    You can assign the interaction record and the sales or service transaction types in two different ways:
    a.     A sales and/or service document will only be created if the agent presses sales and/or service in the navigation bar and makes entries to these documents.
    b.     The sales and/or service documents will be saved as individual documents. Interaction record, sales, and service documents are stored by separate document IDs and are connected by the data flow.
    Path is IMG&#61664;CRM&#61664;Interaction Center WebClient&#61664;Business Transactions &#61664;Define Business Transaction Profiles
    Hope this helps
    Regards
    Rekha Dadwal

  • CRM url transaction launcher

    Hi Experts,
    I'm using CRM web UI.I defined URL and configured in the transaction launcher.Now I'm able to see the newly created transaction launcher in web UI.When I'm clicking on this, new window is opening as a popup window(without having
    menu bar-->File,EDIT,VIEW,FAVORITES...etc). Now the requirement is to open in full browser(it should have menubar, titelbar..etc).Please provide me your valuable inputs on this.
    Thanks & Regards,
    S.Gangireddy.

    Hi,
    SAP has taken into account this point in the new versions (for me SAP 702 EHP1), with a new attribute in the customizing of the transaction launcher called "Keep Work area" :
    Keep Work Area When Opening Launch Transaction in New Window
    This indicator defines whether the work area content is kept when you open a launch transaction in a new window.
    Use
    If this indicator is not set and a launch transaction opens in a new window, then the main window loads the base page of the transaction launcher into the work area.
    If this indicator is set and a launch transaction opens in a new window, then the main window keeps its current content in the work area.
    Dependencies
    This indicator is only evaluated if you have also set the indicator for using a new window.
    Regards,
    Imed.

Maybe you are looking for