Display HTML stream in Web Dynpro application
Hello,
Sorry, I am new to the Web Dynpro environment, so this might seem like a stupid question.
How can I display streaming HTML content in a Web Dynpro application. The IFrame element only seems to allow you to point to a URL. In this case, I am receiving an HTML stream back from an R/3 system via a BAPI call.
Thanks very much.
Hi
As per your question, I understand that HTML output is getting generated through a R3- Bapi call. Fine, create a model with the data binding to the context to some text view. Simply create view with the relevant UI element through which you want to exhibit the data and call the R3 call through your model. instead of a HTML output, you will get your data in the view.
you may not get the exact format / style of the html output.
Otherwise, directly HTML content cannot be shown in webdynpro. You need to have some UI control to take its content.
Or else, you can go in for j2ee stack and end up with a java based appl, use a simple jsp and get the output!
if you have any specific queries do let us know
hope this helps you
thanks
Similar Messages
-
Add html code in web dynpro application
Hi
Is there a method to add HTML Code in web dynpro application so that it works same as HTML works in browser
I have to add a clock in my application How can i do that
Best regards
SureshIf you're on NetWeaver CE or otherwise use Wb Dynpro for Java 7.2 or higher, you could use the WebWidget control, see http://help.sap.com/saphelp_nw73/helpdata/en/49/bfa3b2e55657bae10000000a42189d/frameset.htm
Otherwise, I'm afraid your only option is to use an IWDIframe component in your WDJ project, embedding the HTML.. Be carefulo though, the IWDIframe component is deprecated (since each server roundtrip forced a reload of the IFrame it was pretty useless)
Hope this helps!
Best regards,
Robin van het Hof -
Web Dynpro Application has expired
Hi,
I have developed a webdynpro application 'SalesOrderApplication' which calls a babi & displays result. This works fine when i call it from the webdynpro content admin. When i create a Sap Web dynpro Iview within portal and do preview the initial page shows up. If i do a search on this page it displays error saying
The Web Dynpro Application 'SalesOrderApplication' has expired. Please restart the application either with the refresh button or click the following link SalesOrderApplication.
The application status is showing "running" in the webdynpro content admin.
Thanks in AdvUnni,
The problem is not with application state (started or not). The problem is session tracking.
Seems that your portal and wd cannot share HTTP session cookie, probably due to cross-domain deployment: portal runs on one mashine, wd on other. This way cookies issued by portal are not visible to wd.
VS -
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 AMThe 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. -
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. -
Blank adobe form displayed in web dynpro application
Hi,
I have created an Interactive Adobe form using web dynpro Java. When I run the form (in IE), a blank page is displayed.
If I keep the Adobe reader open and run the form on IE, the form is opened in reader and it's working.
When I access the same form on a different system, there is no problem.
Does this have anything to do with the IE settings or Adobe Reader version/ updates.
I have checked the adobe reader version and it's the same on both the systems.
Version:
Adobe Reader Version : 8.1.2.
Adobe Designer 7.1
SAP NW 2004s - SP 15
Thank you,
VasuNot sure what the problem could be, here are some suggessionsu2026
Check whether you have enabled the option Display PDF in browser in the Adobe Reader.
I should be under: Edit > Preference > Internet
Also, in your Web Dynpro Application, try to set the u201CdisplayTypeu201D property of your Interactive form to ActiveX
Else, just try upgrading your Adobe Reader to latest version!
Hope this helps,
Harman -
Web Dynpro application needs to never expire.
Hi
I have a Web Dynpro application (NW2004 SP12) that displays spreadsheet like sales data to anyone who walks past the screen in a common area in the office/s. It should therefore run unattended. It refreshes the data on a timer. The data comes from a back-end aRFC. Everything works fine but about every 1.5 days the application times out (session expires) and needs to be re-opened (this seems to be a large administrative problem to re-login at all the deployment sites).
It gives an error 500 application has expired. Please restart with the refresh button
In testing/troubleshooting I used the direct URL to the application running on WAS and not through a Portal iView.
I also changed the System destination from using SSO to using a dedicated user to the back-end.
Does anyone have an idea on how to auto refresh a Web Dynpro application or auto-renew the session so that it can run forever or a way to re-login automatically?
Thanks in advance,
Rick ViljoenHi Isidro
Yes, this was my final solution. Here is the code for the htm page. It will refresh/reload every 6 hours. Hope it helps.
Regards,
Rickus
<html>
<head></head>
<body>
<div id = div1></div>
<script type="text/javascript">
function putIF(hldr,x,y,w,h,url) {
// Iframe
holder=document.getElementById(hldr);
holder.style.position ='absolute';
holder.style.left=x;
holder.style.top=y;
holder.style.width=w;
IF=document.createElement("iframe");
IF.setAttribute("height", h);
IF.setAttribute("width", w);
IF.setAttribute("src", url);
if (holder.hasChildNodes()) {
var oChild=holder.children(0);
holder.removeChild(oChild);
holder.appendChild(IF);
var myDate=new Date();
window.status="Last reload on: " + myDate;
function refreshiframe() {
myWidth = document.body.offsetWidth-21;
myHeight = document.body.offsetHeight-4;
putIF("div1","0px","0px",myWidth,myHeight,"http://<server>:<port>/webdynpro/dispatcher/local/SalesD/SalesD?j_user=xxx&j_password=ppp");
window.setTimeout(refreshiframe, 21600000);
refreshiframe();
</script>
</body></html> -
Accessing Web Dynpro application outside portal
Hello alles,
Our customer wants to display a Web Dynpro application result on a regular hmtl intranet page, i.e. without showing the portal.
We have tried with html frames, but end up with a flickering or empty screen. The problem occurs both with a quick link to the application within the portal, an SSO link, a link to the iView, a webdynpro/dispatcher address ...
It seems as if the problem occurs with all WD iViews, but not with e.g. a regular News iView.
Do you have any suggestion on how we could solve this? Reasons?
Thank you in advance!
Brgds,
Caroline
Message was edited by:
Caroline Janzonhi
good
go through this link,hope this ll help you to solve your problem
http://www.sap-press.de/download/dateien/1103/sappress_maximizing_web_dynpro_for_java.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/using%20ejbs%20in%20web%20dynpro%20applications.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62
thanks
mrutyun^ -
Display sapscript form in Web Dynpro Java
Hi,
Is it possible to print an existing sapscript form i.e. PO from ECC to my Web Dynpro application? I have successfully created a Web Dynpro Java application to create POs but now have a requirement to display or print the PO?
Can someone provide me with a sample code? I'm hoping to be able to do this without using Adobe.
Again, thanks for all your help.
Best regards,
JaypeeHi mark,
Without Adobe also u can display PO order.
Below is the code to open a HTML window from WDJava, with data from WDJava...
Inside DoInit()
IWDAttributeInfo attr1 =
wdContext.getNodeInfo().getAttribute("htmlfile");
ISimpleTypeModifiable mtype1 = attr1.getModifiableSimpleType();
IWDModifiableBinaryType btype1 = (IWDModifiableBinaryType) mtype1;
btype.setFileName(attr.getName() + ".html");
btype.setMimeType(WDWebResourceType.HTML);
_contentType = mtype;
Where htmlfile is a context attribute of type binary... and do a global declaration like this
ISimpleTypeModifiable _contentType = null; (This declaration can be done at the end of your view's coding between Begin Others and End Others)
Now,
inside on action print
public void onActionPrintData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String videoName )
//@@begin onActiondisplayVideo(ServerEvent)
byte[] content = new byte4028;
try {
content = this.displayPrint().getBytes("UTF-8");
wdContext.currentContextElement().setHtmlfile(content);
wdContext.currentPrintElement().setAttrUrl(
_contentType.format(content));
//Where content is loaded with data from displayPrint() method, which is holding the HTML *page to be displayed to the user *
IWDWindow win =
wdThis
.wdGetAPI()
.getComponent()
.getWindowManager()
.createNonModalExternalWindow(WDWebResource
.getWebResource(content, WDWebResourceType.HTML)
.getURL(),"ShowVideo");
win.setWindowSize(445,460);
win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
win.removeWindowFeature(WDWindowFeature.TOOL_BAR);
win.removeWindowFeature(WDWindowFeature.MENU_BAR);
//win.open();
win.show();
// wdComponentAPI.getMessageManager().reportSuccess("444444444444");
} catch (Exception e) {
wdComponentAPI.getMessageManager().reportException ("Unable to open window"+e,false);
//@@end
Now finally, design your HTML Page inside the method displayPrint() like this
public java.lang.String displayPrint( java.lang.String strVideoName )
//@@begin displayPrint()
String htmlcontent=null;
htmlcontent="content what you want to show in print window";
use script inside the html content to do a print... like window.print();
return htmlcontent;
//@@end
Regards,
Sunaina Reddy T -
Need to create a Web Dynpro Application for SRM Portal
We need to recreate the start page for SRM Portal - (Supplier Self-Services) - without any images (as was delivered out of the box) - basically we need to break it down into 4 iViews: All Purchase Orders; All Sched Agreement Releases; All Invoices and Credit Memos; and Account History. All these iViews contains links.
How would one create a Web Dynpro Application to create the above iViews?
Regards,Hi zhang,
take a look to this:
KM:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/kmc/resource%2band%2bcollection%2bversioning%2busing%2bkm%2bapis
https://help.sap.com/javadocs/NW04S/SPS09/km/index.html
Excel:
/people/subramanian.venkateswaran2/blog/2006/10/02/enhanced-file-upload--uploading-and-processing-excel-sheets
Hope this help you.
Vito -
Navigation Error in Web Dynpro Application
Hi All,
I developed a web dynpro application with 2 views.
I implemented the navigation paths(in and outbound plugs). I have a Next button in the first view and when
I clicked the next button it opened the second view.
It was working fine until, i created custom controller
and defined model node and model binding by calling RFC.
In the first view, i created a model node corresponding to the custom controller model node and defined the context mapping between the first view and the custom controller.
When I run the application (the first view displays data calling RFC) once I clicked the next button i got this error message.
com.sap.tc.webdynpro.progmodel.context.ContextException: Path null does not point to an attribute, but to com.sap.tc.webdynpro.progmodel.generation.DelegatingView@8fc86f
at com.sap.tc.webdynpro.progmodel.context.Paths.createAttributePointer(Paths.java:94)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1050)
at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractInputField.getValue(AbstractInputField.java:1098)
at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.InputFieldAdapter.getValue(InputFieldAdapter.java:550)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.InputFieldRenderer.render(InputFieldRenderer.java:41)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:626)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:330)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:261)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.render(GridLayoutRenderer.java:57)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1030)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GroupRenderer.render(GroupRenderer.java:49)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:177)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:148)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:33)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:344)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:41)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:43)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:269)
at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:95)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:522)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:351)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:251)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:204)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:669)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
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:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
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:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Can anyone please tell me what is the reason for this?
and how to fix it?
ThanksHi
Are you having any inputfields in your next view?If yes then check if you have bound the context attribute to it.
I think you haven't done that.
Regards,
Ajay -
Error - Creating a Web Dynpro Application Accessing ABAP Functions
Dear All,
we are trying to implement a web dynpro application with accessing ABAP functions.
Previous tasks:
- insert the ABAP system into the SLD from the NWDI System (Transaction RZ70; the ABAP system is correctly insert into the SLD => technical systems)
- equipped the JCO connections with the web dynpro content manager (ping and test = OK)
Its the standard tutorial out of the SDN called Creating a Web Dynpro Application Accessing ABAP Functions.
Some hints:
- There are no errors after the implementation and the rebuild of the project in the NWDS
- The auto deployment works fine to the development runtime system. The application is shown in the Web Dynpro content manager
- The In the build log I found these entries:
System.err] [Invoked from com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:585)]
[System.err] java.net.UnknownHostException: FRASAPP562: FRASAPP562
[System.err] at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
[System.err] at com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:575)
[System.err] at com.sap.s2x.tools.GUID.<clinit>(GUID.java:179)
[System.err] at com.sap.s2x.tools.S2XGUID.getGUID(S2XGUID.java:19)
[System.err] at com.sap.ide.metamodel.core.i18n.LanguageState.createS2XID(LanguageState.java:191)
[System.err] at com.sap.ide.metamodel.core.i18n.S2XLanguageUnmarshaller.unmarshal(S2XLanguageUnmarshaller.java:52)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.loadLanguageState(TextPoolProxy.java:703)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.prepareLanguageForRead(TextPoolProxy.java:646)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.isEmpty(TextPoolProxy.java:222)
[System.err] at com.sap.ide.webdynpro.checklayer.MDOChecker.check(MDOChecker.java:23)
[System.err] at com.sap.ide.webdynpro.checklayer.view.ViewChecker.check(ViewChecker.java:52)
[System.err] at com.sap.ide.webdynpro.checklayer.controller.ViewControllerChecker.check(ViewControllerChecker.java:96)
[System.err] at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:119)
[System.err] at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:56)
[System.err] at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:181)
[System.err] at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:56)
[System.err] at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2039)
[System.err] at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)
[System.err] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
[System.err] at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:324)
[System.err] at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
[System.err] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[System.err] at org.apache.tools.ant.Task.perform(Task.java:364)
[System.err] at org.apache.tools.ant.Target.execute(Target.java:341)
[System.err] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[System.err] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[System.err] at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)
[System.err] at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)
[System.err] at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:213)
[System.err] at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:190)
[System.err] at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
[System.err] at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:324)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
[System.err] at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
- Im able to start the application out of the Web Dynpro content manager with run => only the user interface is displayed without any functionality
- The normal start over the NWDS fails => error text
com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/J08_Flugdat_Daventdcflight~xxx.com' and application 'FlightListApp' are not deployed on the server. Please check the used URL for typos.
There two different URLs in use.
Start via NWDS:
http://frasapp562:50000/webdynpro/dispatcher/J08_Flugdat_Daventdcflight~xxx.com/FlightListApp
Start via web dynpro content manager:
http://frasapp562:50000/webdynpro/dispatcher/xxx.com/aventdc~flight/FlightListApp
For test purposes, we started the BAPI (BAPI_Flight_Getlist) on the ABAP system directly. It works.
Any ideas about the system behaviours (different URLs and missing functionality)?
Thanks a lot in advanced!
Best regards
ChristophThe Error has been solved The implementation of a method was missing....
Thx
Christoph -
Error while implementing a web service in web dynpro application
HI All,
I am trying to use a webservice in a web dynpro application.
Web service description:- This is a very simple application which takes two String inputs and when submitted displays the string in the concatenated form.
Web dynpro:- I used this web service in the web dynpro as an adaptive web service model.
The Layout design consists of two input fields which are mapped to the request fields
ex : - Request_Add.Add.S1 and Request_Add.Add.S2
A text area to display the response:- Request_Add.Response.AddResponse.Response
And a button which invokes the execute method
public void onActionWebserviceCall(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionWebserviceCall(ServerEvent)
wdThis.wdGetWebserviceCompController().executeRequest_Add();
//@@end
When I am trying to run the application I am getting error:-
Exception on execution of web service with WSDL URL 'http://<Host>:<Port>/EjbWebservice/Config1?wsdl' with operation 'add' in interface 'EjbWebserviceVi_Document'
Kindly reply.
Thanks
NehaHi,
Yes I have tested the web service in Navigator . The WSDL is also properly generated.
I have not publish the web service in UDDI but as per my understanding this is not necessary. please correct me if I am wrong.
Thanks
Neha -
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. -
Application specific theme in CE7.1 web dynpro application
Hi,
where can I find documentation about setting up application specific themes for Java Web Dynpro applications running in Composition Environment 7.1? I've found documents that refer to the Visual Administrator but since it doesn't exist anymore in CE7.1 there must be a different way.
Regards,Hi Kevin,
Yes, charts are going to be supported in WD html in next versions of VC( Q3 2008).
Regards,
Kobi.
Maybe you are looking for
-
Images show in Console but don't show up in preview??
I'm a novice website builder but know enough that I'm doing everything right!.. I add images to a page and shows up in Dreamweaver console but when I got to preview the page in Firefox now all of a sudden the images never appear!... why all of a sudd
-
Officejet Pro 8600 Plus using wireless on home network with Win 7OS
When troubleshooting the fix will not be apply to turn on the print spooler when problem detected. The error code is #1722,Failed to add port monitor HP Discovery Port Monitor. What do I do to fix this? The original installation in October 12 everyt
-
How do i re-map my CD drive?
hey. i have the latest iTunes and a Dell. i have 2 drives. D for Dvd drive and E for CD drive. my iTunes doesnt recognize any drives. it always says the drives are missing and re-install it before i can open up itunes, and i REALLY want to burn a CD
-
In what folder does FF Android store bookmarks?
I need to get a copy of my FF bookmarks from my Android phone. Where does FF store its bookmark file on an Android device, and what file should I be looking for? I have a file browsing app which allows me to look anywhere on the phone, but I see no f
-
My friend has an Iphone 5s which states 'Assembled in Korea' at the back? Is it genuine? Plz help ! thanks