Configure a web dynpro application!!!

Hi Experts,
I am working on ESS-Travel and Expenses application. In that I have an ALV displayed on a POWL component. Here when we go to user settings after we right click on the ALV we get option to hide/show the columns of the ALV. What I need is to restrict the user to personalize these settings to show/hide columns in the ALV. Please suggest a solution.
Thanks and Regards,
Vaibhav Tiwari.

Have a look on this code which will hide 'export' and 'pdf' option from header of ALV. Doube click on if_salv_wd_std_functions on this interface and you will see all the function. Then just find out which you want to hide, get the method name from there and add the line in this code...and make as abap_false.
DATA: lr_cmp_usage           TYPE REF TO if_wd_component_usage.
  lr_cmp_usage = wd_this->wd_cpuse_cu_alv_search( ).
  IF lr_cmp_usage->has_active_component( ) IS INITIAL.
    lr_cmp_usage->create_component( ).
  ENDIF.
  DATA: lr_if_controller TYPE REF TO iwci_salv_wd_table,
        lr_config_model  TYPE REF TO cl_salv_wd_config_table.
  lr_if_controller = wd_this->wd_cpifc_cu_alv_search( ).
  lr_config_model = lr_if_controller->get_model( ).
  lr_config_model->if_salv_wd_std_functions~set_export_allowed( abap_false ).
  lr_config_model->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
Hope it works.

