Active a URL in web dynpro iview with out using LinkToURL button?

Hello everybody;
Is it possible to directly activate a URL in iview without using any buttons (e.g. LinkToURL)?
I've develloped a Web Dynpro project. I have placed my code in the INIT function in iview, and I want the URL to activate automatically when INIT is opened. At the moment I have used the LinkToURL function to activate the URL, but I want to avoid this step.
In EP iview it is possible to do this using Javascript, but Javascript is not allowed in Web Dynpro.
Any ideas and suggestions are very welcome.
Reza

Look here
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504
Use the code for open "www.google.com" into yuor wdInit or wdModify
if (firsttime) {
   // THE CODE
method.

Similar Messages

  • How to catch URL parameter from Portal URL in Web Dynpro iView

    Hi All,
    I have a web dynpro application running as a portal iView successfully. Now the client wants to make it internationalized with 7 languages. Currently they access the portal - and via role assignment they get to the portal tab with the wd iView. Now they want to send a parameter for the language key with the portal URL. So when they are typing in http://myportal.mydomain.com now they want to type in http://myportal.mydomain.com?sap-locale=de or so. My question is how can I catch this parameter in the WD application when it is running inside a portal iView? Is it at all possible?
    I have written a very small application which is trying to catch a URL parameter named PARAM. The code I have written is the default one as below:
    String paramValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARAM");
    When I run the application standalone and add the PARAM=something in last of the URL I can catch it. But when I create an iView and while previewing it I add the same PARAM value it is coming as null all the time. Same when I add this iView to a role and show it via role assignment in protal. Please help to let me know how to achieve this. I think if I can read the parameter value from Portal URL in the WD iView - then I can set it as the default locale of the application and then show language specific file to achieve internationalization.
    Your urgent help will be highly appreciated.
    Warm Regards,
    Shubho

    Hi Shubhadip
    Even if you get the parameters, how do you internationalize your application? Are you not following the standard way as described in the following link. In this case you never need to capture any such parameter. This is done by the WD runtime automatically .
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm">Internationalization of WD projects</a>
    You can retrieve application parameters specified at the creation of iview by "adding parameters(with the same name as in iview application parameters) to the default plug of the Component Interface View of the WD application". "onDefaultPlug" method of the interface view controller you get these values as parameters, which you can save in the context node of component controller for later use.This is guaranteed to work.
    But again this is not what you want exactly. You want the user to specify the value at runtime. If you have just 7 languages, you can create 7 set of iviews with different application parameter value indicating language key, and assign to 7 different set of roles, each representing one set of users with common language.
    I hope you find a solution.
    Regards
    kk

  • With out using submit button how to retrive the data

              at in the combo box if I selects one name automatically that person details to
              be retrive from the database and placed at in the other text boxes.
              

              Hi,
              You can do it in two ways:
              1. You can implement this in having java script function for that radiobutton
              on select and then make a call to server, submitting the form data to fetch the
              same from database. But in this case, the page will be refreshed.
              2. you can have a javascript function and using the same you can open a new window
              and then make a call to servlet to fetch the data and to submit to the text field
              in the form.
              Regards
              Srinivas.K
              "chiru" <[email protected]> wrote:
              >
              >at in the combo box if I selects one name automatically that person details
              >to
              >be retrive from the database and placed at in the other text boxes.
              

  • How to mapping Bapi_EeCatimesheet with Web Dynpro iview

    I have problem with CATS:
    1. mapping field from Web Dynpro iview with Bapi_EeCatimesheet_Worklist
    Column: Activity = Bapi_EeCatimesheet_Worklist_input_Out.???
    Column: xxx = ???
    Variable as TimeSheet of SAP Easy View
    2. How to insert Employee timesheet into SAP System by Bapi

    Hi,
    At first time the ApplicationParameter was not displayed among the mappable properties. After that I changed the ApplicationParameter property of the WD iView (so it became different from the default one) and created a new room template. What happened ? At the new template I could map to room_id to the ApplicationParameter. Interesting, not?
    One other thing: What do you think about the following ?
    1. First creating a "Concat Strings" extension to create a string like "room_id=<room_id>"
    2. Creating an other extension and mapping the newly created string to the ApplicationParameter property
    3. Getting the parameter from WD with the help of getRequestParameter(java.lang.String key)
    I have not tried it yet, but I plan to do it.
    Regards,
    Ferenc

  • Using Java Web Dynpro iViews to integrate with SAP MDM

    Hi,
    I have already SAP MDM 5.5 supplied iViews with Enterprise Portal.
    These include itemDetail iView, ResultSet iView, PicklistSearch, Hiearchy Search.
    Now, I am integrating Java Web Dynpro iViews with SAP MDM.
    When adding the fields using object of ResultSetDefinition Class, should we use MDM Table Name or MDM Table Name Code/MDM Field Name or MDM Field Code?
    I think we should use the CODE as the name as it does not contains any space while working with Java API.
    Regards
    Kaushik Banerjee

    Hi Kaushik ,
    Yes you should use the Field and Table CODE when integrating MDM with any other system using API either Java, Abap or Com api.
    Actually this is one of the main use of the code in MDM .In API.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • SAP Web Dynpro iView not working!

    We are trying to run BI reports based on Web Dynpro ABAP in portal.  I created a SAP Web Dynpro iView with following parameters
    System : SAP_LocalSystem
    Namespace : sap
    Applicatioin Name : ZXXXXX_RRE  (This is the template name)
    When I try to preview the report I get portal runtime error with following error dump in log file
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template
    &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;sap-wd-tstamp=&lt;$TimeStamp&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PARAMETER_MAPPING PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&#39;; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
    I have checked SAP_BW system object and tested the connections all connection test for SAP_BW is successful.  BI Portal system is set up with SAP web dispatcher, ITS and WEB host names in system object are configured something like xxxx.hostname.com:443 since it's SSL.
    Am I missing anything here?
    Thanks
    Praveen

    Hello Pravin,
    Currently i am also facing the same error. I am having set of Webdynpro-ABAP applications, and accessing from Portal.
    I tested respective applications from SE80, all are working fine.But while accessing from Portal its giving Portal runtime error-Unable to parse etc....
    I checked my system object.. both WAS and ITS connections are successful.but i mentioned its related to ITS, where can i test my ITS further level..
    Though these are WDA applications , how these related to ITS..
    I am also getting same error message.. Please suggest how can i go head
    Thanks in Advance
    Ganesh

  • Web Dynpro iView - how to pass URL parameters?

    I have a Web Dynpro application that is housed in the Enterprise Portal.  We have a requirement where we need to provide an external link to the iView/Web Dynpro component - for the sake of this discussion, assume it's email.  As part of this URL link, we need to pass a parameter that will cause the Web Dynpro app to fetch some data. 
    The Web Dynpro has a startup plug parameter - call it 'id'.
    I can invoke the Web Dynpro application directly, and pass the id paramter on the URL - the application can see the parameter just fine.  However, when I try and do the same via a Roles-based URL, the parameter does not survive.  I've tried two different methods:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&id=1234
    and
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview!26id=1234
    neither of which work.
    is there a way to do what I'm trying to do?  Note that the 'id' paramter is dynamic - I can't code it in the Web Dynpro iView configuration.

    Hi,
    please try the following:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&DynamicParameter=<encode(id=1234)>
    The value of the DynamicParameter value must bei encoded.
    For details please have a lool to
    <a href="http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1078">this</a>
    This book will be also available in English soon.
    Best regards
    Jochen

  • Web Dynpro iviews integration with web page composer

    Hi,
    Can web dynpro iviews be integrated into web page composer? I was trying to integrate one ESS web dynpro iview into wpc but the system is throwing an error:
    We are on EP7.01 SP3 (Enhancement Pack1). Please advice if the integration is possible in Enhancement Pack1.

    Hi,
    According to the documentation Web Dynpro iViews are not supported : [Configuring Entry Points for iViews|http://help.sap.com/saphelp_nw70/helpdata/EN/06/4776399abf4b73945acb8fb4f41473/content.htm].
    Regards,
    Pierre

  • ABAP Web Dynpro iView error

    My ABAP Web Dynpro iView encouters errors:
    The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
    Note
    The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
    The error occurred on the application server sw06_SB2_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
    Can anyone point me to how to remove that extra / at the end?
    Thanks
    Ben

    Hi Gurus ,
    We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
    Following are the list of error in EHP4 system ,
    1) Layout of ABAP Webdynpro Component are not displayed .
    2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
    error are as follows while trying to view layout in abap webdynpro application :
    http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
    If any one have information for this kindly let me know .
    Thanks :
    Vishwas

  • Error in SAP Web Dynpro Iview

    Hi,
    We are facing problem with iviews, created using SAP Web Dynpro iView Template. Whenever user clicks on any of SAP Web Dynpro iView , portal main page is opened instead of Web Dynpro application. Same problem is encounted on preview of the iView. Everything was working fine till yesterday and suddenly we are facing this problem.
    Also, iview created using Web Dynpro Java Application option are working fine.
    What can be the reason behind the problem?
    Need your help.
    Thanks in Advance,
    Apurva

    Hi,
    Some times we get the home page instaed of the application.
    This may be due to the application is not active.
    Test from se80.
    If it is working fine create the iview again i think there are changes made to the application.
    Thanks,
    gopal

  • Web Dynpro iView - Blank Page

    Hi,
    we have a problem with our web dynpro iviews. Although there are all necessary fields of the iview template filled (application name, application parameter, namespace (sap), system, web dynpro for java and windows client) there only appears a blank page with a red X, when we preview the iview.
    Before we've tried to create a web dynpro iview, we've created an url iview for the web dynpro and this one was working fine.. The problem was, that it doesn't display the application in our custom portal theme with an url iview - only the default sap theme was displayed. 
    I've searched in the forum, but I found not really something for our case.
    It would be great, if anyone can point to what the error could be..
    Thanks in advance,
    Lydia

    Hi,
    Check the SAP note: Note 1446099 - Web Dynpro application not displayed in customer theme
    Try creating a Web Dynpro ABAP iview, you can find the template in Iview Template.
    And in that make sure Supply Portal Stylesheet is set to yes so that it takes Portal Stylesheet.
    Alternative to that is upload the theme to R/3.
    To do that check SE38 program WD_THEME
    Download portal theme
    Once you have the Theme uploaded you need to make one more setting.
    In SE80 WD_Global_Setting - goto Change and change Stylesheet URI and ensure the iView property Supply Portal Stylesheet is set to no.
    Hope this helps.
    Cheers-
    Pramod

  • Problem while creating SAP Web Dynpro iView

    Hi,
    I am creating SAP Web Dynpro iView from iView Template.
    The SAP Web Dynpro System Object is being created. The System Alias is also being created.
    The Test Connection is successful with Portal Server.
    Now, while creating SAP Web Dynpro iView from Template in Step 4:
    I am not getting my System while an old system which is being deleted is being displayed.
    Name of my System Object is: WD_System and System alias is: WD_Alias.
    The Step name is:
    Step 4:  Application Parameter
    Enter the paramater(s) of the application for which you want to create the iView 
    Regards
    Kaushik Banerjee

    Hi Bala,
    I am not getting the System Alias under:
    User Administration-> User Mapping-> Logon Data(Select a Principal) (System Alias).
    The System is successfully built under System Amininstration->System Configuration->System Landscape->Portal Content->kaushikb named WD_System and System Alias is named as: WebDynpro_alias.
    The Test Connection is successful.
    I am displaying the result below:
    SAP Web AS Connection
      Test Details:
    The test performs the following:
    1. Checks the validity of the system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Checks if a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Checks if the host name of the server can be resolved.
    6. Pings the server to see if it is alive.
    7. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
    8. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (kolapon:50000)
    5. The host name kolapon was resolved successfully.
    6. The server kolapon was pinged successfully.
    7. The WAS ping service http://kolapon:50000/sap/bc/ping was not pinged successfully. If the ping service is not activated on the WAS, you can try to call the ping service manually.
    8. An HTTP/S connection to http://kolapon:50000 was obtained successfully.
    Regards
    Kaushik Banerjee

  • Getting error while taking preview of Web Dynpro iView

    Hi,
    I am getting this error while taking a preview of Web Dynpro iView :
    500   Internal Server Error
          SAP J2EE Engine/6.40
    Application error occurred during request processing.
    Details:   com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Wrong WebDynpro-URL: no application name specified
    Exception id: [0011D83FB2E7004A00000CB800001E0400045F7E8F181DF7]
    This error comes if the Web Dynpro iView don't have the Web Dynpro application name specified.
    Regards
    Neha Singh

    Hi,
    After selecting the Webdynpro java iView enter the following parameter correctly
    1. System -  Sap-LocalSystem
    2.Name Space  - local/<your webdynpro project name>
    3.Application name - <your webdynpro application name>
    4. choose plain HTML option
    Regards,
    P.Manivannan

  • Examples of 'calling a web dynpro application with parameters'

    Hi!!
    I'm I have been watching manual 'Web dynpro for abap: advanced concepts' in the sections 'url parameters' and 'calling a web dynpro application with parameters'.
    Is there some example where these terms are seen.
    Thanks in advance.

    Hi Ana,
    a window inbound plug can have parameters.
    These parameters are automatically fished out of the URL by the framework.
    So your inbound plug handler method has easy access to the parameters.
    URL
    http://<host>:port/sap/bc/webdynpro/sap/<your application>?param1=xyz&param2=abc
    The application is configured to call an inbound interface(window) and plug.
    The plug can be declared with parameters.
    Double click on window inbound plug and add your parameters.
    The parameters are made available by framework if present in Launch URL.
    You can also call an application that has parameters  directly entered on the parameters tab.
    ie Parameters can be part of the application launch.
    regards
    Phil

  • Web Dynpro integration with R/3

    Dear all,
    We have the following requirement in Web Dynpro integration with R/3
    We have to update the local SQL tables based on R/3 system return values. R/3 system should call the webdynpro business method for updating local SQL Status table.  In the R/3 system after purchase order is created, via user exit it should call and update some fields in the local SQL tables. To solve this problem we have thought of following solutions possibility:
    1.       In R/3 system based on user exit, it calls the ABAP Proxy ->  XI (SOAP Adapter) -> Web Dynpro Web Service in WebAS->  XI -> ABAP Proxy -> User exit – PO continues.
    2.       In R/3 system based on user exit, it calls directly web service then web service goes to user exit.
    3.       In R/3 -> user exit -> ABAP Proxy – JDBC Adapter -> SQL stored procedure call - > user exit.
    Please give your valuable suggestion or any other options to solve above problems.
    And another one question is how to create web service and deploy into WebAS through webdynpro project?. Kindly guide us to the correct document for creating webservice through webdynpro or any other related url link.
    Advance thanks,
    S.Saravanan.

    Hi Sarvanan,
    Please refer to the following link for help on webservice,
    Creating webservice, http://help.sap.com/saphelp_nw2004s/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/frameset.htm
    Consuming a Web Service in JAVA,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/81/12703e5da3e946e10000000a114084/frameset.htm
    Consuming webservices in webdynpro,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/91/9c2226df76f64fa7783dcaa4534395/frameset.htm
    I feel once you go through these links you yourself will be in a much better position to decide upon to your design options.
    Reply back for more help,
    Guru.

Maybe you are looking for

  • InvalidCategory error when publishing a Web Service

    I am using EM to deploy an EAR file and publish a Web Service, which is a simple Java class. But I got following error: The application was deployed successfully, but an error occurred while publishing the web services. You can attempt to re-publish

  • Best Practices for Creating eLearning Content With Adobe

    As agencies are faced with limited resources and travel restrictions, initiatives for eLearning are becoming more popular. Come join us as we discuss best practices and tips for groups new to eLearning content creation, and the best ways to avoid com

  • Applet freezes while downloading a ressource jar!

    Hi everyone, I have a fundamental question concerning the loading mechanism of an applets resources. The problem is as follows: I have two jars, the first containing all *.class files, the second (size: 10MB) containing only graphics and sounds. I st

  • Aperture file issue

    Dear Kirby, reading some of your threads, I am very impressed by your knowledge about special issues concerning "Aperture", and would be most obliged to you, if you could possibly help me with a suggestion with regard to the below issue: I just retur

  • Machine Access Restriction Timeout

    Hi Community, we use  Anyconnect Client for Machine Authentication. Authentication is for  WLAN done by WLC that asks ACS5.3 that uses Active Directory as the identity store. You have enabled Machine Authentication and Machine  Access Restrictions (M