Create Web Dynpro-Based iViews

Hi,
I have created one test WD-ABAP ( NW04s ABAP Sneak preview) on my NSP Installation.
in II step i have cretatet one WEB Dynpro-Based iviews on secund Installation ( NW04 Java Sneack Preview) on onother Server in Netz with IP .....
When I test my System Conection from Portal-Server to ABAP Server is allready OK. But i recive one HTTP/s error.
When i try my WD, that i binded in Portal to running i recive a Raise exeption from ABAP-System and when i look in ST22 i show a DUMP from Methode "CHECK" in Class "CX_FQDN" :
<b>METHOD check.
  DATA: lv_host    TYPE string,
        lv_port    TYPE string.  "#EC NEEDED
  lv_host = request->get_header_field( name = 'host' ).
  IF lv_host NA '.' OR lv_host CO '0123456789.:'.
    <u>IF NOT lv_host CS 'localhost'.</u>
      SPLIT lv_host AT ':' INTO lv_host lv_port.
      RAISE EXCEPTION TYPE cx_fqdn
        EXPORTING host   = lv_host
                  domain = '.<domain>.<ext>'. "#EC NOTEXT recommend security group
    ENDIF.
  ENDIF.
ENDMETHOD.</b>
You See the Method create a Exception when the the Host not equel "LOCALHOST".
The Question is : know eny body how kann I test my WD-ABAP in one Portal Test-Installation ?
Best Regard
Reza Aflaki
Message was edited by: Reza Aflaki

Hi Sudhir,
how can we implement the authorizations in Web Dynpros? Web Dynpros make an RFC call to R/3 4.6C user transactions. Our doubt is that for the RFC call we use always the same communication user (such as ALEREMOTE for BI or XIREMOTE for RFC call from XI to R/3) and this is correct for background processing, but for dialog transactions the users have only some authorizations (classical authorization profiles) on R/3 4.6c. So how can we import the authorization profile of a user on R/3 4.6c in the Web Dynpros?
Thank you and regards
Bob