Similar Messages

  • How to inject external configuration into web dynpro application

    Hi colleagues,
    I've a web dynpro application, which has some hard coded hostnames in the source code.
    All hard coded hostnames should be moved to some else place, either engine parameters or external configuration file.
    Searching over the project, hard coded hostnames were found in following file types:
    - wdmodel files
    - properties files
    - java files
    How to inject external configured hostnames into web dynpro applications, especially wdmodel and property files? Are threre best practices?
    Thanks for any hint!
    Best regards
    Daniel

    property file is supposed to do that job, you can configure the value at nwa after the application is deployed.
    Configuring a Web Dynpro Application (Java) - IT Scenarios at a Glance - SAP Library

  • ABAP Web Dynpro: Application Configuration vs Admin Personalization problem

    Hi,
    I created an application configuration for the application MT_ORDER_APP with a component configuration on RPLM_MT_ORDER_COMP.  I changed several Labels and UI Element visibility... and saved.
    When I test this application config for viewing an order of type ZX99, I don't see my changes.  If I right-click on the page, I see that the configuration Id used is MT_ORDER_ZX99.
    Why my Z config is overrided by this one???
    By testing in Admin mode, I discovered that I can personalize this MT_ORDER_ZX99 Config.... But then, the changes are visible to all users viewing ZX99 type orders.
    How to manage to make my Application Config highest in priority?

    Hi,
    how did  you  open in administrative mode?
    to open in adminstrative mode do as follows:
    In se80 ,i.e in the menu bar:
    Web Dynpro Application->Test->Test in Administation mode.
    i hope u can see the option "Settings for surrent config" .
    you can refer the thread.
    [Re: ABAP Web Dynpro Application changes in Administation mode]
    Priya.

  • Error while deploying the Web Dynpro application

    HI All,
    I have developed a Web dynpro application. Now when I am deploying the application I am getting an error.
    Description
    Jan 8, 2008 2:14:12 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [002]Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
    Can any one please help me regarding this.
    Regards
    Neha

    Hi Neha,
    It seems that there is problem with your SDM server. It seems that during J2EE engine configuration SDM server is not configured. Actually this configuration is done by Basis Team.
    By the way try out your Server setting:
    Go To:: Windows -> Preferences -> SAP J2EE Engine
    [Mention the required details over there]
    And Check whether you are getting Active SDM Server under J2EE Engine.
    Regards,
    Nittin Garg

  • Cannot deploy Web dynpro application from NWDS

    Hi,
    I am new to EP. I created a web dynpro application in nwds and tried to deploy it. But it gives the following error .
    Settings
    SDM host : nw04
    SDM port : 50118
    URL to deploy : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Result
    => deployment aborted : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Aborted: development component 'WelcomeWebDynproprj'/'local'/'LOKAL'/'0.2007.05.02.19.35.01'/'0':
    <b>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</b>. 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)
    I have even configured J2EE server in the nwds through preferences. I have used the default passwords during installing sneak preview.
    What should i do to deploy my application  successfully??????

    My Server settings are fine in preferences of NWDS. Every thing is showing green
    I get the same problem even when i delpoy through SDM.
    This is the error when i deploy through SDM
    Deployment started Thu May 03 06:27:27 PDT 2007
    ===========================================================================
    Starting Deployment of MyFirstWebDynProPrj
    Aborted: development component 'MyFirstWebDynProPrj'/'local'/'LOKAL'/'0.2007.04.14.22.37.46'/'0':
    <b>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.</b> For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: <b>Wrong security credentials detected while trying to obtain connection to the J2EE Engine.</b>
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment of MyFirstWebDynProPrj finished with Error (Duration 6656 ms)
    It seems like a configuration issue in SAP J2EE Engine Config Tool.What should i do.
    Highest points will be awarded if some one can help me in this

  • Cannot deploy web dynpro applications

    Hello,
    I'm starting to develop web dynpro applications, and I can run them on the nwds, but I cannot deploy them to the SDM, i always get the following error:
    /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [003]Deployment aborted
    Settings
    SDM host : myserver
    SDM port : 50118
    URL to deploy : file:.../Temp/temp53918Welcome.ear
    Deployment exception : Server myserver did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server myserver at port 50118: No route to host: connect
    Inner exception was :
    Server myserver did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server myserver at port 50118: No route to host: connect
    I have installed Sneak Preview SAP NetWeaver 2004S SR 1, i can access the  enterprise portal with no problems.
    I would be appreciate if anybody could help me with this issue.
    Regards,
    Leandro Fonseca

    At the same time if more users are deploying then you may such 'deployment aborted' errors check if there are more child instances for the J2EE engine.If not ask your basis administrator to create more child nodes to balance the load on the server instance.Also You can find out the server details at
    "http:
    <hostname:portnum>\index.html"select system configuration-you can get the details of the SDM and the j2ee engine from there.You need to have proper credentials to get the information from the above url.
    Provide those details in the NWDS.

  • Call ESS FPM CATS Working time application from non FPM web dynpro application on click of button

    Hi,
    My requirement is to launch ESS Working time application HRESS_AC_CATS_1 from custom web dynpro application.
    ESS CATS working time application is configured in LPD_CUST launchpad.
    I tried using method  cl_hr_navigation_services=>navigate in my custom web dynpro but it did not work.
    Regards,
    Ibrahim

    In case you want to use Launchpad, you can use ABAP class CL_APB_LAUNCHPAD_API. If choose not to use Launchpad, you can use method CONSTRUCT_WD_URL of ABAP class CL_WD_UTILITIES to generate the URL. Specify Web Dynpro application and Web Dynpro Configuration as parameter. Finally create an external window using method CREATE_EXTERNAL_WINDOW that points to that URL.

  • Error while running web dynpro application

    Hi Experts,
    I have a web dynpro application that is consuming web services from PI 7.1
    I have deployed the application on PI 7.1 server and created web service destination also.
    I have tested the web services and they are working fine.
    I am geting the following error when i am running the code,
    The initial exception that caused the request to fail, was:
    com.sap.engine.lib.xml.util.NestedException: Illegal conversion
    Detailed Exception Chain
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'DEFAULT_WS_XYZ_METADATA_DEST' and WS interface ' XYZ_WSD_PI'. One possible reason is that the metadata destination 'DEFAULT_WS_XYZ_METADATA_DEST' has not been properly configured; check configuration.
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
    at com.dts.model.xyz.xyz.<init>(xyz.java:52)
    at com.dts.comp.DTCComp.wdDoInit(DTCComp.java:184)
    at com.dts.comp.wdp.InternalDTCComp.wdDoInit(InternalDTCComp.java:420)
    Caused by: com.sap.engine.services.webservices.espbase.configuration.ConfigurationMarshallerException: com.sap.engine.lib.xml.util.NestedException: -> com.sap.engine.lib.xml.util.NestedException: Illegal conversion
    at com.sap.engine.services.wssec.srt.features.configuration.SecurityConfigurationMarshaller.unmarshalAssertions_WSPOLICY_12_NS(SecurityConfigurationMarshaller.java:326)
    at com.sap.engine.services.wssec.srt.features.configuration.SecurityConfigurationMarshaller.unmarshalAssertions(SecurityConfigurationMarshaller.java:246)
    Caused by: com.sap.engine.lib.xml.util.NestedException: Illegal conversion
    at com.sap.engine.lib.xsl.xpath.xobjects.XObject.toXBoolean(XObject.java:63)
    at com.sap.engine.lib.xsl.xpath.xobjects.XBoolean.execute(XBoolean.java:72)
    I am getting error in component controller doInit() method and below is the code
              XYZ model = new XYZ ();
                 Request_XYZ  request= new Request_XYZ(model);
                 Zxyz details = new Zxyz(model);
                                              details.setLanguagecode("");
                 details.setZuser("");
              details.setMessagenumber("");
                 request_Zxyz.setZxyz(details );             
                  wdContext.nodeRequest_XYZ().bind(request);
    If anyone know the reason of this error please help.
    Regards,
    Shweta

    HI GLM,
    If i comment the code in component controller i get the screen, but when i initialize the model and parameters in doInit() method i get error. I am using 5 web service and getting same error for all, so i have commneted rest and currently dealing with one.Below is the code,
                EventDetails model = new EventDetails();
                 Request_ZcpexGetEventDetails request_ZcpexGetEventDetails = new    
                                               Request_ZcpexGetEventDetails(model);
                 ZcpexGetEventDetails getEventDetails = new ZcpexGetEventDetails(model);
                 getEventDetails.setLanguagecode("");
                 getEventDetails.setZuser("");
              getEventDetails.setMessagenumber("");
                 request_ZcpexGetEventDetails.setZcpexGetEventDetails(getEventDetails);             
                              wdContext.nodeRequest_ZcpexGetEventDetails().bind(request_ZcpexGetEventDetails);
    Below is the exception trace
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.engine.lib.xml.util.NestedException: Illegal conversion
        at com.sap.engine.lib.xsl.xpath.xobjects.XObject.toXBoolean(XObject.java:63)
        at com.sap.engine.lib.xsl.xpath.xobjects.XBoolean.execute(XBoolean.java:72)
        at com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:110)
        at com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56)
        at com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43)
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session ApplicationSession(name=com.dts.app.dtsapp.DTSapp, id=2370e7916c5711de8f22001e0b5c3568). The causing exception is nested. RID=236ffd306c5711de992e001e0b5c3568
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:638)
      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:220)
      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:232)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:127)
      at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
      at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
      at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
      at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
      at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
      at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
      at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
      at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
      at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
      at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:295)
      at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
      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:152)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused
    by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException:
    Exception on creation of service metadata for WS metadata destination
    'DEFAULT_WS_EVENTDETAILS_METADATA_DEST' and WS interface
    'ZCPEX_GET_EVENT_DETAILS_WSD_PI'.
    One possible reason is that the metadata destination
    'DEFAULT_WS_EVENTDETAILS_METADATA_DEST' has not been properly configured; check
    configuration.<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:440)<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1034)<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)<BR>  at
    com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.&lt;init&gt;(WSTypedModel.java:41)<BR>  at
    com.dts.model.eventdetails.EventDetails.&lt;init&gt;(EventDetails.java:52)<BR>  at
    com.dts.comp.DTCComp.wdDoInit(DTCComp.java:184)<BR>  at
    com.dts.comp.wdp.InternalDTCComp.wdDoInit(InternalDTCComp.java:420)<BR>  at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)<BR>  at
    com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:230)<BR>  at
    com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:249)<BR>  at
    com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:209)<BR>  at
    com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:513)<BR>  at
    com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1234)<BR>  at
    com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoPreprocessing(AbstractExecutionContextDispatcher.java:150)<BR>  at
    com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppPreprocessing.doService(DispatchHandlerForAppPreprocessing.java:35)<BR>  at
    com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:127)<BR>  at
    com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)<BR>  at
    com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:100)<BR>  at
    com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:75)<BR>  at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:568)<BR>  at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:588)<BR>  at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:250)<BR>  at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:635)<BR>  ...
    41 more<BR>Caused by:
    com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException:
    GenericServiceFactory initialization problem. [Problem with WSDL file parsing.
    See nested message.]<BR>  at
    com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:303)<BR>  at
    com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:234)<BR>  at
    com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:202)<BR>  at
    com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:181)<BR>  at
    com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)<BR>  ...
    67 more<BR>Caused by:
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException:
    Problem with WSDL file parsing. See nested message.<BR>  at
    com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:704);at
    com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:410);at
    com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.loadProxy(DGenericServiceImpl.java:130);at
    com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.&lt;init&gt;(DGenericServiceImpl.java:65
    ;at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:280)<BR>  ...
    71 more<BR>Caused by:
    com.sap.engine.services.webservices.espbase.configuration.ConfigurationMarshallerException:
    com.sap.engine.lib.xml.util.NestedException:
    com.sap.engine.lib.xml.util.NestedException: Illegal
    conversion;at
    com.sap.engine.services.wssec.srt.features.configuration.SecurityConfigurationMarshaller.unmarshalAssertions_WSPOLICY_12_NS(SecurityConfigurationMarshaller.java:326)<BR>  at
    com.sap.engine.services.wssec.srt.features.configuration.SecurityConfigurationMarshaller.unmarshalAssertions(SecurityConfigurationMarshaller.java:246)<BR>  at
    com.sap.engine.services.webservices.espbase.configuration.PolicyConvertor.processAlternative(PolicyConvertor.java:195)
    com.sap.engine.services.webservices.espbase.configuration.PolicyConvertor.unmarshal(PolicyConvertor.java:92);
    at com.sap.engine.services.webservices.espbase.configuration.PolicyConvertor.unmarshalAlternatives(PolicyConvertor.java:135);at
    com.sap.engine.services.webservices.espbase.configuration.ConfigurationBuilder.createBindingData(ConfigurationBuilder.java:376);at
    com.sap.engine.services.webservices.espbase.configuration.ConfigurationBuilder.createBindingData(ConfigurationBuilder.java:356);at
    com.sap.engine.services.webservices.espbase.configuration.ConfigurationBuilder.create(ConfigurationBuilder.java:193);at
    com.sap.engine.services.webservices.espbase.configuration.ConfigurationBuilder.create(ConfigurationBuilder.java:158);at
    com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:699)
    84 more Caused by: com.sap.engine.lib.xml.util.NestedException:
    com.sap.engine.lib.xml.util.NestedException: Illegal conversion;at
    com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:377;at
    com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:398;at
    com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:240);...
    85 more Caused by: com.sap.engine.lib.xml.util.NestedException: Illegal
    conversion;at
    com.sap.engine.lib.xsl.xpath.xobjects.XObject.toXBoolean(XObject.java:63;at
    com.sap.engine.lib.xsl.xpath.xobjects.XBoolean.execute(XBoolean.java:72;at
    com.sap.engine.lib.xsl.xpath.ETFunction.evaluate(ETFunction.java:110;at
    com.sap.engine.lib.xsl.xpath.XPathProcessor.innerProcess(XPathProcessor.java:56;at
    com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:43;at
    com.sap.engine.lib.xsl.xpath.XPathProcessor.process(XPathProcessor.java:51;at
    com.sap.engine.lib.xsl.xslt.XSLVariable.process(XSLVariable.java:132;at
    com.sap.engine.lib.xsl.xslt.XSLTopVariable.process(XSLTopVariable.java:42;at
    com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:360;...
    Regards,
    Shweta

  • HTTP 500 internal server error while starting abap web dynpro application

    Hi there,
    i have some problems concerning my web dynpro abap configurations in the system. When i start an application the browser appears and displays the http 500 internal server error.  The required icf nodes are activated, as far as i know. the following properties are set:
    hostname: aet
    port: 8000
    The generated url for the web dynpro application looks as follows:
    http://aet.ls3001:8000/sap/bc/webdynpro/sap/zwdr_test?sap-language=EN
    Maybe anybody of you out there has an idea for that situation.
    Thanks for your afford and kind regards,
    Albert

    Hi Ulli,
    the error message says:
    UNKNOWN HOST
    Description: Unable to locate the server named "aet.ls3001" --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.
    So the problem is the hostname.
    When i replace the hostname with the ip of the server, the following error occures:
    COULD NOT CONNECT
    Description: Could not connect to the server "10.18.187.9".
    But with SAPLogon, its possible to connect on the server by filling in the ip adress.
    Kind regards,
    Albert

  • Assigning a login module to a Web Dynpro application

    Hi everybody,
    I would like a Web Dynpro application to use a custom login module for authentication. How can I do this?
    What I found is the Security Provider (in the Visual Administrator tool) where I can add a login module to the "form" authentication mechanism for example. But if I do this I think all applications using this mechanism have to use my custom login module, right?
    I wonder if I have to add my Web Dynpro application as a component to the Security Provider so that I can assign login modules to it. Am I on the right way? If yes, how can I do this? If I choose "Add" from the "Policy Configurations" tab a popup appears where I can enter the name for a new component. How do I specify my application there?
    Thanks in advance for all answers,
    Torben

    Hi,
    Web Dynpro applications use the ticket authentication template. U wud need to add your login module to the ticket template's login stack.
    Incase you are accessing the Web Dynpro applications thru the EP u wud need to make changes to the authschemes.xml file too.
    regards,
    Vishal

  • The Web Dynpro Application 'XssMenu' has expired

    Hi,
    we implement an ESS Scenario, with One Enterprise Portal 6.0 SP17, a mySAP ECC 5.0 System with ERP2004 and a seperate server with a java stack, because our customer don´t want to install and use a java stack on their HR/ERP systems. They want to minimize the performance.
    After some configurations, we get the startpage for ESS. If I click on a service like travel management it has no effect. If I click the second time, I got an error "500 Internal Server Error" with the message
    The Web Dynpro Application 'XssMenu' has expired. Please restart the application either with the refresh button or click the following link XssMenu.
    Same error comes, if I choose travel management in the second navigation level and click the service. And same message on every service.
    Now I tried anotehr way. I call the ess startpage directly on the external java stack. And here´s no problem. All WebDynpro-Services works fine.
    Can anyone help me, why the WebDynpro Service doesn´t work in the Portal?
    Best regards
    Christian

    We had exactly the same problem.  We had multiple java servers and our switch was not retaining stickiness.  So it would send the user to a different java server which hadn't got any session data for that user.
    If this could be it, get something like httplook to do a trace of what is happening.  We saw it switching java servers.
    If you do not have multiple servers it could be switches chopping out cookies, causing the same issue.
    Paul

  • The Web Dynpro application 'UWL' has expired

    Hi ALL,
    We are using Enterprise portal 7.0. and backend SRM server
    When the user login into portal it will take him to the UWL page
    in that the user click for any "Approve shopping cart" the error message showing
    " The web dynpro application *'UWL' has expired. restart the application. choose 'refresh' in the iview tray or use the*
    *browser 'refresh' button to restart the iview"*
    user not getting the error message every time. error coming occasionally
    we suggest the user to clear the cookies and restart the browser and relogin.
    but some times it works some times not
    Can any one know the exact problem (any parameters has to be change or any other solution)?
    Regards,
    Abdul Razzaq
    SAP NW.BASIS Consultant

    Dear Abdul ,
    Hope you are doing good.
    We have seen similar cases of  WD Session Expired error message when the  jsessionid cookie issued by the server with the initial requests was not returned from the client with subsequent requets to the server. The only way to ascertain whether this is the case in your system will be by checking the HTTP watch trace (note 1558903 - How To Trace a Portal Scenario Using HttpWatch).
    As the jsessionid cookie is used for session management, when it is missing from the request headers the correct session could not be retrieved and as result new session will be created for that user. Set the parameter JSESSIONID.CookieDomain to "NONE" as mentioned in the sap note: 791765 and see if the issue persists. This configuration should be accessible in
    Config Tool -> expand the tree "cluster-data" -> "Global Server Configuration" -> "services" -> "servlet_jsp" -> Go to "Global
    Properties". Do make the changes, save the customization and then restart the complete SAP server (not just the JAVA server nodes).
    Kindly go through the note completely.
    Also make sure that the SystemCookiesDataProtection and SystemCookieHTTPProtection is set in the HTTP Provider Service on
    the server nodes.
    Do make the changes,save the customization and then restart the complete SAP server.
    Thank you and have a nice day :).
    Kind Regards,
    Hemanth
    SAP AGS

  • How to display the error message during the web dynpro application runtime

    hi,
        I'm a java developer,During i 'deploy and run ' a web dynpro application on server-1,if the application have some runtime errors. there are displayed many infomation about the runtime error,such as exception track,etc.
        But when i do the same on server-2,there just show something like:
                500   Internal Server Error
                                    SAP NetWeaver Application Server 7.00/Java AS 7.00
                Failed to process request. Please contact your system administrator.
    but the server-1 will stop the j2ee engine. 
    how can do i make server-2 show detail error message as server-1. when i debug web dynpro application need these infomation.
    Appreciate your inputs...
    (Note:server-1 and server-2 have same software version)
    Edited by: BingLin Zhong on Feb 18, 2008 2:13 AM

    The Sap-Notes 962319:
    1. Check in the Visual Administrator, "Licensing Adapter" -> "General" -> "SystemType" !
    If it is set to "DEVELOPMENT_MODE", verbose error messages are shown.
    If it is undefined, proceed with the next step.
    If it is set to something else, only exception IDs are shown. In this case the only chance is to search for this exception ID in the default traces.
    2. If the system type is undefined, then in the Config Tool "Configurations" -> "webdynpro" -> "sap.com" -> "tcwddispwda" -> "Propertysheet default" -> "DevelopmentMode" is evaluated. If it is "true", verbose error messages are shown.
    3. If verbose error messages are required but still the short version is shown, you probably face an error message that is not raised by Web Dynpro but by other components of the NetWeaver. In the Visual Administrator set "Properties" -> "HTTP Provider" -> "DetailedErrorResponse" to "true".
    4. In addition to the error page shown in the browser or client, important messages - including error messages and stack traces - are written to the log and trace files, e.g. to the default traces usr\sap\<SID>\<instance>\j2ee\cluster\server<number>\log\defaulttrace.trc.<number>.
    a) In some cases, when an exception ID is included in the error message, the detailed error message can easily be retrieved in the log file.
    b) When no exception ID is given, you have to search for the detailed error message in the log specifying time stamp and/or user ID.
    Always consider restarting the system after making changes on the settings.
    It is not recommended to switch the "SystemType" to an inappropriate value just for viewing verbose error messages. The system type potentially affects framework, applications and licensing in an perhaps unintended way.
    In the past there was no distinction between different system types regarding error messages. For security reasons this distiction has been introduced. It is not intended to show stack traces in non-development systems in the future. SAP does not provide workarounds or patches to enable such a behaviour again.

  • The Web Dynpro Application 'Appl' has expired.

    Hallo altogether,
    i am a newbie in this area.
    I maked a simple Web Dynpro with two views,
    only for navigation test
    and without data transport.
    Everybody view consist of two elements:
    one TXV_Field and one BTN_Element.
    V_ONE:
    TXV_ONE with a text "View one",
    BTN_GO + action GO,
    OP_TO_TWO,
    IP_FROM_TWO
    V_TWO:
    TXV_TWO with a text "View two",
    BTN_BACK + action BACK,
    OP_TO_ONE
    IP_FROM_ONE.
    There are two links between views builds.
    I cann my application APPL deploy without problem and without error messages.
    I see my V_ONE im browser.
    If i click the button BTN_GO ==>
    The Web Dynpro Application 'Appl' has expired.
    I controlled the file default.properties
    the timeout = 3600.
    what cann i do????
    Thank,
    vmath.

    1. check ur server configuration windw> preference->j2ee-engine.
    I have DeveloperStudio local on my PC.
    There are  following settings for j2ee-engine:
    SAP J2EE-engine is installed on local host
    System name: J2E
    J2EE Instance: 0
    SCS Instance: 1
    BEN_1\sapmnt\J2E\SYS\profile\J2E_JC00_ben_1
    BEN_1\sapmnt\J2E\SYS\profile\J2E_SCS01_ben_1
    vmath

  • The Web Dynpro application was called up with the wrong URL parameters

    Hi all,
    I am using the systems below:
    ERP STACK :16
    EHP : 4
    EHP SP Stack :4
    EA-HR * : 604(SP12)
    SAP-HR * :604(SP12)
    XSS JAVA components : SAP ESS 603 SP05
    SAP MSS 600 SP16
    PCUI_GP 603 SP05
    Business Package : BP ERP05 ESS 1.41 SP04
    BP ERP05 MSS 1.41 SP04
    BP ERP05 COMMON PARTS 1.41 SP04
    I am getting below error after clicking on the appraisal document:
    App. Called Up Incorrectly
    The Web Dynpro application was called up with the wrong URL parameters.
    Note
    Enter the URL parameters and their use.
    You can find more information on the functions that you can perform in the catalog for appraisal templates in the Implementation Guide (IMG) for Objective Setting and Appraisals under Edit Forms.
    I already applied the below notes also:
    1468466 Performance Management Launchpad Configuration
    1463821 Performance Management Portal Configuration
    1416756 OBN Configuration in Performance Management
    1408243 Configuration for object-based navigation
    Plz advise me??
    Thanks,
    Anumit

    can you paste the exact error. also you can take a HTTP trace and see which resourse or UWL is being launched!

Maybe you are looking for

  • HP officeJet Pro 8610 can't connect to wireless router

    Just bought a HP officejet Pro 8610, switched on the wireless mode. It won't connect to my Netgear router D6200. It tries to look for the networks in the house and the software hangs. I took it back to the shop and exchanged it with a new printer. I

  • Communication between java and c++ app

    I have a java app and a c++ app, and I would like theese to exchange information, how do I do that? I know one way would be to open a socket in each app and write/read from that, but that seems really unneccessary since both apps will probably be run

  • SQL Connect problem - migration from Oracle 7.3.4 to Oracle 8.0.6

    Our development environment has just been upgraded from HP10.20 to HP11 and the database from Oracle 7.3.4.0 to Oracle 8.0.6.0. I am now having problems with one of the PRO*C programs. The old executable( compiled in the old enviroment HP10/Oracle734

  • Error when creating database instance

    Hi, When trying to install R3 4.7, I came to a error while system creating tablespaces. The log is as follows. TRACE      [iaxxcwalker.cpp:296]            CDomWalker::processStep() Executing installation step SAPSYSTEM_DB|ind|ind|ind|ind|ind|0|SAPSYS

  • RFC+BAPI+TABLE HELP

    Hi all. Im install SAP NetWeaver Sneak preview ABAP edition. Me application writen i VB 6 connect ok. BAPI,TABLE- object connect ok. If retrieving data command BAPI getdetail+show app closed=crash,TABLE search ok,if TABLE show data or TABLE detail da