WebDynpro and Java EE 5
Hi all,
I want to ask before I will spend time with installation if it is posible to deploy and run WebDynpro applications on the latest Application Server and use Java EE 5 services?
I want to use WebDynpro for GUI, but backend should use EJB3. How can I do this?
Thank a lot for an answer.
martin
Robin,
I created a simple WebDynPro, just a screen with a message.
I created the archive in NW 2004s.
When I tried to deploy it in the Deploy View of JAVA EE 5 Studio, it failed with this message:
S U M M A R Y
~~~~~~~~~~~~~~~~~~~
Successfully deployed: 0
Deployed with warnings: 0
Failed deployments: 1
~~~~~~~~~~~~~~~~~~~
An error occurred while deploying the deployment item 'local_TestWDP'.; nested exception is:
java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: local_TestWDP
sdu file path: C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear
version status: NEW
deployment status: Admitted
description:
1. Error:
Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
. Cannot deploy it.; nested exception is:
java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
1. File:C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear
Name:TestWDP
Vendor:local
Location:LOKAL
Version:0.2007.02.28.16.20.56
Deploy status:Aborted
Version:NEW
Description:
1. Error:
Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
2. The deployment item could not be delivered. The reason is: An error occurred during deployment of sdu id: local_TestWDP
sdu file path: C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear
version status: NEW
deployment status: Admitted
description:
1. Error:
Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
. Cannot deploy it.
Exception:
com.sap.engine.services.dc.api.deploy.DeployException: DeploymentException.
Reason: An error occurred while deploying the deployment item 'local_TestWDP'.; nested exception is:
java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: local_TestWDP
sdu file path: C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear
version status: NEW
deployment status: Admitted
description:
1. Error:
Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
. Cannot deploy it.; nested exception is:
java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:734)
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:220)
at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:111)
at com.sap.ide.eclipse.j2ee.engine.deploy.view.deploy.action.DeployAction$DeployActionJob.run(DeployAction.java:223)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: com.sap.engine.services.dc.cm.deploy.DeploymentException: An error occurred while deploying the deployment item 'local_TestWDP'.; nested exception is:
java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: local_TestWDP
sdu file path: C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear
version status: NEW
deployment status: Admitted
description:
1. Error:
Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
. Cannot deploy it.; nested exception is:
java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:186)
at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:47)
at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:177)
at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:76)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:624)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:483)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:206)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:153)
at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:807)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:253)
at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:109)
at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:841)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:125)
at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:59)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:168)
Caused by: java.rmi.RemoteException: class com.sap.engine.services.dc.gd.DeliveryException: An error occurred during deployment of sdu id: local_TestWDP
sdu file path: C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear
version status: NEW
deployment status: Admitted
description:
1. Error:
Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
. Cannot deploy it.; nested exception is:
java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.performDeployment(ApplicationDeployer.java:162)
at com.sap.engine.services.dc.gd.impl.GenericDeliveryImpl.deploy(GenericDeliveryImpl.java:54)
at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:157)
... 16 more
Caused by: java.rmi.RemoteException: class com.sap.engine.services.deploy.server.utils.DSRemoteException: Error occurred while deploying ear file C:\Documents and Settings\PCleary\Documents\SAP\workspace\TestWDP\TestWDP.ear.
Reason: Exception while validating application local/TestWDP.
No one of the [] containers, which processed it, returned deployed component names.
The registered containers in this moment were [com.sap.security.ume, app_libraries_container, Cache Configuration Upload, servlet_jsp, dbcontentcontainer, connector, Cluster File System, JMSConnector, Monitoring Configurator, dbschemacontainer, appclient, orpersistence, JDBCConnector, EJBContainer, webservices_container, scheduler~container].
Possible reasons :
1.An AS Java service, which is providing a container, is stopped or not deployed.
2.The containers, which processed it, are not implemented correct. They deployed or started initially the application, but didn't return deployed components in the application deployment info.
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:302)
at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.performDeployment(ApplicationDeployer.java:150)
... 18 more
Similar Messages
-
Displaying both ABAP webdynpro and Java Webdynpro tasks in the UWL
Hi,
We have two an issue when trying to get the UWL to process two different types of workflow tasks : ABAP webdynpro and Java webdynpro.
Examples of these tasks are:
TS12300097 u2013 LeaveRequestApprover u2013 Java Webdynpro
TS17900100 - ASR_PROCESS_EXECUTE u2013 ABAP webdynpro
We have two backend systems configured
SAP_ECC_Financials u2013 This has the WAS host pointing to the java stack (xxx:50000)
SAP_ECC_Workflow u2013 This has the WAS host pointing to the ABAP stack (xxx.80xx)
In transaction SWFVISU all the tasks which use Java webdynpro have been configured to use the u2018Javau2019system (SAP_ECC_Financials) using the SYSTEM_ALIAS parameter
In the UWL configuration the system SAP_ECC_Workflow has been registered
In addition to this all u2018Javau2019 tasks have had an extra UWl config XML created to ensure that the SYSTEM_ALIAS is set to SAP_ECC_Financials
The system SAP_ECC_Workflow has been re-registered
The UWL cache has been cleared
However when we try to launch the java webdynpro tasks the system is trying to access the ABAP stack (It is still trying to access the Web AS location for the system SAP_ECC_Workflow even though the system alias was specified as SAP_ECC_Financials )
The ABAP webdynpro tasks (in this case a HCM process and form) are launched correctly
If we try the reverse (i.e register the Java system SAP_ECC_Financials and change the SYSTEM_ALIAS parameter for the ABAP webdynpro tasks to system SAP_ECC_Workflow) then the reverse happens. The java tasks can be launched and the ABAP tasks cannot.
Does anyone have a solution to this problem. Surely other people have implemented both ABAP and Java webdynpro workflows?
Any help much appreciated
AndrewThanks a lot for all your replies..
The workitem type registration has been done already, but still it doesn't work..
But here is the actual problem...
There is a link 'Execute Workitem' in the inbox of the approver, or the second level manager...
In the leave application, when we click on this link it is taking to the portal as the task is the Webdynpro Java application task. Whereas, when using ABAP webdynpro application task, it is taking to R/3 - which means that the user cannot access this link without R/3 access. The users are given only portal access, they don't have access to backend R/3.
The requirement is that the link has to take the user to portal directly instead of R/3 - i.e it should ask only for the portal id and password.
Since it was working fine with leave application, I changed the task to Java webdynpro task, but I think the Java Webdynpro application is not deployed in the server.
Please can anybody suggest.
Best Regards,
Sushmitha -
Abap WebDynpro or Java WebDynpro
Hi All!
Which differenced are existing between Abap WebDynpro
and Java WebDynpro. Is it e.g. possible whether
one IView which has been created through Abap
technology combinable or adaptable with an Ivew which has been
created through Java Technology? Or is it a decision in principle
(policy decision)at the bgeinning of a project which one you take ?
Regards
sasHi sas,
Read this article:
http://www.sapfrontend.com/webdynpro-for-java-or-webdynpro-for-abap/
Also have a look at the following links:
Java vs. ABAP
ABAP or Java?
/people/oliver.mayer/blog/2006/06/14/web-dynpro-abap-or-java
Bye
Ankur -
Any difference between webdynpro for java and webdynpro for abap ?
Hi all:
I would like to build one small system in EP.
I can choose to use webdynpro for java and webdynpro for abap.
I would like to ask any major difference between webdynpro for abap and webdynpro for java ?
Is fpm supported in webdynpro for abap ?Hi,
see this thread,
ABAP Vs JAVA WebDynpro
Regads,
J.Joe -
Problems between Xcelsius and WebDynpro for Java
How should I do to show Xcelsius in WebDynpro for Java?
How should I transport data between Xcelsius and WebDynpro?
How should I control WebDynpro with Xcelsius?For example,firing plugs in Xcelsius like in WebDynpro to change one view to another.
How should I do to execute a Java method in Xcelsius?For example,scheduling a job on clicking a button in Xcelsius.
Besides these,I also want to know the same problems between other BOE contents and WebDynpro for Java.
Regards,
AbeHi Pradeep:
Well that purely depends on the business application (project) your client is proposing. Following are very few factors which will drive for creating web-based applications:
VC: it's a UI modeling tool (non-programming) for creating rapid creation of web-based applications.
WD: its a powered by Java and ABAP with which you can create robust business applications.
If your client is very choosy about rapid application development, reporting, rich user interface, to reduce TCO then VC is the choice. Or if the project contains typical integration with SAP and non-SAP systems, complex business logic development, integration with WCM systems...etc then WDJ is the option.
If youve some sort of custom development with facilitating the Development Infrastructure (NWDI) then WDJ is the only option I could say.
We hope with NW CE 7.1.1(referred by Priyanka Singh) tighter integration between these TWO tools may over come the ambiguity of using them.
Tnx,
MS -
Books and Documentation on Webdynpro for Java
Hi,
I'am planning to start developing Webdynpro for Java applicatios.I know only Core java and iam not familiar with J2EE.I need some help on this.Any books on webdynpro for java basics and any documentation avail and prerequisite befor going to strat developing Webdynpro for JAVA
Can anybody please give me suggestions on this.
With Regadrs
PraveenWhat is Webdynpro?
What is Web Dynpro?
Webdynpro Sample Applications and Tutorialshttps://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
SAP WebAs Samples And tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143 [original link is broken]
Basis Webdynpro tutorials....
http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm
Web Dynpro Sample Applications and Tutorials:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d [original link is broken]
http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
Check the following thread u can get lot of materials,
WeB Dynpro Documents
Refer these linkshttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
Why WebDynpro ?Why WebDynpro ?
Why webdynpro and not BSP or JSP?
Why webdynpro and not BSP or JSP?BSP to WEB Dynpro
BSP to WEB Dynpro
Benifits of using Webdynpro Benifits of using
Webdynpro
Java vs. ABAP WEbDynpro Java vs.
WebDynpro ABAP
regarding Java related webdynpro
Regarding Java related Web Dynpro vs. Struts - a few questions
Web Dynpro vs. Struts - a few What kind of applications are being developed with Web Dynpro?
What kind of applications are being developed with Web Dynpro?
http://www.sappro.com/downloads/OptionComparison.pdf
Hop this will helpful for u..
Urs GS -
Hi
Experts
I am making webDynpro application in which I have to give a form with in UWL of Portal.In that one form will be appear in user 's UWL and if it clicks on <b>ok</b> then all data will be get saved and this form will be go to another user 's UWL for cross checking the input and go on.. till HOD.
Is this possible? How can I Make It?
I have only knowledge of webdynpro for java.
(Don't know anything of ABAP)
Please Help Me.....
Regards
Sunny.Hi
Some useful links are
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm">help.sap.com/saphelp_nw04s/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/259865cb-0701-0010-9a9e-d156765ec089">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/259865cb-0701-0010-9a9e-d156765ec089</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/da/a680415dc6050de10000000a1550b0/content.htm">help.sap.com/saphelp_nw04s/helpdata/en/da/a680415dc6050de10000000a1550b0/content.htm</a>
Thanks
SMitha -
Webdynpro for Java Edit and Save.
Dear all,
ter cal
iam working on webdynpro for java i want simple code for EDIT and SAVE after calling a rfc in for using NWDS webdynpro for java.
1)HOW TO SAVE AND EDIT THE FRONT WEBDYNPRO FOR JAVA APPLICATION
2)AFTER SAVING AND THE DATA THAT SHOULD BE SAVED IN PA30 ARE PA20 AND IN PARTICULAR TABLE ALSO.
PLEASE GIVE ME GOOD TIPS.Hi Kishore,
Creating/Updating entries in tables through Bapis (RFC calls) work in the same way as it is done for other Bapis like those for returning values or even structures. All you have to do is
1. Import the model, create a model node in your context and bind it to the Input structure of the model under used models.
2.Create an istance of the Model input structure, like
Z_Test1_Input input = new Z_Test1_Input();
3. Set attibutes directly under the input structure
input.setAttr1("XYZ");
4. Set attributes under any other structure under Input Structure by first creating the instance of the sub-structure
Z_SubStruct1 subStrc1 = new Z_SubStruct1();
subStrc1.setSubAttr1("ABC");
5. Add all available instances of sub-structures to the instance of input structure
input.set<SubStruct1>(suStrc1);
6. Add all available instances of tables under Input Structure after setting attributes within using
for (int iCount = 0; iCount < wdContext.nodeVn_ContactInfo().size(); iCount++) {
Z_Table1 zTable1 = new Z_Table1();
IPublic<YourComponent>.IVn_Table1Element tab1Ele = wdContext.nodeVn_Table1().getVn_Table1ElementAt(iCount);
zTable1.set<TableAttr>(tab1Ele .getVa_Attr1());
input.add<Table1>(zTable1);
7. Bind the instance of input structure to the model node.
wdContext.nodeMn_TestModel().bind(input);
8. Execute the model object and then invalidate the output structure under model node (Put this code in try catch block)
wdContext.currentMn_TestModelElement().modelObject().execute();
wdContext.nodeMn_TestModel().nodeOutput().invalidate();
9. Retrieve values from the attributes, tables and structures under the Output Node of the Model Node (Mn_TestModel) as usual
and store wherever in context as required. In case of output tables, you need to use FOR loop to iterate through the tables and access elements within using index (using wdContext.node<YourRequiredNode>().get<YourRequiredNode>ElementAt(int index)).
Hope it is helpful. -
Documentum Foundation Service (DFS) and webdynpro for java
Hi All,
Anybody have any experience calling web service created in documentum and using it in webdynpro for Java?
Main problem I am facing is I cannot use ContextRegistryService.
We used AXIS2 for generating the proxy and it is solved.
Thanks
Raktim
Edited by: Raktim Banerjee on Jan 21, 2010 2:40 PMWe used Axis2 for proxy.
-
EP,ESS/MSS and webdynpro for java interview questions.
I am an ep and ESS?MSS consultant and work on webdynpro for java.I have also worked on PDK like customization of masthead and logon page.I would like to know how to prepare for an interview? I mean what should I read ? and what topics should I cover?
HI Anzar
Instead of posting this here, you could have googled it. There are no. of sites for the same thing.
Since you wrote, so just curious... EP & ESS/MSS Consultant... what does that mean?
If I am not taking it wrong, by that sentence you are trying to tell that you have worked on ESS / MSS modeule. Right?
See, if you are an EP Consultant, you must know all the below atleast -
1. PORTAL SIDE
a. Different types of iView configuration
b. User Management
c. Internal / External Portal Configuration
d. Content development
e. UWL
f. Portal bottlenecks (I mean portal related issues, like slow responding etc.)
g. Display & Desktop Configuration
h. System Landscape Directory
i. NWDI
2. WEB DYNPRO SIDE
a. Calling iviews from wd applications
b. RFC/ BAPI calls
c. JCO Connections
d. SC/DC Concept
e. Import/Export Parameters
f. Scenario Based Answering (like... if your imported BAPI import parameters are changed by BASIS, what will you do to make it work for you.... etc)
g. Singleton/Non-Singleton nodes
h. Controllers
i. Interfaces
j. Multi-lingual Applications
k. EJBs
l. PDK applications
This is the basic list, it can contain many more items... This is the list which I faced for my interview. As an EP consultant, you must be good in both Portal as well as WD end.
1 more thing, every interview is different from other, so no point in just mugging them out. Go through with there concepts. That way, you can answer twisted & scenario based questions.
Hope this will help.
Best Regards
Chander Kararia
if question solved, close the thread after marking it answered.
Best Regards
Chander Kararia -
Adobe Interactive forms & WebDynpro for java problem with IE7 and IE8
I have Interactive form ui-element in WebDynpro for java (ver. 7 SP 10) application. It works fine with IE6, but in IE7 (or IE8) it doesn't show that ui-element at all. We have tried to change IE7 security & advanced settings, but we have not made any progress. We have also tried to install/uninstall different Adobe reader versions etc.
I know a little more about the problem now. After viewing the XML source I change the property of the inputfield.
It was like this:
<field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="ReadOnly">
but i changed the access to be nonInteractive
<field name="verdipers_felt" y="130.7001mm" x="180.1801mm" w="101.6004mm" h="44.4501mm" locale="no_NO" access="nonInteractive">
now view2 shows the linebreak as in view1... Buut! when im going back to view1 from view2, the linebreaks gets converted into spaces
thats pretty wierd, aint it? -
How to invoke Workflow and UWL through Webdynpro for Java
Hi,
In my Development Component there are three applications .The requirement is that the data will flow between one application to another only through workflow in
UWL.
Can anybody help me out as to how to invoke workflow programatically from Webdynpro for Java .
After data goes from one application to workflow UWL, how the second application will work on it . If possible please send me the links of some tutorials .
I searched in Webdynpro Tutorials site but there are no tutorials available there .
Thanks a lot .Hi,
Check the following Threads,U will get lot of details......
WebDynpro application that can work with SAP workflow work items?
/thread/142477 [original link is broken]
Configuring UWL with WebDynpro
/people/niharika.jeena/blog/2006/06/06/launching-webdynpro-from-universal-worklist
Sample Application,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/how%20to%20configure%20the%20universal%20worklist.pdf -
Suggestion for a good book for webdynpro for java
Hi, I am new to this technology,and i know a little bit basics,but i want to learn in depth regarding Webdynpro For Java and my backend is SAP R/3
can anyone suggest me a good book for webdynpro for javaHi padma,
Check this link.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#9">Web Dynpro Sample Applications and Tutorials</a>
Re: Guides for new entrant to Webdynpro
Regards,
Mithu -
Document Upload into Webdynpro and transfer to SAP R/3?
Hi Gurus,
I have a requirement to offer a Document uploading option through Java webdynpro screen.
I have referred the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
which has the steps till uploading the document into Webdynpro
And also I need to offer an option of listing the attachments(that have been attached by the end user into to the JAVA webdynpro form) with the DELETE option ,How to do that?
Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
Thanks in Advance,
DharaniHi Dharani,
If we want to add Excel into Java webdynpro screen, then we are trying to create a table with invidual cells. This can be easily possible at Java Portal Perspective using Jakarta HSSF POI API.
But we require at Webdynpro so , we can use the Context feature available at Webdynpro to load the table. now we can load the table data into an excel and we can display it to end users in the form of Excel..
to achieve this functionality pls use the below link
Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
Just in case if u need to achive through Portal Perspcetive in NWDS pls use this.
Create an excel file from JAVA using HSSF api
the advantage of these two methods is we can create mutable tables i.e. each cell of the table is accessable and can be modifed with using the code.
Hope this will be helpful.
Regards,
Shaila -
Charts creation with Webdynpro for Java
Hello everyone,
I am really new to SAP technologies and I have to create charts showing statistics for an application based on CE 7.1 and Webdynpro for Java.
I would like to have some inputs about the best way to achieve this, I saw it exists a business graphics UI and flash islands to use flex with webdynpro.
Thank you for your opinions
Regards,
JohHi Johann,
Please refer to this link might help for your requirement:
[Click Here|http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproforJavaDemo+Kit]
Hope it helps
Regards
Arun
Maybe you are looking for
-
WLC AireOS 8.0 - how to set font-color for integrated webauth/weblogin?
Hello, up to AireOS 7.6 I was able to set the font-color of the internal webauth/weblogin page using html-codes, for example like this: Headline: Welcome to our <font color="red">guest</font>-network! Message: You need a valid <font color="blue">user
-
ICloud photosteam on PC is only backing up photos that I have already deleted from my phone.
I had my phone stolen and went into the icloud photos stream on my PC to check that all my photos are there. To my horror I the only photos appearing on the photostream of my PC are ones that I have deleted from my iPhone. Only about ten of the photo
-
Hello everyone, I created a virtual desktop collection with a name format like this , prefix = VDI-, suffix= 1 . so when I created the first VMs , I had VDI-1 and VDI-2 , later after recreating the VMs, adding new ones and deleting others, the suffix
-
Choosing the port of an RMI server
I need a server working on a port wich is differet from the default 1099, e.g. 2500. I create my server object which extends UnicastRemoteObject with code like this public MyServer(int port) super(port); Befor starting the server I run rmiregistry 25
-
Using URL in Java to send sms ( Intelligent IP Monitoring )
hi all i have created a IP monitoring where in case of faulty it will send sms based on the error that has been caused in they system, i used this code before but did not responded import java.io.BufferedReader; import java.io.File; import java.io.Fi