IUser gives error in Web Dynpro

Hi,
I am trying to use the following code to capture portal user id nad pswd in web dynpro
IWDClientUser user = WDClientUser.getCurrentUser();
IUser iuser = user.getSAPUser();
String name = iuser.getUniqueID();
I have included com.saop.security.api.jar for the same. However, wen i activate my web dynpro appln (DC) i get error.
>>Can't recognise symbol IUser
Can anyone tell me what is it that I am missing??

Hi Preksha,
     Try this code: Include a try-catch block....
try
IWDClientUser wdUser = WDClientUser.getCurrentUser();
IUser user = wdUser.getSAPUser();
//check whether the user is anonymous
if (user != null)
IUserAccount[] acct = user.getUserAccounts();
if(acct[0] != null)
String strUserid = acct[0].getLogonUid();
//pass the value obtained from the portal to value attribute
wdContext.currentNode().setAttribute(new String(strUserid));
catch(Exception......)
.............//write appropriate code...
Defining the IUser will show an error. To resolve this:
1. Right-click the project in Eclipse or SAP NetWeaver Developer Studio.
2. Select Properties.
3. Choose Java build path -> Libraries -> Add Variable -> Select variable WD_RUNTIME -> Extend -> com.sap.security -> lib -> com.sap.security.api.jar.
4.Open this file and retype the code.
Regards,
Pooja.

