Authentication Screen when accessing Web Dynpro Application

Hi,
We are encountering a situation wherein when we call the Web dynpro application, it asks for Authentication. The way we do is a bit tricky. We have the following set up;
1. We access the CRM_IC ( Web Gui) in CRM and from where we try to create orders  in the backend system i.e., ECC6.0 (IS_Utilities).
2. For creating orders we launch the FOP ( in our case it is DYNPRO) from CRM. So ECC screen is opened through ITS using SSO.
3. In addition to this we built a web dynpro application to be called from the DYNPRO (step 2).
4. When the Web dynpro application is accessed it asks for Login details though it has already logged into ECC using SSO.
PROBLEM: CRM -- using ITS / SSO --> ECC --> Web dynpro ?? Authentication screen.
Design:
We are using WDY_EXECUTE_IN_PLACE to open the Web dynpro in SAPGUI. It is working fine when we run the Web dynpro application from SAPGUI, only the problem is when we do the above steps 1 - 4.
Tried using the following logic as well but the same result.
CREATE OBJECT viewer EXPORTING parent = empty_container.
CALL METHOD viewer->enable_sapsso
CALL METHOD viewer->DETACH_URL_IN_BROWSER
EXPORTING url = urlc.
cl_gui_cfw=>flush( ).
So is it possible to over come the problem. Basically, we don't want the Authentication screen it should use SSO.
SSO is already set up in the system.
Any inputs will be highly appreciated.
Thanks,
Roopesh

resolved!!!!
CRM had wrong url to connect to web dynpro aplication
Edited by: Aditya Deshpande on Mar 3, 2010 9:59 AM