Similar Messages

  • How to create Web dynpro ABAP iview in EP ?

    Hi guys,
    I have created Web dynpro iview in EP but when I execute it I'm getting errpr msg.
    page cann't display.
    Application neme= correct
    namespace= correct
    System allias=correct.
    Could u plz tell me where is the problem?
    Thanks
    Prakash
    Edited by: Prakash Rout on May 12, 2009 9:39 AM

    Hii ,
    Check this article for settings of Web dynpro abap iview, might be helpful
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0235c19-9493-2b10-64a5-8487b23a7a41
    Hope it helps..
    Sonal...

  • Accees Denied on a Web DynPro based iView

    Hello,
    I've created a Wen DynPro application which is working well. I am trying to embed it at the portal, for that I've created a System which is connected to the WAS and used the Web DynPro iView wizard in order to show this application.
    The problem is that when I Preview this iView the GUI loads but I am unable to open the combo boxes there for example. At the left side of the browser I receive an "Access Denied" error. What could be the problem here?

    Hi Roy
    Check this OSS Note - 779659 Changing Theme disables Drop-Down-By-Index
    I faced similar problem in Enterprise Portal after following this note I am able to see the values in drop down.
    Regards
    Senthil

  • How to create web dynpro iView?

    Hi all,
       How to create web dynpro iView?
    I want to create a web dynpro iView where WD is displayed in its icon when create.
    Can you give me the steps and which options to select on each steps.
    Thanks.

    Hi Virenp
    Welcome to SDN
    First Check the below Link  before the below message.so it would give clear idea
    [Creating a Web Dynpro-Based iView|http://help.sap.com/saphelp_nw70/helpdata/en/11/0d653f0c9fa075e10000000a114084/content.htm]
    http://help.sap.com/saphelp_nw70/helpdata/en/11/0d653f0c9fa075e10000000a114084/content.htm
    Go to Content_Administration --> Click on Portal content  -
    > Go any of your Folder
    Right click on the Folder and Click on New -
    >  Iview
    Selct the 3rd Option webdynpro java applicaiton.
    Select the iview as FULL page for one application
    Then select the webdynpro application you deployed  (it would be either under Local or in SAP.com folder)
    Click on next,. and UNCHECK the Option where it would prompt to Create Page.. this is necessary only when u need a page
    Click Finish  ,  and Preview the Iview..
    Suggestion : Always check on [help.sap.com |http://help.sap.com ] for any queries, which is the Bible for SAP reference.
    Thanks
    KT

  • Steps to Create Web Dynpro iview

    Hi,
    i created web dynpro application using Netweaver Developer Studio.
    Now i want to show that on portal.
    so please let me know the steps to create web dynpro iview.
    regards
    mmukesh

    Hi,
    Logon to portal with administrator uid/pwd. Content Administration->Portal Content. Right Click on the folder 'Portal Content' and select 'iView'->'New'. In the Template Selection, select 'SAP Web Dynpro iView' and click 'Next'. In the 2nd step, provide iView Name and iView ID and a prefix.
    Salect 'Java' in the 3rd step. n the 4th step, select the System (WAS System), give the project name of your webdynpro, like, local/ABC_Project in the WebDynproNameSpace and the Application Name. An iView will be available now.
    After creating an iView, you should create a page and add the iView to it. Then create a role and add your page to it. Then assign this role to your user. Set the role property 'Entry Point' to true.
    Then when you log into the portal you'll see your role in the top level navigation, click on it to see your iView.
    Regards
    Srinivasan T

  • Web Dynpro ABAP iView Namespace

    Easy question here.....we are now developing some web dynpro abap at our company (all other web dynpro has been Java which I understand - ABAP was done by an abap developer).
    We settting up the iView there is a required field "Namespace" .  When I asked the developer what his namespace was I got a blank look.  I've poked around in SE80 (again I'm no expert here I know Java not ABAP). 
    Would someone tell me how to guide this developer - what do we enter in the Namespace field when creating a Web Dynpro ABAP iView?

    HI,
    The namespace is sap by default.
    You can refer this [help.sap|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/1d/e4a34273f60b31e10000000a1550b0/frameset.htm] document to create WDA iview.
    Regards,
    Anand G

  • Error while creating web dynpro project from DTR

    Hello,
    I am getting following error while creating Web Dynpro project from DTR,
    org.eclipse.jdt.core.JavaModelException: File /<track name><DC><package>/.classpath is read-only.
    Still project gets created but evenif I check out view , it does not allow me to edit it.
    Also I have checked in and activated some changes but active copy in DTR is not reflecting those changes.
    I tried Add subtree option in DTR perspective for folders in this project. Is it result of that?
    Please help me in this regard.
    Thank You
    Beena

    Hi Beena,
            .classpath file should not checked in to DTR(uncheck the Read only properties). It is local file it contains class path for local system.
             Generally in webdynpro project only src folder should be checked in DTR.
    Regards
    Suresh

  • Error when Creating Web Dynpro Model in CAF-Service

    Hi All,
    I reaaly need help. AFter updating to SPS 9, it was necessary to redeploy my Entity Service. That contains to "Create a Web Dynpro Model" in the Service Explorer,
    to get an interface of the Service in my Web Dynpro Application.
    Before I update to SPS 9, the Application works fine.
    But now, when I want to "Create a Web Dynpro Model" in the NWDS I get the following Error-Message (its not a useful Error-Message):
    <i>Error cannot create Web Dynpro Model:
    Creation of  Web Dynpro model failed. Reason: null </i>
    Thanks for helping me
    Steve

    Hi Aliaksei,
    the problem in the thread is the same I got.
    When I use only 7 letters for the operation name, the creation work. When I use more then 7 letters the creation doesnt work.
    But its hard to find a methodname with only 7 letters.
    In SPS 8 I didnt have problems with the length of method names. Why is it so?
    The workspace log:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.577
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.592
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    Thanks
    Steve

  • Portal Eventing between Web DynPro Java iView and non-Web DynPro iView

    Dear Experts,
    I have 1 Web DynPro Java iView and 1 non-Web DynPro (using JSPDynPage and JSP) iView, both attached to a page. When Web DynPro Java iView fire a portal raise event, the portal iView did not execute the javascript function tied to the event subscribed.
    Here is the code snippet which reside in the Web DynPro Java iView that is used to fire the event
    String param = "test";
    WPortalEventing.fire("urn:com.company.Test1", "TestEvent", param);
    This the code snippet that is in the jsp page
    function notifyTest(param)
         // Code to print param value here
    EPCM.subscribeEvent("urn:com.company.Test1", "TestEvent", notifyTest);
    Note:
    1. When Web DynPro Java iView fire the portal event the entire page is refreshed, including the non-WDP iView.
    2. When EPCM is replaced with window.top.EPCM, the page is refreshed, it is totally hanged with progress bar.
    Can anyone help to solve this problem?

    hi
    Please write the below code snippet in ur jsp for notifyTestjavascriptfunction
    function notifyTest( eventObj ) {
         eventParameter=eventObj.dataObject;
         // code to print the parameter "eventParameter"
    Thanks
    Harsimran

  • Controlling visibility of Web Dynpro Java iView in portal WDJ page

    I should be able to use the WDPortalUtils interface in my Web Dynpro Java DC application to get the name of the iView in my Portal WDJ page using IWDPageService method getVisibleIViews(). My intent is to add another iView to this page and programmatically control the visibility of each iView from my WDJ application.
    -> Instructions I have found through my online research indicate I should not have to specify a sharing reference because I am using the WDJ framework, but I tried it anyway. It didn't work.
    -> I have added DC epbc.prtapi._api public part to my used DC's, and specified dependency at both Build time and Run time.
    -> My portal page template is of type Web Dynpro Proxy Page.
    -> My iView template is of type Web Dynpro Proxy iView.
    -> The Page Content view of my page shows the 'visible' checkbox set for my iView.
    The following statements in the wdDoInit() method of my DC's view controller should return the portal name of my iView:
    IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    String[] iViews = pageService.getVisibleIViews();
    I get no compile time errors or runtime errors when I execute these statements.
    BUT...
    Instead of a String array, I get back a memory space pointer.
    Example: [Ljava.lang.String;@664e664e
    What am I missing?

    Hi Jennifer,
    That's what this forum is all about; finding solutions to hard-to-solve issues, which might also help someone who may face the same issue in the future. So I hope my input is valuable
    The last thing I can think of is the method is been called before the portal page has been rendered completely, which may lead to the faulty results.
    Is it possible to move the getVisibleIviews() to a method which is called later in the phase (for instance, at the bottom of wdDoModify or wdDoPostProcessing) or, even better, in an onAction event handler when a button is clicked?
    If this doesn't work I'm afraid I'm running out of options and i would file an OSS message with SAP
    Hope this helps!
    Robin

  • Make custom Web Dynpro java iView properties

    Hi All,
    Please guide me as to creation of custom Web Dynpro java iView properties in NW 04s .
    I have already gone through the music box example but  still have doubts .
    ANy pointers?
    Regards
    Radhika Kuthiala
    Edited by: Radhika Kuthiala on Dec 13, 2011 9:49 PM

    I don't think this can be done since WDJ apps can also run standalone (not in a portal)

  • "Unable to create web dynpro callable object implementation" - GP error

    Good day.
    I've created a GP process and transported it to the test system. But when I try to start the process I get an error on the screen: Error while processing the item; it cannot be displayed. When I look to the logs I can see the following exception:
    Unable to create web dynpro callable object implementation.
    java.lang.Exception
    at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWD.execute(COExecWD.java:294)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWD.execute(InternalCOExecWD.java:171)
    at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWDInterface.execute(COExecWDInterface.java:122)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface.execute(InternalCOExecWDInterface.java:134)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface$External.execute(InternalCOExecWDInterface.java:249)
    at com.sap.caf.eu.gp.ui.act.container.VContainer.onPlugFromDispatcher(VContainer.java:391)
    at com.sap.caf.eu.gp.ui.act.container.wdp.InternalVContainer.wdInvokeEventHandler(InternalVContainer.java:167)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:303)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:667)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:537)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    It doesn't make any sense to me... I would appreciate for any help.

    Hello
    We are facing exact similar issue when we checked the logs.
    Could you help us as we are new to GP.
    What steps you followed to resolve this error.
    Regards
    aparna

  • How can we creat web-dynpro in SAP 4.6c?

    Hi Gurus,
    I'm new to the Web-dynpro technology, please help me in creating a simple web-dynpro.
    My questions are:
    1. can we create web-dynpro in SAP version 4.6c?
    2. If yes then how?

    Hi Manjesh,
    You cannt develop Web Dynpro's in 4.6C version. Web Dynpro's are introduced from ECC6.0 onwords.
    Check this document about Web Dynpro for ABAP
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/77/3545415ea6f523e10000000a155106/content.htm
    Edited by: suman kumar chinnam on Oct 17, 2008 12:51 PM

  • Differences between ITS based and web dynpro based ESS

    Hi all,
    What are the main differences between ( in functionality ) for ITS based and web dynpro based ESS.
    I know a few
    Underlying technology
    ITS ESS had inbox concept, where as web dynpro based ESS/MSS has UWL concept for approvals.
    The time statemment in ITS uses smart form while we can use Adobe document services for time statement in ESS 2004.
    Funcitonality
    There was not collective time approvals option In ITS ESS ( not even in ESS 2004 ) but ther is a collective time apporvals in ESS 2004s
    Am not pretty mich intrested in look and feel,  or the overview page concept but any additional functionality and a shift in the technology used.
    Please add.
    regards
    Sam
    Message was edited by:
            sameer chilama
    Message was edited by:
            sameer chilama
    Message was edited by:
            sameer chilama

    answered

  • Web dynpro Abap Iview Urgent ****

    Hi,
    I am having a web dynpro abap application with some two application parameters passed to it. By default end user  will be calling the application using url and pass the application parameter
    http://XXX/XXX/XX/Application?parmeter1=value1&parmeter1=value1sap-system-login-basic_auth=X&sap-client=000&sap-language=EN
    It works correctly. Now we want to create an iview in portal for this application and my need is to
    get the url of the ivew so that the end user can call the url of the iview and pass application parameter to the url directly as of a web dynpro application.
    How to get the url for the iview developed and pass application parameter to Web dynpro
    RK

    Hi Ameya,
    I think you have misunderstood my issue. Let me explain the issue from first. I have a Web dynpro abap application with 2 application parameter.I used to pass value to this application parameter throgh the url of web dynpro abap. Its going to be a dynamic value not a static value passed to application parameter.
    Now we are creating a Portal Webdynpro Iview. here i can specify a static one time value to application parameter of my web dynpro abap application. But my need is the application parameter should have a different values. So what i am asking "Is it possible to call the Portal iview directly and pass parameter to the application parameter of web dynpro abap".
    With regards,
    Arjun Sekar

Maybe you are looking for