Migrating from web dynpro java app nwds 7.0 to nwds 7.3
Hi,
is it possible to migrate web dynpro java app developed in nwds 7.0 to nwds 7.3 environment.
I tried but lots of problem.
Is there a blog?
Regards.
Cemil
its very much possible to migrate the component to 7,3 platform. SAP NWDS 7,3 provides a migration wizard to help with the migration, after that you need to do some manual adjustments, like changing the deprecated APIs, fixing JAR dependency etc etc..
Here is a guide on how to do it step by step
http://help.sap.com/saphelp_nw73/helpdata/en/e9/546e60777641509a5e0dc5cd05675b/frameset.htm
Hope this helps...
Similar Messages
-
Calling Remote-Enabled JAVA Module from Web Dynpro Java
Anyone have a clue how I can call a Remote-Enabled JAVA Module in ECC from a Web Dynpro Java app? I'm on Portal 7.0. When I try and create an Adaptive RFC model in NWDS and put in the Function Module name (CFG_API_FIND_KNOWLEDGEBASES) or its Function group, that RFC is not returned for me to import. Can I not use this method to get at this function?
(I CAN call this function module and run it from the old SAP Business Connector software. That, however, does not help me get it into my Web Dynpro app.)If anyone stumbles upon this thread, the long and short answer is you can't call a Remote-Enabled JAVA module in SAP from Web Dynpro Java.....using Adaptive RFC.
You can, however, if you create your own session and function call directly in Java code and give up on being able to use Adaptive RFC. -
Moving from Web Dynpro Java timesheet to Web Dynpro ABAP timesheet
Hi
We are in the process of moving from Web Dynpro Java ESS timesheet to Web Dynpro ABAP ESS timesheet. When using Web Dynpro Java ESS timesheet it is possible to enter time using a daily or weekly view.
When using the Web Dynpro version and ensuring the period type is set to weekly view for the data entry profile it is only possible to enter time on the weekly view, the tab for the daily view is no longer available.
Still using the Web Dynpro version and changing the period type to daily view I can enter time using the daily view and the weekly tab also becomes available, but the weekly tab is read only.
Do you know if it is possible to make daily and weekly timesheet entry for one data entry profile.
Thanks
MarkYes you can have only one view ie weekly or daily as per your CATS profile in CAC1.
but of course you can select multiple profiles
Configuration
The application configuration HRESS_AC_CATS_1 is provided by default and allows you to provide default values for the application parameters. It also allows you to specify the layout and appearance of the application.
The following application parameters are provided:
HIDE_CLOCK_TIMES_IN_WEEKLY
Hides the clock times in the weekly view.
MULTIPLE_PROFILE
Enables the selection of multiple data entry profiles from the dropdown list -
HTTP form post from Web Dynpro Java Application without opening new window
Hi Experts,
We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
try
strPrintContent="<html>"+
"<head>"+
"<script type=\"text/javascript\">"+
"function myfunc () "+
"{"+
"var frm = document.getElementById(\"paymentForm\");"+
"frm.submit();"+
"}"+
"</script>"+
"</head>"+
"<body onLoad=myfunc()>"+
"<form id=paymentForm method=post action=\""+merchantURLPart+"\">"+
"<INPUT type=hidden name=username value="+userName+">"+
"<INPUT type=hidden name=pass value="+passWord+">"+
"<INPUT type=hidden name=senderid value="+senderID+">"+
"<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
"<INPUT type=hidden name=message value='"+msg+"'>"+
"<INPUT type=hidden name=response value="+response+">"+
"</form>"+
"</body>"+
"</html>";
IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
window.show();
catch(Exception e)
wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
But it opens another window. We dont need that. We have to stay on the same window. Please suggest what can be done.Hi,
You can create a HTML file with the request post parameters and the external URL something like this:
public java.lang.String GetRedirecturl( )
// External URL
String html = "<html><head></head><body onload=\"load()\"> " +
"<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
// Post Parameters
"<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
"<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
"</form> " +
"" +
"<script>" +
"function load(){" +
"var loc = window.location.search.substring(1);" +
"var queryString = loc.split(\"sap-wd-resumeurl=\");" +
"if(queryString.length > 0)" +
"{" +
"var resumeURL = queryString[1].split(\"&\");" +
"if(resumeURL.length >= 0)" +
"{" +
" document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
"}" +
"}" +
"document.getElementById('form1').submit();" +
"}" +
"</script>" +
"</body> </html>";
String redirectUrl = "";
byte[] byteArrayHtmlData = null;
try {
byteArrayHtmlData = html.getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
return redirectUrl;
Hope this will be helpful.
Regards,
Anurag -
Accessing UWL API from Web Dynpro Java
Hi experts,
I need to retrieve the data from UWL into Web Dynpro java, I have gone through many blogs and solutions but since I am new to portal I am unable to a get hang of it. Can anyone provide me step by step solution including codes for my problem?
Thanks & Regards,
Amit Sinha.
P.S. Points will rewarded.Hi Amit,
just gothrough this below link... here they given the coding also.....
Accessing UWL-API out of Web Dynpro Java
it may be helpful to you.... pls comeback if you are struck any where......
Regards,
Srinivas. -
System Connection Tests
You can test the connectivity to the backend application represented by the current system object. Choose the relevant tests.
Note: The test is based on the properties currently defined in the system object. It does not check if the system properties are correct.
System Connection Tests
Test Name
Description
Status
SAP Web AS Connection
Tests the connection to an SAP Web Application Server
ITS Connection
Tests the connection to an SAP ITS server
Connection Test for Connectors
Tests the connection to a backend system using an associated connector
Test
Clear Results
Results
SAP Web AS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether a SAP system is defined in the system object
4. Validate the following parameters: WAS protocol; WAS host name
5. Checks if the host name of the server can be resolved.
6. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. The system object represents an SAP system
4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name
5. The host name ssprdxi.stylespasapnet.com was resolved successfully.
6. The Web AS ping service was pinged successfully.
7. An HTTP/S connection to was obtained successfully.
ITS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether the system object has a valid system alias
4. Check whether a SAP system is defined in the system object
5. Validate the following parameters: ITS protocol; ITS host name
6. Checks if the host name of the server can be resolved.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. Retrieval of the default alias was successful
4. The system object represents an SAP system
5. The following parameters are valid: ITS Protocol (http) ITS Host Name ()
6. The host name ssprdxi.stylespasapnet.com was resolved successfully.
7. An HTTP/S connection to was obtained successfully.
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
regards
AntonyHi Stefan,
This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
Regards,
Leo -
Navigation to External URLs from Web Dynpro Java
Hi,
I have Web Dynpro application, which shows one button called 'Navigate' and 'Close'.
I have created iView for this Web Dynpro application and integrated with Page to display in Portal.
When I click the button 'Navigate', I want to display some external url (ex: http://www.google.com) in the same window.
When I click the button 'Close', I want to close this window.
Let me know how to achive this.
ThanksHI
To close a window use
window.hide();
windw.destroyInstance();
and check this [thread |How to close a window ?;
For navigating to another web page use LinkToURL UI element in code and place your website as said above
Regards,
Mahesh -
BI query to be accessed from Web Dynpro Java
Hello,
I have a requirement to access a url that fetches data from BI.
The BI query provides output as an xml file when the query is run in a browser and required authentication credentials are provided.
I do not wish to use the standard BEx iView approach available in portal.
Any clue how this can be achieved ??
Thanks in advance.
Regards,
SudeepHi Avik,
I imported the project 3-4 times already, moreover I created a fresh project also. Same outcome.
I am executing the BAPI also. Just now I had restarted the Java Server, let see will that work, this might be pointing to some other server coz I originally configured with other server but shifted to another which i am using right now.
will get back to you if solution achieved. Thanks.
Best Regards
Chander Kararia -
Consuming Web Services with Web Dynpro Java
Hi All,
I've been searching around for a weblog that would describe building a web dynpro java app that consumes a web service. Ideally, I'm looking for something that has at least two views.
Does anyone know of good weblogs that address this?
Thanks!
Roman D.Have a look at the https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/5b77db42-0a01-0010-d7ba-8aa375593dd3">tutorial [original link is broken] [original link is broken].
Armin -
Web dynpro java application to update data in CRM system
Hello All,
I need to develop a web dynpro java application which will read and update data in CRM. How can I do this?
Thanks and Regards,
DeeptiFirst develop RFC / BAPIs to update and read in CRM system. Call those BAPIs from Web Dynpro Java application using AdaptiveRFC model.
Cheers,
~kranthi -
Kill the RFC connection as soon as the call is completed in Web Dynpro JAVA
Hi Experts,
Please guide us how to kill the RFC Connection from web dynpro java as soon as the execution is completed.The FM connection (Adaptive RFC) isnt getting closed in IS-U side. Please guide us how to close them explicitly.
We are getting the following error
(102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300)hi suvankar ,
wdContext.current<Modelname>_InputElement().modelObject().modelInstance().disconnectIfAlive();
use this option after executing your rfc, it will remove the connection to the r/3.
adn this
(102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300) -- is occuring because the pool size defined the jco destination is not sufficient, ask your basis team to increase the pool size.
Regards
Govardan -
How can I call a java object from Web dynpro ABAP application?
I made Web dynpro ABAP application and posted it to SAP EP.
For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
Is there anybody who experienced this kind of java interface issue?
I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
Any comment or suggestion would be greatly appreciated.
Thanks,
Raymond, ABAP Consultantif you have jco configured, then you can make calls to java api from ABAP .
check out this weblog.
/people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
Raja -
Returning an array type from a local method in Web Dynpro Java application
Hi,
In my project, we have a requirement to display 18 rolling months along with the year, starting from current month.
How I am going to approach is that I will get the system date and get the current month and send the month and year value to a local method which will return 18 rolling months along with the year.
But, when I tried to create a new method there is no option to return an array type. It was greyed out.
So, we can not return an array type from a method from Web Dynpro for Java application?
If so, what is the alternative and how am I going to achieve it?
I will appreciate your help!
Regards
RamHI
You can create new methods in
//@@begin others
private ArrayList MyMethod(){
// ** Put your code here
return new ArrayList();
//@@end
Other option are create a context node with cardinality 0...n with one or more attributes, and in your method create the needed registers into this node. To read this values, you only need to read your context node.
Best regards
Edited by: Xavier Aranda on Dec 2, 2010 9:41 AM -
Deploying my first web dynpro java application through NWDS 7.3 giving error
hi all,
i am new to webdynpro java. i am basically a xi consultant, but due to some work need to work on webdynpro java as well.
i went through the blog Web Dynpro Tutorial: Hello World
i am using NWDS 7.3
i created web dynpro project as per above blog. on the last step, it says to deploy it on SAP system.
now i have access to PI7.1 system only, though in our landscape, we have ECC system, EP system, BI system etc.
i guess the above webpage is referring to getting it deployed on EP system - but i have access to only PI7.1 system - in NWDS 7.3 in window - preferences - SAP AS Java - i have added PI7.1 system and it is showing there.
now on right-clicking web dynpro application, and selecting deploy new archive and run - it is not deploying and the web-page gives error 404 - not found. The requested resource does not exist.
can the web dynpro application be deployed on PI7.1 system?
pls suggest how to resolve this error. thanks.i have downloaded NWDS7.1 through this link
https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/ce/
used the first option - Download latest NWDS_platform.zip release
the zip file got downloaded.
on trying to install through IDEsetup.exe - now i am getting error in installation - The installer cannot run in the 32-bit sub-system on a 64-bit architecture.
how to solve this error - i tried installing jdk-6u7-windows-x64.exe and jdk-6u18-windows-x64.exe - but still the error remains same.
So how to install NWDS7.1 on my system? please tell. thanks. -
Web Dynpro Java UI Customization from Portal Using CTRL+Right Click in Prev
Hi Team,
I am able to hide some Web Dynpro UI elements from Portal Content Administration >> Web Dynpro iView >> Preview and by Pressing CTRL+RIGHT CLICK.
Here I need to understand the concept like how things work in this case. If we hide some UI in Web Dynpro Java iView customization will there not be any RFC/BAPI calls associated with that particular UI
For Example: Web Dynpro iView is made up of CompA and CompB and I am going to hide the UI associated with CompA. When I invoke the application will there not be any activity like invoking CompA calling associated RFC/BAPI etc related to CompA
Please help me in understand the concepts and performance implications on this.
Regards
SudhirHi Sudhir
You are quite right to raise this concern
If you start hiding elements you may find a change to functionality
For example - in ESS - if you hide a field that is set to mandatory in the back-end ECC when the user
goes to edit the screen they will not see the field and not maintain the field but they will get an error
"fill in all required fields" - which will completely confuse them as they will have filled in all displayed fields
Also if you hide one field in ESS that is required to populate another field this too many causes inconsistencies or errors
Ideal UI elements to hide are those that have been set to unsued (in the case of ESS in the back-end) and have no dependancies to other fields - however there is no complete list - you must test each scenario to your satisfaction
Best wishes
Stuart
Maybe you are looking for
-
Why do I get defult 10 min alert on new events in the cal, although I put no alert ?
When I make new events in my calendar, and choose no alert or reminder, and submit it, it automatically puts two 10 min alert prior to the events, I check my calendar setting and the default was no alert, but still getting this issue every time I mak
-
I have Adobe Photoshop Album 1.0 & suddenly cannot send photos thru e-mail. It looks like it's working ok; but when I hit Send nothing happens and the program stops responding. Any suggestions?
-
StageVideo application crash on mobile devices.
Hello everyone. The last few months, I've been having trouble with StageVideo on selected Android devices and as of today on all iOS 7 devices. When I try to switch between the currently playing video and a new one, after a random number of toggles,
-
Driver database SQLException problems
Hello all, i have problems with a java-tutorial "JDBC Basics". It seems that i didn't undertand some/much parts of the tutorial. I tried the sample code "CreateCoffees.java" (the code is below) but i get errors(see below) by runnig the class-file. I
-
Is Apple a trustable place to repair my Macbook Pro?
My macbook pro wouldn't turn on one day so I went to an Apple Store.They told me there was water damage, therefor it was going to cost $500 to fix the logic board(i never spilled anything on it)(my macbook is still under warenty). So, I told them to