Dynamic URL iViews in EP70

I need to be able to create an URL iView where by the domain and port must be dynamically set in the URL. Is there an easy way to accomplish this using EP70?

Hello Chris,
The error is:
RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_paymentClusterCreate_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /ns0:mt_newPaymentClusterData/merchant_name; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (471/200):
It's even in the SAP Help:
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce299c3a8e5430e10000000a42189b/frameset.htm
The length of the attribute value is defined by the XI message protocol. Values can be a maximum of 200 characters long. If, for example, you assign longer values in the mapping or adapter modules then this can lead to processing errors at runtime or the values are shortened to 200 characters. This shortening can also lead to a processing error. The processing error that occurs depends on the components that access the attributes.

Similar Messages

  • Dynamic URL Iview

    Hi
    We need to show language specific content to the user logged in. We have different URL for each language.
    We are using URL iviews in portal.
    If a Arabic user logs into portal I want him to see the Arabic page by default. If a English user logs on I want him to see the English page by default.
    I wanted to know whether it is possible to change the URL dynamically depending on the user profile.
    Rgds
    NagaKishore V

    Hi
    My req is
    We are using url iviews for in portal. We have web pages for different languages.  Req. is when a user with Arabic as language preference logs in he should see the web pages in Arabic. If the user preference is Japanese he should see Japanese pages. We dont want to maintain mulitiple iviews for each language. The webpage urls are in this format
    For englisj ;--  www.xxx.com/yyy/en
    for japanese - www.xxx.com/yyy/jp
    for arabic - www.xxx.com/yyy/ar
    Since only the last 2 characters are differeent and rest of the url is same, Is there is a way where we can create 1 iview and depending on the user preference he is navigated to that page.
    Regards
    NagaKishore V

  • Create dynamic URL Iview type

    Hi Expert,
    I need to create a page with two URL iviews. The first iview is fixed and the other one is flexible and the URL address must be passed by parameter. Is that possible?
    Thank in advance
    Sergio Sepulveda M.

    Hi Sergio,
    it depends a bit from where the parameter should come... Anyhow, a general approach is to develop a wrapper iView around the target iView (component) which takes a parameter / calculates target parameter on the fly and then calls the target component with these dynamic parameters.
    Serach for "proxy iView AND Detlev" on SDN for further details.
    Hope it helps
    Detlev
    PS: As already mentioned, please consider rewarding points for helpful answers on SDN, see tool tips in second level navegation too

  • Dynamic Url iView- is it possible?

    Hallo
    Just a short question concerning the url iView in 7.0.
    I need to implement a url iview which can be transported through the landscape (directing to various systems in dev, test and prod).
    Do you know if this is possible while using a url iview?
    I have noticed the system drop down in the url iview. Does anybody know what it is good for? (there are no systems available despite having system[including associated alias] set in the pcd)
    Thanks for your help,
    Regards,
    Minima

    Hi Minima,
    I don't know where your URLs are pointing to but maybe the following will help you.
    We have uploaded some static html in a .par file to the portal server, lets say for this example the file is called com.company.statics.par.
    We call them via a URL iView that is using Relative URL instead of an Absolute one...
    To call an URL we use: /irj/portalapps/com.company.statics/example.html
    As you can see it's a Relative URL and not an Absolute one, in this way you don't have to worry about the URL's after transport.
    If this is not a possibility for you then I would suggest to take a look at the Application Intergrator.
    Cheers,
    Benjamin Houttuin

  • How to set dynamic host name in the URL of a URL iView?

    Hello,
    I am using a standard URL iView that points to some J2EE app I've written and deployed on the same server.
    I would like to set the host name to be a dynamic one, this way I won't need to change the iView URL when transporting it from one portal to another. As far as I know the system for a URL iView only controls authorizations but cannot replace the full URL set in the iView.
    Any idea who can this be achieved?
    Roy

    Hi Mrityunjay,
    forced URL at runtime will require me to call the URL iView from another iView that I will need to code (setting the URL in the Request object). If I did all this I might as well call it from this iView already.
    I would like to do it with no further developments. I would have thought that SAP has constants that can be plugged in the URL for this type of thing, i.e. $hostname...
    Rgds,
    Roy
    Edited by: Roy Cohen on Aug 21, 2008 4:03 PM

  • Dynamic Parameters in URL-IView

    Hai,
    I am using the ESS-framework and I want to create a link which calls an URL with dynamic parameters.
    I have already created an URL-Iview with the example url:
    http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm
    And I also defined a resource and a service in the backend (Customizing)
    My question is:
    How can I dynamically generate the Parameters SCENARIO and MODE in the url using the URL input field in the defined resource?

    Hi Remco,
    If you create several resources for the same webdynpro (isrform) you can pass params via the resource definition (URL params).
    Your webdynpro application can be defined as:
    - Webdynpro application (in the xss homepage framework) as a resource;
    - URL resource linking to a portal page/iview (with params): url iview with params
    - URL resource linking to a portal page/iview (with params): webdynpro iview with params
    But before you are going to tweak with it, please try to find out if your url will work:
    http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm?scenaro=SPEG&mode=CREATE.
    If this works, then create an iview in the portal of the url type or webdynpro type. Does it still work with static params? If so, remove the static params from your iview properties.
    Now try the following link:
    http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview
    If this works, check out the following link:
    http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview&DynamicParameter=MODE%3DCREATE%26SCENARIO%3DSPEG
    Everything after DynamicParameter must be encoded. To find out what the encoding is, just use google and search for your characher. As an example (let's find the = sign):
    http://www.google.nl/search?hl=nl&q=%3D&meta=
    %3D is the = sign
    Last step:
    Create a resource as described on top of this post.
    This will be my approach to get this working
    Good luck!

  • How to open URL IView with dynamic url parameter (navigate_absolute)

    Hi Experts,
    i would like to open an URL-IView from the WebDynpro ABAP Application in the Enterprise Portal 7.0
    and i want to set the URL parameter dynamically. Is this possible and how can i achieve this!!
    Thx Markus

    Hi Markus,
    You can take help of the following code snippet.
    Here we are calling an Iview using absolute navigation and passing URL parameters as well
    * Select the input value entered and then pass it to REM INQ application---------
      DATA lv_inputbusobjid   TYPE          wd_this->Element_context-inputbusobjid.
      DATA lv_path            TYPE          string.
      DATA lv_tab_wd_param     TYPE          wdy_key_value_list.
      DATA lv_str_wd_param     TYPE          wdy_key_value.
      DATA lo_el_context      TYPE REF TO   if_wd_context_element.
      DATA api_component      TYPE REF TO   if_wd_component.
      DATA window_manager     TYPE REF TO   if_wd_window_manager.
      DATA window             TYPE REF TO   if_wd_window.
      DATA lo_api_component   TYPE REF TO   if_wd_component.
      DATA lo_portal_manager  TYPE REF TO   if_wd_portal_integration.
    * read the imput data first-------------
    * get element via lead selection
      lo_el_context = wd_context->get_element( ).
    * get single attribute
      lo_el_context->get_attribute(
        EXPORTING
          name =  `INPUTBUSOBJID`
        IMPORTING
          value = lv_inputbusobjid ).
    ** call remuneration inquiry window using absolute navigation
      CLEAR lv_tab_wd_param.
    * Adding parameters
      lv_str_wd_param-key = 'sap-wd-configId'.
      lv_str_wd_param-value = 'CACS_REMINQ_CONF'.
      APPEND lv_str_wd_param TO lv_tab_wd_param.
      lv_str_wd_param-key = 'BUSOBJ_ID'.
      lv_str_wd_param-value = lv_inputbusobjid.
      APPEND lv_str_wd_param TO lv_tab_wd_param.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_portal_manager = lo_api_component->get_portal_manager( ).
      if lo_portal_manager is BOUND.
    * PCD
      lv_path = 'ROLES://portal_content/com.sap.pct/specialist/com.sap.pct.erp.common.workset_reuse/com.sap.pct.erp.icmparticip.bp_folder/com.sap.pct.erp.icmparticip.15.bp_folder/com.sap.pct.erp.icmparticip.15.pages/com.sap.pct.erp.icmparticip.RemInquiry'.
      lo_portal_manager->navigate_absolute(
        navigation_target   = lv_path
        navigation_mode     = if_wd_portal_integration=>co_show_external
        window_features     = 'toolbar=no,resizable=yes,scrollbars=yes'
        business_parameters = lv_tab_wd_param
      endif.
    Hope this helps
    Regards
    Manas Dua

  • URL Iview - Dynamic properties.

    Hi all,
            I am using iview "Url iview" and I would pass some specific parameters.
    Example: What is the page that directed to her, who was logged, and another dynamics parameters
    And the result is -> http://sapportal/Log/index.asp?User=xxxx?PageID=com.company.xxxxxxx
    Could someone help me?
    Thanks
    Ricardo

    Please read up about the application integrator. This allows the building on dynamic URLs based on things like the user's id etc.
    For example: http://help.sap.com/saphelp_nw04/helpdata/EN/36/5e3842134bad04e10000000a1550b0/frameset.htm

  • Dynamic pass parameter URL iview Portal

    Hi guys
    i have url iview, this iview is assigned to a rol of anonymous user,
    http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01
    the ivew set automatically and i can see when user guest sign in.
    this iview have 2 parameters i need this parameter, has set values with a link, like this
    http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01&parameter1 = value1&parameter2 = Value2
    i appreciated any help
    Angel G.

    Hi Angel,
    So you are trying to pass two parameters to your iView that is embedded in a portal role that is assigend to an anonymous user... is that right?
    What problems are you having? Does the iView not see the parameters if passed as part of the top level URL (e.g.
    http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01&parameter1=value1&parameter2=Value2)?
    Not sure if it is just a typo but you have blank spaces between your "=" signs in that URL you posted, there should be no spaces.
    A bit more info and perhaps I can help more,
    Simon

  • Pass parameters dynamically to url iview from web dynpro abap

    Hi,
    I am trying to pass 3 key-value pairs via absolute navigation to a URL iview.
    The url expected is : http://www.sap.com?field1=value1&field2=value2&field3=value3
    For this, I have done the following:
    1) Created a url iview with the 3 parameters in get.
    2) Used the pcd location of the url iview and referred it in the navigate_absolute method.
    Following is the call:
            CALL METHOD lr_port_manager->navigate_absolute
              EXPORTING
                navigation_target   = wa_navigation-target
                navigation_mode     = wa_navigation-mode
                use_sap_launcher    = abap_false
                business_parameters = l_bus_parameter_tab.
    The l_bus_parameter_tab has the key-value pairs populated and I can see them populated.
    However, when the url is being called the parameters are not getting passed. Am I missing anything to be passed?
    Thanks.

    Hi Kumar,
    I have followed your reccomendation and updated the code and iview properties.
    The code now looks like:
            l_parameter-key = 'userid'.
            l_parameter-value = sy-uname.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
            l_parameter-key = 'portal'.
            l_parameter-value = 'test'.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
            l_parameter-key = 'mode'.
            l_parameter-value = 'I'.
            INSERT l_parameter INTO TABLE l_bus_parameter_tab.
    *End of business parameters population
            CALL METHOD lr_port_manager->navigate_absolute
              EXPORTING
                navigation_target   = wa_navigation-target
                navigation_mode     = wa_navigation-mode
                use_sap_launcher    = abap_true
               business_parameters = l_bus_parameter_tab.
                launcher_parameters = l_bus_parameter_tab.
    However, when the method is called, it does nothing and the url does not get called.
    When I manually add parameters to the url iview and preview it, it does the job.
    For some reason, these parameters are not getting passed to the url iview or page.
    Is there a limitation that parameters cant be passed to url iviews?

  • Dynamically change URL iView link

    Hi,
    I have a requirement like this:
    Button1 would open an external link from Portqal
    Button2 would open a KM document from KM
    Button3 would open a KM folder
    In future the link type of these button can change.
    These external link, KM document location and KM folder location are read from a properties file and are subject to change.
    Here is my Approach
    I have created a separate URL iViews for testing purpose and tested that with URL iView, it is possible to open:
    External link in the format of http://www.<link>.com
    KM Folder in the format /irj/go/km/navigation/documents/..../<Destination Folder> , &
    KM document in the format /irj/go/km/docs/documents/..../<Destination File>
    I have now created a single URL iView pointing to a default URL(google), and marked the URL iView parameter Forced URL - Enabled as True
    The plan is to use this single iView for invoking any type of links - be it external, KM Folder or KM document
    In WebDynpro, I have tried using the following code to call this iView:
    WDPortalNavigation.navigateAbsolute(("ROLES://portal_content/demo_role/universal_url_iview",
    WDPortalNavigationMode.SHOW_EXTERNAL,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    "forcedURL="+dynamicURL);
    Not Working! Always opening the default google link.
    WDPortalNavigation.navigateAbsolute(("ROLES://portal_content/demo_role/universal_url_iview",
    WDPortalNavigationMode.SHOW_EXTERNAL,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    "app.forcedURL="+dynamicURL);
    Not Working! Always opening the default google link.
    where dynamicURL= either  http://www.<link>.com or /irj/go/km/navigation/documents/..../<Destination Folder> or /irj/go/km/docs/documents/..../<Destination File>
    Am I missing any configuration or the code is wrong?

    You really need to open the url within an iView? Oo
    IWDWindow window=wdComponentAPI.getWindowManager().
    .createExternalWindow("http://www.google.co.in","Google-search for an email address",false);
    window.setWindowSize(100,100);
    window.open();
    or
    String linkToBeOpen = "https://www.sdn.sap.com/irj/sdn";
    IWDWindow window =
    wdComponentAPI.getWindowManager().createNonModalExternalWindow(
    linkToBeOpen,
    "My window title");
    window.show();
    or
    import com.sap.tc.webdynpro.clientserver.portal.WDPortalUtils;
    import com.sap.tc.webdynpro.clientserver.navigation.api.WDPortalNavigation;
    if ( ! WDPortalUtils.isRunningInPortal()  ) { // standalone mode
      wdThis
        .wdGetExternalcompInterfaceViewController()
          .wdFirePlugGoToUrl(urlobject);
    } else { // portal iView mode
      WDPortalNavigation.navigateAbsolute(
        ... /*set of parameters that I do not understand ;) */
    regards,
    Angelo

  • Open web page from URL iview in maximized window

    Hi,
    I would like to open a web page in a <b>maximized</b> browser window, using an URL iView.
    I know how to open a window in a separate window, I just can't get it maximized.
    N.B. I do <b>NOT</b> want to open in <b>fullscreen</b> mode, i.e. I want a title bar and menus.
    Does anyone know how to do it?
    I tried to play around with the "window function" property of the iView, but no luck so far. I can't specify a fixed width and height of the target window at design time, as these values may vary at runtime.
    regards
    Lothar

    Hi Lothar,
    Yes, That will require Java Coding, Its true. Basically what the problem here is that to maximize we are trying to fetch the Screen resolution dynamically through Portal that Portal is not allowing us. Thats why I feel that we should go for Java Programing, Create a Par, Deploy it in the server and then create iView for that.
    For Creating the Abstract Portal Component for Opening a Maximized Window You should do following steps.
    1. Open Your NWDS
    2. Create a project ie Portal Application
    3. Create Portal Object ie Abstract Portal Component.
    Now here is the piece of code that may help you
              response.write("<SCRIPT language=javascript>");
              response.write("function onOpenWindow()");
              response.write("{");
              response.write("window.open('http://abc.com','windowName','width=screen.availWidth,height=screen.availHeight,resizable=yes')");
              response.write("}");
              response.write("</SCRIPT>");
              response.write("<a href = \"javascript:onOpenWindow()\">abc.com</a>");
    Paste this code in doContent...
    I think it may help you
    Thanx & Regards
    Anish

  • Dynamic URL value at runtime

    Hi,
    We have created an iView of type "com.sap.portal.appintegrator.sap".
    In URL template property we have set the following value:
    <System.protocol>://<System.server>:<System.port><System.uri>?parameter=value&parameter=value&...
    That's to say, it is a dynamic URL that is built at runtime.
    My question is: How can we find out the value of URL when we preview the iView, that is, the URL value at runtime?
    Helpful answers will be rewarded!!
    Thanks in advance,
    Samantha.

    Hi Samantha,
    If I am understanding the issue properly.
    the solution is:
    there is no way you can get the url for iView.
    You need to assign the iView to Role. and assign it to a user.
    When you open the iView then from title bar select Add to Favorites, this will save it in the Browser favorites and when you go to the link and see the properties you get the Short URL.
    In Portal terminology the Dynamic URL is called Short URL.
    And to find the short url navigate to
    System Administration->Navigation-> Short URLs
    Hope this helps you.
    Pramod
    -award points if helpful

  • URL iView Problem - How to Use URL Parameter of Type 'User Information'

    Hello URL iView experts
    I am currently working on integration of backend-functionality with the help of an URL iView.
    I want to use a parameter of type 'User Information'. In SAP Help Library it is said, that it is possible to set the value of a parameter according to a dynamic query on the users attributes. (Link SAP HELP)
    It is also said, that one can retrieve the Logon ID of the users account.(Attribute Name: j_user -> Link SAP HELP Attributes )
    I can choose the type 'User Information' but i don't know what to specify in the field 'Value'.
    I have made a screenshot of the problem.->[Link to screenshot|http://img66.imageshack.us/img66/7782/urliviewproblemfrsdnthrel3.jpg]
    But if i am calling the application this way, he doesn't retrieve the Logon-ID of the account, but he just uses the 'j_user' as value for the parameter.
    Can you tell me, what i need to specify in the field value?
    Best Regards
    Marcus
    Edited by: Marcus Böhm on Jun 2, 2008 1:22 PM

    Hi Marcus,
    > It is also said, that one can retrieve the Logon ID of the users account
    This is not correct; on the help.sap.com-page concerning the URL-iView-Parameters, it is printed that "other attributes (general, account, group, role) are not supported". The j_user attribute is part of the account group, so - not supported.
    For your needs, it may be a better choose to use the AppIntegrator, which offers such a possibility by using "<User.LogonUid>"; see http://help.sap.com/saphelp_nw70/helpdata/EN/36/5e3842134bad04e10000000a1550b0/frameset.htm and https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0cbc309-ff89-2a10-8bad-bcde4c152ecb
    Hope it helps
    Detlev

  • Integration with url iview

    Hi everyone,
    I have a web application and Portal and My aim is this two systems integration using url iview but I don't want to use Application Integrator.I want to use only URL iview with url parameters. My wish is to enter URL Parameter = uname(static) and Value = portaluid(This value should be get dynamically from portal).Consequently,How can I get dynamically portal userid in the url iview value.Is that possible?

    Hi Mehmet,
    Is there a reason you don't want to use application integrator? Because it is quite simple to create what you want using application integrator.
    I don't think URL iView supports dynamic parameters...
    Check out the Howto document for application integrator here:
    http://help.sap.com/bp_epv260/EP_JA/documentation/How-to_Guides/25_HowToUseAppIntegrator_en.pdf
    Regards,
    Johan

Maybe you are looking for

  • Data conversion strategy for new SOB

    Dear Viewers on 11.5.10 We are creating a new SOB with a change in currency from Feb-11 as this is the requirement For the same, we need to do data conversion. I have a confusion for Purchase Orders and Sales Orders Purchase Orders: Open purchase ord

  • BPEL Process Integration with CEP?

    Hi, I would like to integrate a BPEL Process which generates a continuous stream of data, with Oracle CEP application. The use case is that the continuous stream of data gets converted into events by the adapter in CEP application and these events ge

  • Indesign CS4 - Export to SWF and font issue

    Hello, How do you embed a font in an Indesign CS4 document when you are going to export it to an SWF file? I have an Indesign CS4 document that uses a particular font.  This document is then exported to an SWF file which is then uploaded in our intra

  • Unable to connect to itunes

    Hi my son cant seem to connect to itunes on his ipod although yesterday it was working a few days ago. Any advise? We downloaded a new game onto it yesterday through itunes on the computer but with it being unable to connect to itunes it wont load up

  • Verizon line running over my house - needs to be moved - The Call Center will not help!!!

    I have called 5 times and Verizon will not come and move their line. it is running directly over my house, which needs to be raised as it is in a flood zone and was damaged by sandy. No one at Verizon cares.