Webdynpro vs URL - iViews

Hi all,
What is the difference between WebDynpro iView and URL iView pointing to a WebDynpro application? any advantages? disadvantages?
Aviad

Hi Aviad,
IMHO, for general WD apps, there'd be not much differences in using a URL iView vs. a WD iView.  However, a WD iView is supposed to provide a better integration between your WD app and the SAP portal environment; plus, you'd have better control of your apps through the application parameters, etc.
Please refer to this doc
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b07501ec-39a7-2910-0699-f71070d2b245
where Jochen mentioned one of the main differences between the NW04 WD iViews and the new NW04s WD iViews ("Using NW04s Webdynpro iViews", p.8).  If I understand correctly, this would also be one of the main differences between the URL iViews and the NW04s WD iViews when it comes to running WD apps in a portal environment.
What do you think?
Regards,
Dao

Similar Messages

  • Webdynpro application can't display a URL iView in a new External window

    Fellow developer:
    In my WD4A application, I called the method 'navigate_absolute' to display a URL iView in a new External window.
    The code is as follows:
    data lo_portal_manager type ref to if_wd_portal_integration.
    call method lo_portal_manager->navigate_absolute
    exporting
      navigation_target = 'ROLES://u2026'
      navigation_mode = '1'.            ('0' - Displayed in the Same Window, " '1' - Displayed in a new External Window)
    The application can display the iView in the same Window (navigation_mode = '0'), but cannot in a new External window (navigation_mode = '1').
    In the iView properties, the following attributes are set to:
    1. Launch in New Window - Dipslay in Separate Window
    2. Open iView Links in New Window - Yes
    If you know the answer, please advise.
    Thanks
    Bac Quan

    hi,
    i have the same problem. Did you solve it?. Please let me know...
    regards,
    MC

  • Problem while creating URL iview (in EP7.0)

    Hi,
    I encountered a problem while creating URL iview (in EP7.0) as when I selected the iview template for creating the URL iview, the content area got displayed as
    "No templates to display. You are not assigned to any existing templates."
    please assist me in this regard.
    Thanks,
    Suri

    Hi Manoj,
    Thank you for your reply.
    I am still getting the same messages even after creating the iview template in EP7.0
    Created through:
    content Admin --> portal content --> <folder>new --> iview  --> seleting "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR file)" <next> --> seleting "com.sap.portal.appintegrator.sap" <next> --> webdynpro <next> --> finish.
    Open object for editing...--> Object is a Template to Yes.
    Result :
    content Admin --> portal content --> <folder>new --> iview --> seleting "iview template- create an iView from an existing iView template" <next> which displays the same message.
    "No templates to display. You are not assigned to any existing templates."
    Rgrds,
    Suri.

  • 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

  • Webdynpro vs URL

    Hi all,
    What is the difference between WebDynpro iView and URL iView pointing to a WebDynpro application? any advantages? disadvantages?
    Aviad
    Wrong place to post
    Reposted in portal section
    If someone can delete this post that would be great.
    Sorry for the inconvinence

    Hi Aviad,
    IMHO, for general WD apps, there'd be not much differences in using a URL iView vs. a WD iView.  However, a WD iView is supposed to provide a better integration between your WD app and the SAP portal environment; plus, you'd have better control of your apps through the application parameters, etc.
    Please refer to this doc
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b07501ec-39a7-2910-0699-f71070d2b245
    where Jochen mentioned one of the main differences between the NW04 WD iViews and the new NW04s WD iViews ("Using NW04s Webdynpro iViews", p.8).  If I understand correctly, this would also be one of the main differences between the URL iViews and the NW04s WD iViews when it comes to running WD apps in a portal environment.
    What do you think?
    Regards,
    Dao

  • How can you add iview personalization to web dynpro iviews like URL iviews?

    In the URL iview editor you can define URL paramaters which are available for personalization by the user from the iview's "Personalize" option. 
    Can this also be done using web dynpro for java iviews? 
    Thanks for your help.
    Jeff

    Hi Jeff,
    You do have a personalization that can be defined from the user, for java webdympro iview. But is not the same as you have for URL iviews.
    Have a look on the links bellow:
    http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/content.htm
    http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Tutorial_1.pdf
    Please remember to evaluate the replays, this incentive the SDN to keep growing,
    regards,
    Fabio

  • URL iView - ERROR Invalid URL parameter - sap-ext-sid - HTTPS link

    Dear Experts,
    I have an uregent issue. I have configured an url iview, the link is HTTPS. it is not working from the portal. the system automatically concatenates some URL parameters like sap-ext-sid , sap-wd-finish-rendering.
    Similar way i have configure some other links, they are all working without issue. But other links are just HTTP.
    Could you please give a me clue to fix this issue.
    Your help will be appreciated.
    Thanks
    Jay

    Hi,
        Try opening the URL iVIew in a new page by providing the property "Open the page in New Window" instead of the same window. Are you trying to integrate WebDynpro ABAP iViews?
    Cheers,
    Vinoth.M

  • 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

  • SSO to BW reports via URL iView

    Hi all,
    I've searched the forum on this but could not get a clear guide. Here's my scenario:
    1. We use Windows logon credentials to sign on to the Enterprise Portal
    2. Once signed in, authorized users load a URL iView.
    3. The iView contains URL links to SAP BW reports.
    4. Based on user's role, they can access only certain reports.(Available report URLs will be different)
    5. User clicks on the link and opens another Internet Explorer window to show the BW report <b>without signing on</b> again.
    Key question: How do we incorporate the SAP Logon Ticket into the URL and how do we configure BW server to accept SSO based on this URL?
    Any help is much appreciated. Thanks!

    Hi Kok,
    The first step is you need to create a system object under system administration --> system configuration --> system landscape. Expand the portal_content. Right click the folder and create a new folder. Then right click on the folder to create a new system. This system object should point towards the BW system. You need to give the details of the BW server. The right click the system object and create an alias.
    If you are using BW 3.5, you need to follow the 13 steps given under img. If BW version < 3.5 then you have to export the portal ticket to BW and BW ticket to EP.
    Regards
    Arun

  • Problem with URL iView regarding fetch mode and SSO to non-sap webapps

    Hi,
    I have created an URL iView which opens an internal webapp. When the fetch mode is set to client-side the page is displayed for the user. But when I set the fetch mode to server-side, the page cannot be displayed by the user.
    No proxy is needed. I tried to open the wepapp direcly on the portal server without any problem. Are there any additional points to be considered?
    On the other hand I want to realize SSO to this webapp (form based authentication) with user mapping. Is it correct, that I have to user server-side fetch mode, when I want to use the POST request method?
    Thanks ahead,
    Bernd

    >
    Bernd Speckmann wrote:
    > On the other hand I want to realize SSO to this webapp (form based authentication) with user mapping. Is it correct, that I have to user server-side fetch mode, when I want to use the POST request method?
    Yes.
    >Are there any additional points to be considered?
    Have a look at System Administration - System Configuration - Service Configuration - Applications - com.sap.portal.ivs.httpservice
    This is used to do the Server side fetch.
    Have fun
    Johannes

  • Configuring SSO to a URL iView

    hi everyone......
    i'm relatively new to EP....
    and my requirement is.....
    i've created a URL iView and when i logon to the portal.....i need my <b>yahoo or gmail inbox</b> to appear in this URL iView.....
    i read frm a thread that i need to confgure SSO for this by creating a system....
    can u plz guide me how to configure SSO and also the usermapping.......
    help is highly appreciated....
    thanks and regards,
    Sudheer

    Hi Sudheer,
    Please Ensure The following:
    SSO with Yahoo:
    UPLOAD:
    1.Upload the par in PCD
    SYSTEM CREATION:
    1)Create ->System from par -> select com.sap.portal.howtos.webapp -> web application->give name & Id
    2)Properties-->object->system definition
           Name of the server : login.yahoo.com
           Port : (empty)
           URI :/config/login
    3)create alias
    4)set user Mapping
    IVIEW CREATION:
    1)Iview from par
    2)Iview type:com.sap-appintegrator.sap
    3)template:generic
    4)Properties Setting:
         System : (system alias name )
         URL Template :<System.protocol>://<System.server><System.uri>?<Authentication>
         URL Template fragment for UserMapping: <System.protocol>://<System.server><System.uri>?<Authentication>
    Regards,
    Ramganesan K.

  • How to change the URL of a URL-iView over Code ?

    Hi all,
    i am getting started with the Portal-Application-Developement and want to change the URL of an URL-iView on runtime with java-code.
    i have read the context and can get the Property url with this statement.
    endContext.getProfile().getProperty("url")
    But if i change this property, nothing is done.
    endContext.getProfile().setProperty("url", "http://www.yahoo.com");
    Where is my fault.
    Thanks for help.
    Regards Jürgen

    Hi,
    the context is of Type IPortalComponentContext.
    I cant find no method getParameter() at the context or the profile.
    The methods to read the properties of the URL-iView are
    context.getProfile().getProperty("url")
    context.getProfile().getAttributeValue("url")
    But if i want to set (change) this attribute, nothing is done.
    Regards Jürgen

  • How to pass SSO Login Ticket to an URL iView

    Hello experts,
    We have an application running on Netweaver and it is setup to accept SSO Login Tickets for authorisation.
    I have the following question:
    We want to expose some of the portlets in our application in a portal page using URL iViews, but we don't know, how to setup this environment, so for each iView, the SSO Login ticket is passed to the portlet of our application (this way access to it can be granted)?
    How can we achive this? Or, is there another approach for this scenario?

    Hi Megha,
    The portlets are part of our application which is deployed on the same Netweaver App server as is the Portal.
    When the user log in into the Portal - SSO Tiket is being issued and we want this ticket to be passed to the URL of the URL iView, but currently HTTP 401 error is returned or HTTP Basic authentication login popup is displayed. We want to be able to use the SSO Ticket for this purpose.
    Regards,
    Georgi

  • Problem with JavaScript in URL iView

    Hi,
    I am facing a problem with javascript when i am trying to access my application through URL iView. In the javascript window.top is used to access the frames in the window. But the EP is not recognizing it as valid. what exctly the problem and please suggest me a solution.
    Ashok.

    Hi,,
    thanks for the quick reply. But what i asked was different. I will put it in different way. I have deployed a application in Web Application Server and trying to access it through URL iView. My application is pure J2EE application with html,jsp and JS files. In javascript we used window.top property of the java script which is working fine MS IE. The problem is window.top is a IE specific property which is not having any equallent open standerd so EP is throwing a java script error. As I know the only possible solution for this problem is inherating IE rendaring capabilities to iView(i.e iFrame). is there any way to do that?
    Ashok.

Maybe you are looking for