Similar Messages

  • Uncaught exception when executing web dynpro application

    Hello all,
    I'm getting run time error exception CX_WDR_RR_EXCEPTION not caught when running web dynpro application
    The error analysis shows the custom component is locked by the user and cannot be regenerated. But I checked in SM12 for locked entries and component was not listed there.
    The program terminated in the include LWDR_RUNTIME_REPOSITORYF12
    Please suggest how to resolve the isse?
    Regards,
    anil

    Dear Anil,
    What type of WD is it ?
    Do you get the error when you trigger some sort of event ?
    Is it when first launch the WD ?
    Can you be more specific and share with us the code where this is dumping ?
    You can also check this link
    [CX_WDR_RT_EXCEPTION' - How to catch it?;
    Kind Regards
    /Ricardo Quintas

  • How to customize error mess, when an Web Dynpro application Deployed

    Hi Frndz...
    When we r deploying any web dynpro application , if there was any error in that WDP application its showing an error page the list of errors with HOST name  n patch level n OS details n so many n with the line number of that error in the code.. Normally.
    But as my requirement i need to restrict the HOST,OS ,PATCH details in this list to avoid the security issues.
    If anybody have any idea plz share with  me...
    Regards
    Rajesh

    Hi..
    Thank u boss, ur reply was very helpfull to sort out our requirment.
    Regrads
    Rajesh

  • Accessing Web Dynpro application outside portal

    Hello alles,
    Our customer wants to display a Web Dynpro application result on a regular hmtl intranet page, i.e. without showing the portal.
    We have tried with html frames, but end up with a flickering or empty screen. The problem occurs both with a quick link to the application within the portal, an SSO link, a link to the iView, a webdynpro/dispatcher address ...
    It seems as if the problem occurs with all WD iViews, but not with e.g. a regular News iView.
    Do you have any suggestion on how we could solve this? Reasons?
    Thank you in advance!
    Brgds,
    Caroline
    Message was edited by:
            Caroline Janzon

    hi
    good
    go through this link,hope this ll help you to solve your problem
    http://www.sap-press.de/download/dateien/1103/sappress_maximizing_web_dynpro_for_java.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/using%20ejbs%20in%20web%20dynpro%20applications.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62
    thanks
    mrutyun^

  • Access Web Dynpro application on different WAS ??????????

    Hi All,
    Current Scenario -
    We have deployed ESS & MSS Business package on one WAS and the iviews are present on another WAS.We have created a Dedicated R/3 system which is pointing to the WAS where these packages are deployed.
    All these things are working fine i.e. once the user maps the id pswd it directly runs the Web Dynpro applications in the iviews.
    That means, even if application is running on one WAS, and the user personalises data on another WAS, it still retrieves the credentials and shows the appropriate results for ESS MSS Packages.
    Query-
    Now i need to implement the same scenario in my Web Dynpro application
    Steps
    1) I have the WD application running on one WAS and portal on another
    2) In portal there is a R/3 system created
    3) The Web Dynpro application needs to know if the user has personalised mapping against that system created on portal(other WAS)
    4) If yes show him the home page else take him to the login page.
    Just as it is implemented for ESS MSS Packages.
    How can i pass the mapped data to the Web Dynpro iview ?
    Thanks and Regards,
    Samta Nichani

    Amol,
    as this questions existed twice, I've deleted one.
    As roles are in the UME, you can access them. But why do you want to do this? You could login to that user, but then the question is what you want to do....
    Regards,
    Benny

  • A problem when start web dynpro application....

    each time I start  web dynpro application, I always be asked to provide username and password,
    but one of  my colleague was only ased that for the first time.......
    it puzzled me very much, anybody helps me out?

    the box is checked by default , isn't it.......
    but it seems that the checkbox is not work.....i still have to asked to provide username/password
    thanks for your answer..

  • No variable Screen when accessing web reports via "New analysis" button

    Hello !
    I need some help or explanation :
    I'm on a web report (Java) and i want to access another report.
    I click on the "new analysis" button on the top, then i open the "roles" folder and select a report.
    The new report start but without the prompt screen with the variable selection.
    I also saw that the URL shown on Internet explorer is the old one (not the new querie URL)
    This is the same problem with all my queries when accessing them via the "new analysis" menu.
    Why is this screen squeezed ?
    I need to have these variable entries !
    I've tried some modification on 0ANALYSIS_PATTERN .... (porperties / variable) = no effect
    Thanks for your help.
    Tech info :
    Web template : 0ANALYSIS_PATTERN.
    SAP NetWeaver BI 7.0 SP15
    SAPGUI 710 Final Release SP7

    Hello Karim,
    I've exactly the same problem ! I've changed WT properties to ON for Variable Screen, Reset Variables etc... but it has no effect...
    Did you find a solution ? If yes, can you share it.
    Thanks a lot
    AJ
    Web template : 0ANALYSIS_PATTERN.
    SAP NetWeaver BI 7.0 SP18

  • SDM Error when Deploying Web Dynpro Application

    Hi,
    My SAP SDM server gives error while, I deploy any .ear file through NWDS. Error is as below:
    Jul 29, 2008 4:22:29 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [ThreadDeploy Thread,5,main] ERROR:
    003Deployment aborted
    Settings
    SDM host : server2
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/gyan/LOCALS1/Temp/temp16971gyan.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/gyan/LOCALS1/Temp/temp16971gyan.ear
    Aborted: development component 'gyan'/'local'/'LOKAL'/'0.2008.07.29.16.22.26':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: server2 with user name: J2EE_ADMIN Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted.
    i have same password for SDM and J2ee_admin.
    Regards
    Gyan

    Hi Gyan Prakash,
    I Faced Similar when iam working on NWDS, nothing to worry about it just Delete the Application which you have created for your Project
    you find your application as follows:
    proj_sample --> webDynpro --> Applications --> proj_sampleApp.
    Delete the proj_sampleApp.
    save all metadata. Rebuild your Project. Restart your NWDS.
    create your New Application for your WebDynpro Project, rebuild your project and Now Deploy and Run your Project.
    This will solve your Problem.
    Regards,
    Sharma.

  • Web Dynpro Application Deployment need server restart?

    Hi Everyone,
    When deploying Web Dynpro application on production environment, do we need to restart the sap portal system and server?
    I have this issue that when ever we deployed new develop Web Dynpro application with new Abap Function module we need to restart our Enterprise portal production server. Is this really necessary. Is there other way to deploy Web Dynpro application with new Abap function module without restarting the server.
    Please help,
    Michael Mondelo

    Hi michel,
    for example , assume you imported a RFC bapi_flights from r/3 to webdynpro dc , and both rfc requests and webdynpro application is deployed to the development server and then moved to quality server.
    now you have done some changes in the rfc bapi_flights i  mean change in the structure .
    case 1 : now with out reimporting the change to webdynpro application and you move the request to the quality r/3, your application dumps . because the structure change is not incorporated at your webdynpro DC.
    case 2 : you have re imported the rfc incorporating the changes to the web dynpro applicaiton dc, now with out moving the structure changes request to the quality r/3 and you deploy the webdynpro Dc having the changes to your quality EP , still the applicaiton dumps because your appliction refers to the rfc with out structure change in quality r/3.
    case 3 : you have moved the abap request having the strucutre change and also the webdynpro development component where the changes are also incorporated , now on moving both , your application might dump , because the meta data cache might have been not updated with the new structure change in the quality ep server. so you have invalidate the cache in the JCos you have used to import the rfc. or else on restarting the EP server , the new structure change will be updated in the server.
    most of the cases  Invalidation of cache works and in some cases you have restart the server fo the changes to update.
    Regards
    Govardan Raj

  • Uncaught exception while executing web dynpro application

    Hello all,
    I'm getting run time error exception CX_WDR_RR_EXCEPTION not caught when running web dynpro application
    The error analysis shows the custom component is locked by the user and cannot be regenerated. But I checked in SM12 for locked entries and component was not listed there.
    The program terminated in the include LWDR_RUNTIME_REPOSITORYF12
    Please suggest how to resolve the isse?
    Regards,
    anil

    Hi Anil,
    I'm also getting the same run time error. When I try to activate the Web Dynpro component, I'm getting error that the component is locked by the user.
    Please let me know how you solved this issue.
    Thanks in advance for the quick response.
    Thanks & Regards,
    Jay

  • Exception not caught while executing web dynpro application

    Hello all,
    I'm getting run time error exception CX_WDR_RR_EXCEPTION not caught when running web dynpro application
    The error analysis shows the custom component is locked by the user and cannot be regenerated. But I checked in SM12 for locked entries and component was not listed there.
    The program terminated in the include LWDR_RUNTIME_REPOSITORYF12
    Please suggest how to resolve the isse?
    Regards,
    anil

    sorry...posted in wrong forum...

  • Getting error "Access via null" when running the web dynpro application

    Hi experts,
    I am getting the below error while executing my web dynpro application
    500 SAP Internal Server Error
    ERROR: Access via 'NULL' object reference not possible. (termination: RABAX_STATE)
    I am getting the error only when I am calling a method create manufacturer from my web dynpro program. If i comment this code my application works fine
    CALL METHOD wd_this->mo_ch_instance->create_manufacturer
      EXPORTING
        gi_manufacturer = ls_manufacturer
      IMPORTING
        lv_message      = lv_status
    i have created a attribute mo_ch_instance of type YSRM70CL_CH_SW_MD  where YSRM70CL_CH_SW_MD is the class which has the create_manufacturer method that i am using in my code.
    Kindly let me know whats the issue.
    Regards,
    Vinod

    Hi,
    if   wd_this->mo_ch_instance is not initial.
    CALL METHOD wd_this->mo_ch_instance->create_manufacturer
    EXPORTING
    gi_manufacturer = ls_manufacturer
    IMPORTING
    lv_message = lv_status
    endif.
    Check wether you have created the object for that class r not.
    Regards,
    Lekha.

  • Web Dynpro Application Accessing ABAP Functions

    I wrote the example application for Web Dynpro Application Accessing ABAP Functions, as described in the tutorials for NWDS. But when I run, it only show me a blank blue page nothing else, how to fix this issue?
    Thanks,
    Jawed Ali

    Hi Jawed,
    Again, I'll insist you to please check if your view is embeded in the Window.
    write some output message in the view to ensure that not only gui's, even the messages in the view are not coming.
    if there is another issue, Please share with us.
    Thank & Regards,
    Namrta Mahajan

  • Error at run time When Access Web Service in web dynpro java

    Hi
    I am used web service created on other machine.I am used wsdl file created in web service.
    is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error.
    The initial exception that caused the request to fail, was:
       java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out:could be due to invalid address.
        at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
        at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
        at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
        at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        ... 50 more
    please help me.
    thank in advance

    Hi,
    java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out: could be due to invalid address. first check it are you able to connect the WSNavigator. I think you are not able to connect the WSNavigator and are you able to see the WebService in WSNavigator?
    Procedure
    To import a Web service model, proceed as follows:
           1.      Choose the context menu entry -
    Create Model on the -
    Models node of the relevant component.
           2.      In the model wizard, choose Import Web Service Model followed by Next.
           3.      In the second wizard window, enter a model name and specify the package and source code directory. The name of the proxy package is created automatically when you specify the model package.
           4.      Select whether your Web service source is from a local server, is addressed using a URL, or whether it is a UDDI service.
           5.      If you select Local File System or URL, choosing Next will take you to the following window in which you enter a local WSDL URL or select one by choosing Browse.
           6.      If you selected the option UDDI or URL, choosing Next will take you to the following wizard window in which you either enter a WSDL URL of a UDDI service directly or select one by choosing UDDIu2026
    Enter the WSDL description of the Web service in the Wsdl field u2013 for example, http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService for an e-mail service.
    You do not need to make any entries in the next step, Proxy Definition / URI Package Mappings. Choose Finish to close the window.
           7.      Switch to the Package Explorer view, select the file lport1.lp in the directory \src\packages\<myPackage>\, and check the port entries.
    Hope this helps!!
    Regards
    Vijay

  • Error - Creating a Web Dynpro Application Accessing ABAP Functions

    Dear All,
    we are trying to implement a web dynpro application with accessing ABAP functions.
    Previous tasks:
    -     insert the ABAP system into the SLD from the NWDI System (Transaction RZ70; the ABAP system is correctly insert into the SLD => technical systems)
    -     equipped the JCO connections with the web dynpro content manager (ping and test = OK)
    It’s the standard tutorial out of the SDN called “Creating a Web Dynpro Application Accessing ABAP Functions”.
    Some hints:
    -     There are no errors after the implementation and the “rebuild” of the project in the NWDS
    -     The auto deployment works fine to the development runtime system. The application is shown in the Web Dynpro content manager
    -     The In the build log I found these entries:
    System.err] [Invoked from  com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:585)]
    [System.err] java.net.UnknownHostException: FRASAPP562: FRASAPP562
    [System.err]      at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
    [System.err]      at com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:575)
    [System.err]      at com.sap.s2x.tools.GUID.<clinit>(GUID.java:179)
    [System.err]      at com.sap.s2x.tools.S2XGUID.getGUID(S2XGUID.java:19)
    [System.err]      at com.sap.ide.metamodel.core.i18n.LanguageState.createS2XID(LanguageState.java:191)
    [System.err]      at com.sap.ide.metamodel.core.i18n.S2XLanguageUnmarshaller.unmarshal(S2XLanguageUnmarshaller.java:52)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.loadLanguageState(TextPoolProxy.java:703)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.prepareLanguageForRead(TextPoolProxy.java:646)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.isEmpty(TextPoolProxy.java:222)
    [System.err]      at com.sap.ide.webdynpro.checklayer.MDOChecker.check(MDOChecker.java:23)
    [System.err]      at com.sap.ide.webdynpro.checklayer.view.ViewChecker.check(ViewChecker.java:52)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ViewControllerChecker.check(ViewControllerChecker.java:96)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:119)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:56)
    [System.err]      at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:181)
    [System.err]      at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:56)
    [System.err]      at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2039)
    [System.err]      at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)
    [System.err]      at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
    [System.err]      at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [System.err]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [System.err]      at java.lang.reflect.Method.invoke(Method.java:324)
    [System.err]      at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
    [System.err]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [System.err]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [System.err]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [System.err]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [System.err]      at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [System.err]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)
    [System.err]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)
    [System.err]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:213)
    [System.err]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:190)
    [System.err]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    [System.err]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [System.err]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [System.err]      at java.lang.reflect.Method.invoke(Method.java:324)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
    [System.err]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
    [System.err]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
    [System.err]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
    -     I’m able to start the application out of the Web Dynpro content manager with “run” => only the user interface is displayed without any functionality
    -     The “normal” start over the NWDS fails => error text
    “com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/J08_Flugdat_Daventdcflight~xxx.com' and application 'FlightListApp' are not deployed on the server. Please check the used URL for typos.”
    There two different URLs in use.
    Start via NWDS:
    http://frasapp562:50000/webdynpro/dispatcher/J08_Flugdat_Daventdcflight~xxx.com/FlightListApp
    Start via web dynpro content manager:
    http://frasapp562:50000/webdynpro/dispatcher/xxx.com/aventdc~flight/FlightListApp
    For test purposes, we started the BAPI (BAPI_Flight_Getlist) on the ABAP system directly. It works.
    Any ideas about the system behaviours (different URLs and missing functionality)?
    Thanks a lot in advanced!
    Best regards
    Christoph

    The Error has been solved – The implementation of a method was missing....
    Thx
    Christoph

Maybe you are looking for