Selection Screen in Web Dynpro Application
Hi,
I have to develop one application, in which I need to create first view as Selection Screen and second as result screen,
Please advise how to create selection screen in ABAP web dynpro?
Thanks!
Piyush
I am not sure whether your requirement is like this or not:
(1).In 1st screen, there are a few input fields which you can input the value as what you want.
(2). After you input your data, you press "Enter" or press the Button(if in your view there is one button), then 2nd screen will be displayed to show the result, which is retrieved from DB using the selection/Condition in 1st screen.
This is just simple in WD4A.
A little summary:
(1).In 1st view, you can bind your input fields with the context.
(2).In the "Enter" event or "Button" action, you can "Fire the outbound plug" which is navigated to the "Inbound plug" of 2nd view
(3).In the "WDDOINT" of 2nd view, you can use the 1st-view's Context(You can declare the context in component controller, and map it in 1st and 2nd views), then Retrieve data from DB or other places.
I think, you can take a reference to the Document "Net 310", which is the standard course of WD4A.
Goodluck.Best wishes!
Similar Messages
-
Problem in getting parameter value from selection screen in web dynpro abap
Hi,
I am facing problem in getting parameter value from selection screen.
Please find my code below:
DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
<FS_OBJ_USAGE> TYPE REF TO data.
WD_THIS->M_HANDLER->GET_PARAMETER_FIELDS( IMPORTING ET_FIELDS = LT_PAR_ITEM ).
LOOP AT LT_PAR_ITEM ASSIGNING <FS_PAR_ITEM>.
CASE <FS_PAR_ITEM>-M_ID.
WHEN `OBJ_USAGE`.
ASSIGN <FS_PAR_ITEM>-M_VALUE->* TO <FS_OBJ_USAGE>.
[ Here, sy-subrc is 4, <FS_OBJ_USAGE> is not assigning.]
ENDCASE.
ENDLOOP.
So, can any one solve this problem.
Thanks in advance,
RadhikaHi Radhika,
Try using GET_RANGE_TABLE_OF_SEL_FIELD...
Please Refer below code..
DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
DATA: RT_CARRID TYPE REF TO DATA.
DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
DATA: WSFLIGHT TYPE SFLIGHT.
FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
Retrieve the data from the select option
RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
Assign it to a field symbol
ASSIGN RT_CARRID->* TO <FS_CARRID>.
CLEAR ISFLIGHT. REFRESH ISFLIGHT.
SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
WHERE CARRID IN <FS_CARRID>.
NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
Thanks,
Regards,
Kiran -
Web Dynpro application callable object error: Page Builder Not available
Hi, SDN Fellow.
I created a callable object of Web Dynpro application. The callable object is atatched to an Action, and Action --> Block, and Block --> Process.
I initiate the process in GP Runtime, when it comes to the Action screen the Web Dynpro application atatched to, I got the following error:
The page builder required to display this application UI inside the portal environment is not available.
As aa comparison, another callable object that atatched to a Web Dynpro component (that implement GP interface) is working fine.
Please advise.
Thanks in advance,
KCHi KC,
When you start your process from GP Runtime, does the actual action/callable object open in a new window?
Have a look at this SAP Note:
[Error when executing a GP task - Page builder|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_gp/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393831353137%7d]
Although the error message you are getting is different, but if your callable object opens in a new window, then the problem (in most probability) is the same as mentioned in the SAP Note.
Also, try testing the Web Dynpro callable object in standalone mode. For more information on this, see:
[Testing Callable Objects|http://help.sap.com/saphelp_nw04s/helpdata/en/4c/588041a17e060de10000000a1550b0/frameset.htm]
Bye
Ankur -
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,
Roopeshresolved!!!!
CRM had wrong url to connect to web dynpro aplication
Edited by: Aditya Deshpande on Mar 3, 2010 9:59 AM -
GP, callable object Web Dynpro Application (bespoke) not appearing in list
Hey y'all
We're developing our first GP, and we would like to call an existing bespoke Web Dynpro. When creating the callable object, we're selecting type Web Dynpro Application, but our Web Dynpro screen is not appearing in the drop down list on the next page. We think that this is because the application has been deployed to a different server (i.e. it has not been deployed onto the portal server).
So the question is, has anyone faced this problem before, and is there a solution?
Kind regards
JonHi John,
Please have a look at this Exception on creating GP Action
This will solve your issue definitively. Do not take care of a given SDA, just redeploy everything and make sure that everything is overwritten by selecting the right option.
Best regards,
David -
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 FonsecaAt 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. -
Delete a file from the KM in a Web Dynpro application
Hello,
We need to delete a file from the KM in a Web Dynpro application.
We have a file name (filename.txt) and its path (/documents/Test/), how can we completely delete the file from the KM?
Thanks,
GilHi venkata reddy,
You wrongly mentioned system admin instead of content admin
Go to Content administration not in the system administration
if u delete the file manually in the portal you can go with
go to Content administration -> KM Content -> go to Particular document -> just tick the check box which doc u want delete -> go to selection -> u will find delete .
Regards,
P.Manivannan -
Web Dynpro applications not working on ECC 6.0 IDES
Hi,
I'm new to Web Dynpro and developed a custom Web Dynpro (including the application) on a ECC 6.0 IDES system. It's simple with a couple of input fields. When I test it (either via SAP GUI 7.1 or 7.2, or Web GUI), it appears on the browser ok but the screen is frozen. I can't enter anything into the fields, etc. I also tested SAP Web Dynpro applications and they act the same way, frozen screen. There aren't any errors displayed or any runtime errors in ST22. Please advise. I searched this forum but didn't see any issue similar to mine. The IDES vendor suggested I post the issue on SDN.
JohnI guess it has do to with some sort of browser's font size or view settings.
press ctrl +0 make the zoom 100% and font size medium and try again.
thanks
sarbjeet singh -
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,
ShwetaHI 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.<init>(WSTypedModel.java:41)<BR> at
com.dts.model.eventdetails.EventDetails.<init>(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.<init>(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 -
The Web Dynpro application XssMenuArea is expired
Some of our clients when click tab "Employee Self Service" the
information menu wonu2019t be displayed and the screen has the following
error message: the Web Dynpro application "XssMenuArea" is expired,
please use the refresh button or restart the application.
When manually click the "restart" hyper-link, the screen leaves
blank. But the above phenomenon differs from clients. The Same account
in one PC is OK but in another has the error. We donu2019t know the Client PC
should install what kind of software or plug-in to run the "ESS"
application.Please check the following posts.
Regarding Error : Web Dynpro Application 'XssMenu' has expired.
The Web Dynpro Application 'XssMenu' has expired
'XssMenu' appication expiration
ESS XSSMenu Error -
Using IGS in Abap web dynpro application
Hi ,
I would like to develop an Abap web dynpro application with complex graphs.
There is an installation of IGS services.
In the layout screen I see only graphic basic options.
In thr internet I saw much more options in the graphic label. ( WD applic-> view-> layout ).
Does anyone know how to add this options to the view layout?
Thenks,עיחיחןלכלןעל
-
Error message display in web dynpro application?
Hi All,
In my web dynpro application I am displaying error messages but the focus does not go to the field where error occured and also if I click on the error message it does not lead to the place of error.
And also when I navigate to another view the error message does not go.
Below is my code:
* report message
DATA err1_text TYPE syst-msgv1.
err1_text = wd_assist->if_wd_component_assistance~get_text( key = '002' ).
CALL METHOD lo_message_manager->report_t100_message
EXPORTING
msgid = 'ZAA'
msgno = '005'
msgty = 'E'
p1 = err1_text
RECEIVING
message_id = lo_text.
Please suggest me the way to do it.
Thanks & Regards
ArchanaHi,
I got your point.. in the BIND_TABLE( set_intiail_elemts = abap_true) change this to ABAP_FALSE.
Because of this you are gettng the intiial values. Eventhough your table has no BALNK/space records.
bind a single element
node->bind_table(
new_items = lt_year_list
set_initial_elements = abap_true ).
change as
bind a single element
node->bind_table(
new_items = lt_year_list
set_initial_elements = abap_false ).
You can use this code - I have tjhe dropdwon for projects event I'm doing the same.
navigate from <CONTEXT> to <PROJECT> via lead selection
lo_nd_project = wd_context->get_child_node( 'PROJECT' ).
***Gets the selected project id from drop down
if lo_nd_project is not initial.
CALL METHOD lo_nd_project->GET_LEAD_SELECTION
RECEIVING
ELEMENT = lo_el_project.
get all declared attributes
if lo_el_project is not initial.
lo_el_project->get_static_attributes(
IMPORTING
static_attributes = ls_project ).
change your code to
lo_nd_year_list = wd_context->get_child_node( name = wd_this->wdctx_year_list ).
***Gets the selected project id from drop down
if lo_nd_year_list is not initial.
CALL METHOD lo_nd_year_list->GET_LEAD_SELECTION
RECEIVING
ELEMENT = lo_el_year_list .
IF lo_el_year_list IS NOT INITIAL.
get single attribute
lo_el_year_list->get_attribute(
EXPORTING
name = `YEAR`
IMPORTING
value = lv_year ).
Regards,
Lekha. -
Calling a Web Dynpro Application from POWL feeder class
Hi,
I know this question is asked before but never answered, but I try again......
I have a own POWL feeder class where I defined a button in method IF_POWL_FEEDER~GET_ACTIONS.
I know that this action can be handled in method IF_POWL_FEEDER~HANDLE_ACTION.
When pressing the button I want do call another web dynpro application.
How can I do this? -> Any Example Coding?
Thank you and best regards, EdgarHi Vineet,
it works, thanks a lot!!!! Best Regards, Eddy
P.S.: Here is the coding for triggering the event and passing parameters for the selected POWL table line:
METHOD if_powl_feeder~handle_action.
DATA: ls_parameter TYPE powl_namevalue_sty.
DATA: lt_flights TYPE ty_flights.
DATA: ls_flight TYPE sflight.
DATA: ls_selected TYPE rstabix.
FIELD-SYMBOLS: <lt_fligts> TYPE STANDARD TABLE.
IF i_actionid = 'EDIT'.
* Important: this triggers the event
e_portal_actions-fire_wdevent = abap_true.
* Pass parameters to event
ASSIGN c_result_tab TO <lt_fligts>.
lt_flights = <lt_fligts>.
* Determine the first selected row
READ TABLE c_selected INTO ls_selected INDEX 1.
* Read selected POWL data
READ TABLE lt_flights INDEX ls_selected-TABIX INTO ls_flight.
CHECK sy-subrc = 0.
* Pass parameters
ls_parameter-key = 'ACTIONID'.
ls_parameter-value = 'I_ACTIONID'.
APPEND ls_parameter TO e_portal_actions-parameters.
ls_parameter-key = 'CARRID'.
ls_parameter-value = ls_flight-carrid.
APPEND ls_parameter TO e_portal_actions-parameters.
ls_parameter-key = 'CONNID'.
ls_parameter-value = ls_flight-connid.
APPEND ls_parameter TO e_portal_actions-parameters.
ls_parameter-key = 'FLDATE'.
ls_parameter-value = ls_flight-fldate.
APPEND ls_parameter TO e_portal_actions-parameters.
ENDIF.
ENDMETHOD. -
Exiting a Web Dynpro Application by pressing a button on a Web Dynpro View
Hi all,
I want to exit a Web Dynpro application when the user presses an Exit button on the screen. Is there an API for closing the current browser window and exiting the application?Thanks.
Sukruhi,
For closing Main Window, use Exit Plug in Windows:
Do the following steps :
-> Make an Outbound Plug to the Window.
->Make the type of Outbound plug to Exit Type.
->Add CLOSE_WINDOW of type wdy_boolean as a parameter to the outbound plug of Window.
->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont be possible ).
->Fire the outbound plug with close_window as X in the onAction of Exit Button .
Refer SAP online help on using Exit plug to close a window:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm
method ONACTIONGO_EXIT .
data: L_REF_MAIN_WINDOW type ref to IG_MAIN_WINDOW .
L_REF_MAIN_WINDOW = WD_THIS->GET_MAIN_WINDOW_CTR( ).
L_REF_MAIN_WINDOW->FIRE_MY_EXIT_PLUG_PLG( CLOSE_WINDOW = 'X' ).
endmethod.
here Main_window is the window which needs to be closed.
I hope it is clear. -
Error in basic web dynpro application
i went through the following link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
and it has a tutorial to creating a web dynpro application
i have done all the steps,but when the explorer opens i get the following error
The requested URL could not be retrieved
While trying to retrieve the URL: http://saptd:8000/sap/bc/webdynpro/sap/zz_00_sflight?
The following error was encountered:
Unable to determine IP address from host name for saptd
The dnsserver returned:
Name Error: The domain name does not exist.
This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
Your cache administrator is root. .
can any1 help me out on thisHi
1.Go to Transaction RZ10
2. Select the Instance Profile and Check the radio button extended maintanence.
3. create a new parameter icm/host_name_full
give the value as $(SAPLOCALHOST).domain.ext
5. save and activate your profile.
4. restart your application server.
Note: domain.ext can be any name.
Regards
Abhi
Maybe you are looking for
-
Hi, I have a Note 3 and a Vodafone SIM that are not playing well together. The history is: I got my Note 3 over 2 years ago. We visited Italy 2 years ago and I bought a Vodafone sim at a Vodafone outlet. Everything worked perfectly during that tri
-
Performance Vows , Requests get lost ..
I am performance tuning my JSP/Struts web-application deployed over jboss.. I have not got success yet. During performance/load testing of my web application with apache jmeter. It is OK up to 1400 request per minute.. But if i increase the load , i
-
How do you get the Java API onto Computer
Hi guys, Well I want to practice Java at home, but instead have been staying up late at night at the University's Computer Lab. I have downloaded the Forte for Java, but I don't need all the Graphics classes since my programming class is centered on
-
Is Iphone 6 compatible with LTE bandwith in UK?
if I buy an apple iphone 6 16gb with tmobile without contract, what is the model of the celluar ( is it A1586?) I am planning to use it in UK and I am not sure if it is compatible with the LTE bandwidth.
-
How can I get rid of the VIP mailbox in Yosemite?
I don't want to use the VIP mailbox, didn't set it up and don't want to see it. How can I get rid of it?