Similar Messages

  • Error inserting Web Dynpro Script

    Hello Word,
    I have a problem when I try to insert the web dynpro script, sends a messages "Error inserting Web Dynpro Script",  any idea?
    sorry about my english
    Christian..

    Chintan Virani, Thaks for the answer
    The Disigner version is 7.1 (ALD 7.1),  I am trying to create Interective Forms with Web Dynpro in ABAP.
    I read in some palce that upgrading the sap GUI resolve the problem but I have the 710 version sap GUI (I suppose it's the last version) but this do not resolve the problem.
    can you help me please, thaks
    Christian

  • Problem with deployment [credentials error] in Web Dynpro

    Hi all,
    Suddenly I was not able to deploy anymore.
    I am using SAP NetWeaver Developer Studio, Version: 7.0.11, Build id: 200702010238.
    For deployment I log with user SDM and some password. The Visual Admin wanted to change the Administrator's password and since then I am not able to deploy my project in Web Dynpro.
    I am a little confused actually how changing Administrator's password and not changing SDM's password would lead to such an issue.
    I will highly appreciate if somebody could give me a clue about a solution!
    Error details -
    Dec 11, 2007 1:28:58 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : sofD60161589A
    SDM port : 53018
    URL to deploy : file:/D:/temp/temp51933ToolAddProject.ear
    Result
    => deployment aborted : file:/D:/temp/temp51933ToolAddProject.ear
    Aborted: development component 'ToolAddProject'/'local'/'LOKAL'/'0.2007.12.11.13.28.41'/'0':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment exception : The deployment of at least one item aborted
    P.S. Please don't reply me with "search the forum..." and don't redirect me to some links. I did it already and it doesn't help. So, please if somebody knows the solution and wants to help - just to do it.
    Best regards,
    Ogniana

    Hi Ognyana,
    Do the following Steps,
    Use the Config Tool to change the entry in secure storage as follows:
    1. Start the Config Tool.
    (Execute <SAPj2eeEngine_install_dir> \configtool\configtool.bat.)
    2. Select the secure store node.
    The configuration for the secure storage in the file system appears.
    3. Select the admin/password/<SID> entry.
    4. Enter the administrator user's new password in the "Value" field and choose "Add".
    5. Choose "File" --> "Apply" to save the data.
    Note: Contrary to the message that appears, you do not need to restart the server or cluster for this change to take effect.
    6. Finally restart SDM server.
    Then deploy.
    Refer SAP note 701654
    Regards,
    Mithu

  • Unable to resolve the classpath error in Web Dynpro DC

    Hi,
    While building a new Web Dynpro DC we got the following build errors:
    The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.security.api.IUser. Fix the classpath then try rebuilding this project. ND1_MTRACK_DTrvlMgmtmindtree.com     
    We have already added the external jar files by following the steps mentioned in this blog /people/marion.schlotte/blog/2007/12/19/simplify-dc-structures-for-external-libraries
    The respective dependancy of the J2EE library dc was added to the WD component but the issue still persists.
    Please help us in resolving this error.
    Best Regards
    Gaurang

    Hi Gaurang,
    Were you able to resolve your issue?
    Hope the following links help:
    /message/7579461#7579461 [original link is broken]
    Re: Required JAR files:
    Regards,
    Dao

  • Error in web dynpro connections

    Hi,
    I Create and run a simple Web Dynpro application
    in that i didn't connect   my  app.server when i click on f8 and i provide login details also.
    after given login details error code is
    my err is Error code: ICF-IE-http -c: 200 -u: CLLABAP -l: E -s: DEV -i: clldev_DEV_00 -w: 0 -d: 20080527 -t: 172804 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    if any one knows the solution give me feed back
    Edited by: narendra kumar on May 27, 2008 2:01 PM

    well have a look at ST22 (short dumps) and see what it says. Provide us with the details, and we can have a look at it.

  • Deployment error for Web Dynpro application

    Hello, I have developed a new Web Dynpro Welcome application in my local system, which is my laptop. I have both the NW Dev Studio and the app server on my laptop.
    When I try to deploy and run the application I get the below error. As far I am concerned I have logged in as j2eadm user and trying to deploy.
    Appreciate your help to resolve the error
    Sep 23, 2007 6:26:57 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [002]Deployment aborted
    Settings
    SDM host : Natasha
    SDM port : 50018
    URL to deploy : file:/C:/WINDOWS/TEMP/temp6475Welcome.ear
    Result
    => deployment aborted : file:/C:/WINDOWS/TEMP/temp6475Welcome.ear
    Aborted: development component 'Welcome'/'local'/'LOKAL'/'0.2007.09.23.18.26.49':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Only Administrators have the right to perform this operation.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    As per the procedure given in 3rd point I have changed the j2eadm password but it gives me the below error when I try to redeploy and run
    Result
    => deployment aborted : file:/C:/WINDOWS/TEMP/temp26493Welcome.ear
    Aborted: development component 'Welcome'/'local'/'LOKAL'/'0.2007.09.25.22.11.45':
    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: [Natasha] with user name: [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: Authentication did not succeed.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

  • Using HttpsURLConnection Error - from Web Dynpro

    I have this case where I need to connect to a https site using SSL api.
    I'd created a java class to connect to the https site using the normal "javax.net.ssl" package provided by J2SE api. And this work successfully.
    However, there will be a problem if i trigger an action from the view to call for this java class, there will be an error.
    One thing which i found weird is :
    1.) If i use the normal java class to connect to the https site, it uses this connection protocol :
    sun.net.www.protocol.https.DelegateHttpsURLConnection:https://server/test/test1.jsp  (Works successfully)
    But
    If I call this java class from a view, it uses this connection protocol :
    iaik.protocol.https.HttpsURLConnection:https://server:443/test/test1.jsp  (Unable to work)
    How am i to make the web dynpro to use this "javax.net.ssl" api? I tried removing two of these library file :
    iaik_jsse.jar
    iaik_ssl.jar
    but the error still occurs.
    Does anyone have any idea how to solve this problem? Thanks.

    Hi jo lum
    did you solve the problem? I am facing the same. Maybe you can give me a hint.
    Thank you in advance
    Martin

  • Error testing Web Dynpro Callable Object (GP Interface)

    With reference to thread:
    Interactive form as  Callable object error on testing the object.
    FYI, I'm running NW04s, EP 7.0 SPS 13, JDK 1.4.2_14, Unix OS
    Hi All,
    I have created a Web Dynpro App with a Adobe Form as the frontend. I have included the caf/eu/gp/api as a DC and implemented the IGPWebDynproCO interface. Next I created a Web Dynpro Callable object in GP and ran a test and received the following error:
    Result: Technical Exception
    Details: Could not create web dynpro callable object component
    Output Parameters
    Callable object implementation did not return  output parameters
    Can anyone help me resolve this? Do I have to make a manual entry in the HOST file? If so, what is that entry? Are there alternatives?
    Thanks
    Kunal.

    Hi,
    For creating WD callable object you need to add following three DC in your WD DC project.
    In the Web Dynpro Explorer of the Web Dynpro Perspective, expand the node DC MetaData -> DC Definition, and select Used DCs.
    a.      To create a DC dependency, open the context menu and choose Add Used DC.
      b.      Select Local Development  -> SAP-EU  -> caf/eu/gp/api/wd  -> DC MetaData  -> Public Parts  -> GPWebDynproCO. For Dependency Type, select Build Time, Design Time, and Run Time. Choose weak from the dropdown list.
      c.      Repeat the previous step to define a dependency to DCs SAP-EU-> caf/eu/gp/api (public part external) and SAP-JEE -> com.sap.security.api.sda (public part default).
    You need to do one more thing like bellow.
    Select your Web Dynpro project and open its context menu. Choose Properties.
    1. Choose Web Dynpro References -> Library References.
    2.  Add a reference for library caf/eu/gp/api.
    I think this will help you.
    Thanks
    Chandan

  • Error in web dynpro project build

    Hi All,
    My web dynpro project which was running absolutely fine earlier is now facing certain build and deployment problem.
    <b>The build log is as follows:</b>
    Jun 25, 2007 2:16:28 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: sox_p3v1: Build failed for sap.com/sox_p3v1(MyComponents) in variant "default":
    The Build terminated with errors
    Build log -
    Build Plugin Version: 1.6.3 (630_REL) from 03 November 2004 12:47:57
    Start: 25.06.2007 02:16:23
    Temp dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F
    prepare:
        [mkdir] Created dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\DCs\sap.com\sox_p3v1\_comp\gen\default\deploy
        [mkdir] Created dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gwd\packages
    gen:
        [ddgen]
        [ddgen] [Info]    Property deployment is true: Deployment information is provided!
        [ddgen] [Info]    Property sourcepath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\DCs\sap.com\sox_p3v1\_comp\src/packages
        [ddgen] [Info]    Property targetpath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F/gdd
        [ddgen] [Info]    Property archivename: sap.com~sox_p3v1
        [ddgen] [Info]    Property vendor: sap.com
        [ddgen] [Info]    Property dcname: sox_p3v1
        [ddgen] [Info]    Property language: Available languages are automatically determined!
        [ddgen] [Info]    Property addpaths ...
        [ddgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [ddgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [ddgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
        [ddgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
        [ddgen] [Info]    Destination directory C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gdd does not exist
        [ddgen] [Info]    Destination directory C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gdd is created
        [ddgen] [Info]    Initialize generation templates from configuration jar:file:/E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/dict/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/severity.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/parant.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/noanswer.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/PackagePointer.java
        [ddgen] [Warning] Simple type com.sap.hcl.assessmemt.noanswer  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/iconproc.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/impact.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/PackagePointer.java
        [ddgen] [Warning] Simple type com.sap.hcl.risk.impact  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/effectiveness.gsimpletype
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/PackagePointer.java
        [ddgen] [Warning] Simple type com.sap.hcl.control.effectiveness  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/likelihood.gsimpletype
        [ddgen] [Warning] Simple type com.sap.hcl.risk.likelihood  is generated with warnings
        [ddgen] [Warning] mdoTexts: The text consists only of special characters and/or numbers. ;
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/structRisk.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/structControl.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/issue/structIssue.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/issue/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/structTree.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/structAnswer.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/structAuditInfo.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/structAudit.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/structAuditee.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/QuestionnaireInfo.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/task/structTask.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/task/PackagePointer.java
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/structQuestionnaire.gstructure
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/tree/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/control/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/assessmemt/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/audit/simpleTypesResource.properties
        [ddgen] [Info]    Generating datatypes/com/sap/hcl/risk/simpleTypesResource.properties
        [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
        [ddgen] [Info]    Generation finished (3 seconds)
        [ddgen]
        [wdgen]
        [wdgen] [Info]    Property deployment is true: Deployment information is provided!
        [wdgen] [Info]    Property sourcepath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\DCs\sap.com\sox_p3v1\_comp\src/packages
        [wdgen] [Info]    Property targetpath: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\gwd
        [wdgen] [Info]    Property archivename: sap.com~sox_p3v1
        [wdgen] [Info]    Property vendor: sap.com
        [wdgen] [Info]    Property dcname: sox_p3v1
        [wdgen] [Info]    Property language: Available languages are automatically determined!
        [wdgen] [Info]    Property addpaths ...
        [wdgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [wdgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
        [wdgen] [Info]       SapMetamodelWebdynproContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
        [wdgen] [Info]       SapMetamodelDictionaryContent.zip - E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
        [wdgen] [Info]    Initialize generation templates from configuration jar:file:/E:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
        [wdgen] [Info]    Generating portalapp.xml
        [wdgen] [Info]    Generating wd.xml
        [wdgen] [Info]    Generating application.xml
        [wdgen] [Info]    Generating application-j2ee-engine.xml
        [wdgen] [Info]    Generating PublicPartFileList.properties
        [wdgen] [Info]    Generating PublicPartFileList.xml
        [wdgen] [Info]    Generation finished (0 seconds)
        [wdgen]
        [mkdir] Created dir: C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\classes
        [javac] Compiling 7 source files to C:\Documents and Settings\anubha.pandey\.dtc\LocalDevelopment\t\FD7EA53918BB25A337D8FEA68F2A940F\classes
    Build with ERRORS
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 48.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at com.sapmarkets.technology.classloader.ExtendedClassLoader.access$001(ExtendedClassLoader.java:21)
         at com.sapmarkets.technology.classloader.ExtendedClassLoader$1.run(ExtendedClassLoader.java:702)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapmarkets.technology.classloader.ExtendedClassLoader.findClass(ExtendedClassLoader.java:688)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.doesModernCompilerExist(CompilerAdapterFactory.java:173)
         at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:131)
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:835)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
         at org.apache.tools.ant.Task.perform(Task.java:341)
         at org.apache.tools.ant.Target.execute(Target.java:309)
         at org.apache.tools.ant.Target.performTasks(Target.java:336)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:130)
         at com.sap.tc.buildplugin.techdev.webdynpro.BuildAction.execute(BuildAction.java:79)
         at com.sap.tc.buildtool.PluginHandler.handlePluginCommunication(PluginHandler.java:616)
         at com.sap.tc.buildtool.PluginHandler.execute(PluginHandler.java:220)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1131)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:4713)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:301)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:206)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    End: 25.06.2007 02:16:28 (Duration: 4 seconds)

    hi Anubha:
    This isnt a web dynpro error. This is an error regarding the java installtion of your machine. I guess there is a mis match between the JDK and the JRE verions installed. Kindly uninstall the jre and jdk and freshly install jdk 1.4.2_10 and let me know what happens.
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • Runtime error in Web Dynpro Application

    Hi Experts,
    I am getting a runtime error from a custom Web dynpro Application. The error details are
    Category               ABAP Programming Error
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Except.                CX_SY_REF_IS_INITIAL
    Web Dynpro Component   Z*
    ABAP Program           /1BCWDY/0O2TGWNVA3D2IUW3YFXJ==CP
    Application Component  Not Assigned
    Could someone please help on resolving this error.
    -Regards,
    Ragavan

    Hi,
    Add additional info including the ST22 dump for security you can run find and replace in the st22 dump text and relplace ahost name and sid.
    Also when do you get this dump exactly i.e. what are you doing or how are you accessing the webdynpro for the error to be generated.
    What is your system patch and kernel levels.
    Please provide more information otherwise this is just a guessing game.
    Johan

  • Javascript error in web Dynpro iViews

    Hello,
    I've developed a web Dynpro page which accesses the default database ( maxdb). This page is working fine when tested by calling the application from the browser.
    Now I've created an web dynpro iview in portal ( EP-6 SP15- Sneak preview). I get java script errors - <i>SSR undefined</i> and none of the drop down boxes are populated.
    Can anyone help me out in this?
    Thanks,
    Sudhakar

    Probably the stylesheets of your Portal are not compatible to the used Web Dynpro version.
    Armin

  • RFC ERROR IN WEB DYNPRO

    Hi
    I m Doing Web Dynpro Program For DMS Project There Is Some Problem Occuring In Default Function Module ARCHIVOBJECT_CREATE_FILE
    And The Error Msg Is : Cannot Call RFC Program And No Return Possi
    By
    Srinivasan.R

    Hi,
    Please check if its Remote Enabled. The FM ARCHIVOBJECT_CREATE_FILE is a normal function module and not remote enabled.
    As you have said, RFC error, I assume you are trying to call the FM from a different system specifying the DESTINATION
    option.
    Regards,
    Sagar

  • Errors in web dynpro

    Hi ,All,
    There is an error occured when i use service call to program in web dynpro.
    that is  "Exception NO_ENTRY_FOUND that Is Not Class-Based Occurred ".
    can someone tell me what i should do to modify it?
    Thank you very much.

    Hi, Vijay,
    Thank you for ur replay.
    Now i am using bapi_outb_delivery_confirm_dec.
    But whatever i input, the message displays as 'sorry, the delivery(the number i input) do not exist' , even i input the right number.
    ps: the message was created by myself.
    Looking forwad to ur replay.
    Thank you.

  • DC Build Error with Web Dynpro Project

    Hi,
    I have created a DC Project and migrated all the local Web Dynpro project to the DC project which is connected to NWDI.
    When I performed a Development Component Build, I am getting tons of errors like this :
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:26: package com.sap.ip.bi.sdk.dac.result.model does not exist
    import com.sap.ip.bi.sdk.dac.result.model.BITableItem;
                                              ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:27: package com.sapportals.connector.connection does not exist
    import com.sapportals.connector.connection.IConnectionFactory;
                                               ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:28: package com.sapportals.connector.connection does not exist
    import com.sapportals.connector.connection.IConnectionSpec;
                                               ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:25: package com.sap.security.api does not exist
    import com.sap.security.api.;*
    ^
    C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:29: package com.bhpb.bi does not exist
    import com.bhpb.bi.BITable;
                       ^
    I have included a jar file BIWrapper.jar in the lib folder....
    Does it mean that some of the dependencies jar files is needed in the NWDI?
    For anyone help please.
    Thanks.

    Hi,
    Create an Dc of type external library which contains the BI Wrapper
    and refer this dc from your WD.
    This blog will help you in creating external /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
    Regards
    Ayyapparaj

  • 500Internal Server Error The Web Dynpro application PageBuilder has expired

    hi all ,
    i am using public url domain to access my portal through internet . i have done a reverse proxy using apache . from my server url i am able to get every page . from public url i am not able to view my webdynpro applications . its showing the following error
    500   Internal Server Error
      SAP J2EE Engine/7.01 
      The Web Dynpro application 'PageBuilder' has expired. Restart the application. Choose 'Refresh' in the iView tray or use the browser 'Refresh' button to restart the iView
      Details:   No details available
    i  got this log file in the portal
    Full Message Text
    Session unknown: Request with URI=/webdynpro/dispatcher/sap.com/pb/PageBuilder was sent to unknown session. Either request with wrong session parameters was sent, or session has expired before Wed Oct 20 21:47:46 IST 2010. Current request parameters={sap-ext-sid=DL7cHVE6DiKdbE9gwYkSdg5A6q8C_OKOzgxi0HoLa2iw, sap-wd-cltwndid=WID1287644121668, sap-wd-norefresh=X, sap-ep-version=7.0104.20090422102234.0000}. Is termination request=false. Request was sent from host with IP=172.31.11.95/name=172.31.11.95. Hint: see SAP note 842635 for more details on session expiration. RID=a16ac995dcdf11dfb3e70021281821ee
    [EXCEPTION]
    com.sap.tc.webdynpro.clientserver.session.SessionExpiredLongJumpException: Session has expired (current request: follow-up request). Please restart the application. Hint: HttpSession seems to be expired due to user inactivity or application is called with wrong URL parameter (sap-wd-norefresh=X).
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.findClientSession(RequestManager.java:258)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:146)
    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)
    can anybody helpme in this issue

    Hello,
    Please see this post:
    The Web Dynpro application 'PageBuilder' has expired
    I think the problem is solved in this post.
    Regards.

Maybe you are looking for