SAP Web Dynpro With Java
Hi Guys
A situation at work has forced me to learn web dynpro with java. I already have some experience with the ABAP web dynpro . Now the question is how much "java" do i need to learn to learn sap WebDynpro based on java. Should I first try and get a fair 'hands on' on core java and then shoot for web dynpro or should I take the other approach, that is just learn as much java as is required for web dynpro . Any suggestions?
thanks
sameer
Hi Sameer,
I believe you need not thoroughly know Core Java to begin for Web Dynpro Java but yes, you should have a fair idea about object, class and exceptions that i believe you would already have after working in ABAP. The UI elements can be just inserted into the component by drag and drop and codes correspondly would be auto generated. Only for customization of some functionalities, you will have to write code in Java using APIs.
Just go through the following tutorials recommended by SAP to start over Web Dynpro Java on NWDS.
http://help.sap.com/saphelp_nw70/helpdata/en/16/c0d93f5e0f9015e10000000a155106/frameset.htm
Regards,
Tushar Sinha,
Infosys,
Hyderabad
Similar Messages
-
Can I Design a Forum with using web dynpro for java?
Hi All:
Can i design a forum with using web dynpro for java?
I want to design an application like a simple forum which maybe has many replies.So if i use
the UI technology "web dynpro for java", i will to create UI elements dynamically.How can i control this
dynamical UI elements to keep layout ?Hi,
yes you can do that....
for exaple if you observe SDN...
you can imagine like....
A big Transparent Container(TC)....
Inside that number of other TCs(depending upon the question nd its replies...)....
In side each TC, again around 9 UIElements....
one for menioning what is the question/reply?
other for your description of question/reply...
other for your name,
displaing your fourm point... etc...
So it will be
for(loop till your (Question+No of replies))
Create Transparent Container....
Add Childs to the Container...
Decide your layout....
In case if you want to know how to create UIElements dynamically....
http://help.sap.com/saphelp_nw04/helpdata/en/4f/07cf3dd28b5610e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/dynamic%2bui%2bgeneration
Regards,
Srinivas.
Regards,
Srinivas. -
How to Pass Java Objects between Web Dynpro and Java SAP iViews
Basically I have an SAP web dynpro iView that I do stuff with and I want to pass an object to another iView which is just a regular Java iView. From what I've read and tried, I can't just stick something in the session object and hope that the Java iView can pull it down the other end. I had a dream that it was possible (seriously).
Anyway, are there any possible solutions around? Please advice and share you throughts. I will try to dream about it again tonight and see if its really gonna work this time.
thanks for your help in advanceThere is no easy way you can pass objects other than those supported by express such as String, map, list etc.
Though not advised, you can create a class with static variables to handle the storage of such java objects during transition between form and workflow. You will need to somehow identify the objects uniquely . -
Best practice for Web Dynpro for Java to connect to SAP HR
What is best way to connect Web Dynpro for Java application deployed in SAP portal to connect to SAP HR ?
Is it good practice to connect to underlying SAP database ( eg oracle) directly to get the data or is there a better way ?
This below article describes to connect to external DB, however Is there any other way for SAP HR ?
http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproApplciationwithDatabaseMS+AccessHi,
There are 2 supported ways :
First is to use JCO connections to call abap RFC enabled function modules. (BAPIs for example)
Second is to call SOAP web services (HR enterprise services for example)
You should never access directly database tables...
Regards,
Olivier -
Integration of Adobe Flex with SAP Web Dynpro ABAP
I am new to adobe flex development. i am following a tutorial prepared by
Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
How to fetch the data?
Please Guide how to proceed.Hi Laxmikanth,
For Adebo Flex help..
Please go through Thomas tutorial..
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
and ...
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
Hope it might helps you
Thanks,
Kris. -
Using existing SAP Queries in Web Dynpro for Java
Hello,
Does anyone knows any tool to easily reuse SAP Query reports in Web Dynpro for Java?
Thanks in advance,
DizHi Diz,
You can use RSAQ_REMOTE_QUERY_CALL (which rfc enabled) functional module to generate rfc adaptive model which can be used inside WD project.
Best regards, Maksim Rashchynski. -
Help with SAP Web Dynpro IView
Hi,
Our developer created an planning file upload web dynpro via transaction RSPLAN. I am looking to create a appropriate IView for this so I don't have to hardcode the URL in an URL IView. From the list of available IViews I selected "SAP Web Dynpro".
The URL to the Upload is the following:
https://<server>:1443/sap/bc/webdynpro/sap/zrsplf_file_upload?planning_sequence=ZDWHOSPSAL
For the IView parameters I have the following:
In "Application Name" I have zrsplffile_upload_
in "Application Parameters" I have planningsequence=ZDWHOSPSAL_
in "Namespace" I put ZSMD which is the package
When I execute the IView I get the following error.
Application error occurred during request processing.
Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong WebDynpro-URL: no application name specified
Can anyone help me out with what I should put in the Namespace parameter and what else I might be doing wrong?Hi,
This doc may be of use for you
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3e36d690-0201-0010-cd99-bfbb81bd33d9
Regards
Ayyapparaj -
Java Web dynpro with ABAP Clients?
Morning,
We have a situation where we would like to use a Java Web dynpro with multiple ABAP backend data sources. This is for autorization as well as data. We are not using Enterprise Portal.
We've created a pair of system Jcos and mapped them to the Web dynpro via the URL. This works and the correct data from the correct Client is retrieved depending on which pair of Jcos we define in the URL.
The problem we are having is that we are only able to logon using the ABAP Client defined in the ume....master.client parameter.
Is there a way to achieve this (again without EP) either in the system configuration or programatically in the web dynpro?
tia
Cheers,
MitchHello,
Thanks for the updates. Actually my query is we have a SCM 5.0 system which has a java stack in it. But now we are going to upgrade it to SCM 7.0. - Is SCM 7.0 has a java stack ?
If it doesn't have , can we upgrade SCM 5.0 to SCM 7.0 without Java Stack ? Is it posssible to upgrade without Java Stack or not ?
Is it possible that we can convert Java Stuff into ABAP web dyn pro ? If yes , how shall we can achieve it ? If not, how shall we proceed in an alternate way ?
Thanks for your help in advance.
Madhu -
Web Dynpro without Java stack?
Hello
a simple question : Is is possible to deveop and run Web Dynpro applications on a system with no Java stack? It is a ECC 6.0 system.
Thanks
A.Hi Aleksandra,
Yes it is posible to develop and run Web Dynpro applications without Java Stack.
For Web Dynpro for ABAP :- Java stack not required, you can do with SAP System T-Code - SE80 if Web Dynpro Component available in your sap system.
For Web Dynpro for Java :- You must require Java Stack.
Hope this will helps you.
Thanks
Arun Jaiswal -
Notification Service in Web Dynpro for Java?
Hello Experts,
I'm new on the topic "web dynpro for java" and have a question about a real-time-notification of web dynpro clients.
In web dynpro for abap ther is apparently a new solution called "Notification Service" (since NW 7.0 Ehp2).
Details: http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/f0802995-3433-2c10-2787-d7db51352891&overridelayout=true
But I found no hints how to solve the problem of a real-time notification in web dynpro for java.
Requirements for short: The server can trigger a refresh in one or more web dynpro clients.
Requirements a liitle more extended:
1. A web dynpro is running in a browser and shows data it gets from a DataBase table1
2. Now a function module1 is started by an event and changes the data in table1 on the server side, the web dynpro does not know about this event or the changes made by external components.
3. These changed data should be visible immediately in the running web dynpro after the event occurd --> trigger a refresh of the web dynpro from the function module1?
All I actually know is that: The web dynpro can update its context with the new data from table1 after a refresh of the gui (wddomodifiyview). Using a timed trigger I can get new data after x seconds (same way --> context update and gui refresh). Is there another way to refresh the web dynpro (that noticed requirements of #3) ?
Regards,
Anja HormannI recommend that you create another Web Dynpro application with this Timer to execute an RFC. This application would be in a Web Dynpro iView hidden from your SAP EP and shoot an event that would be captured by another application.
However I would take great care with this type of application.
And to answer your question at the moment, to my knowledge, there is no solution for this kind of integration between the ABAP and JAVA.
regards,
Angelo -
Catching errors in Web Dynpro for Java when thrown from RFC Raise Exception
Hello Developers,
I'm looking for information that explains how a Web Dynpro for Java application responds and processes errors that are thrown from a Raise Exception event within an RFC.
The Exceptions do not appear to be part of the Model and I can't identify how they get processed.
When rfc HRXSS_CAT_WD_RECORD raises exception PERNR_NOT_LOCKED this exception is passed back to the calling webdynpro CAT DC that displays the exception on the web page along with the log.
I would like to display a friendlier message and without the log. Any information on how to customize the handling of this error would be greatly appreciated.
Thank you,
Terry[see here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fuser-interface-technology%2fwdJava%2FHowtoHandleExceptionsEffectivelyWhileWorkingwithWebDynproJava%28WDJ%29.pdf]
-
Hi,
We are facing problem with iviews, created using SAP Web Dynpro iView Template. Whenever user clicks on any of SAP Web Dynpro iView , portal main page is opened instead of Web Dynpro application. Same problem is encounted on preview of the iView. Everything was working fine till yesterday and suddenly we are facing this problem.
Also, iview created using Web Dynpro Java Application option are working fine.
What can be the reason behind the problem?
Need your help.
Thanks in Advance,
ApurvaHi,
Some times we get the home page instaed of the application.
This may be due to the application is not active.
Test from se80.
If it is working fine create the iview again i think there are changes made to the application.
Thanks,
gopal -
Portal theme not picked for SAP Web Dynpro Iview
Hi,
We have used light framework page for our portal and all the iviews display the content within the iviews in the same set of colors (blue for buttons). However, for a WD java content, I have created an SAP Web Dynpro iView and the contents displayed here appear in the SAP colors without picking those set for the portal.
The same application parameters display the portal colors when we use the Web Dynpro Proxy iview.
Any idea how I can make the SAP Web Dynpro iView appear like the other portal iviews?
Note: The stylesheet property for the iview is already entered (ur), and I have also set the 'Supply Portal stylesheet' property to 'Yes'.
Please provide your inputs.
Thanks,
VinayHi ,
In ABAP Webdynpro for similar problem we used WDFORCEEXTERNAL Sheet property of WDA.
The Web Dynpro framework automatically compares the versions of the portal and Web Dynpro
for ABAP style sheets. If the Web Dynpro for ABAP has a newer version, the WDA style sheet is used. This avoids unattractive rendering and JavaScript errors.You can deactivate this behavior again using the WDFORCEEXTERNALSTYLESHEET application parameter of WDA.See also SAP Notes 1033496 .
If you use the stylesheet of the portal to display the application, the rendering may not appear correctly and Javascript errors can occur(If portal style sheet is lower than WD).
Though Iam not familiar with WD java , the property force portal style sheet in WD java application should be enough to make WD accept portal theme.
Regards
Karthiheyan M -
Invoke Workflow from Web Dynpro for Java Application
I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
Thanks,
AshleyHi Ashley,
Use following code in RFC to invoke your workflow -
DATA : w_subrc TYPE sy-subrc,
w_wi_id LIKE swwwihead-wi_id.
CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
EXPORTING
task = ' WORKFLOW - WSxxxxxx '
language = sy-langu
do_commit = 'X'
IMPORTING
return_code = w_subrc
workitem_id = w_wi_id
TABLES
input_container = it_container
message_lines = lv_swr_messag
COMMIT WORK.
With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU transaction.
After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
Regards,
Roshan Gupta -
How to develop Web Dynpro for Java and run it locally
I want to learn Web Dynpro for Java but still struggling with the running it locally in my PC. What software do I need to install in my own PC in order to do that? I have NWDS in place and I can write the code and compile it already. Thanks!
Hi Anthony,
You need to have SAP Web Application server (SAP WAS) to run all the webdynpro applications. WAS can be installed either on your local system or on a server which can act as a central server.
You can download WAS from SDN, which is a trial version. Check this link.
http://www.sdn.sap.com/irj/scn/nw-downloads
For checking the minimul system requirments for installing WAS please check the PAM (Product Availability Matrix).
I hope this solves you issue. Please revert back in case you need any further information on this.
Thanks and Regards
Pravesh
Maybe you are looking for
-
Most but not all iCalendar History has Gone
iPhone 5 (iOS6) has about 10 calenders on it. Various Macs subscribe to all or 1 or 2 of these claendars = OK (Even those on different accounts.) iPhone 4S (iOS7) subscribes to all of these, but as of a few days ago, suddenly almost all events befor
-
Sound from macbook - not TV - during Apple TV Airplay HELP!
I connected my macbook to the TV via Apple TV Airplay, and the sound only comes out of the laptop, though the screen mirrioring still works. Would love some help.
-
When I add photos that i have edited on iphoto onto my iweb page, instead of getting the edited version of the photo, iweb shows the original. any idea why this is happening?
-
hello gurus, I have used BAPI_NETWORK_MAINTAIN bapi to maintain network and activity relationship. bellow is the code written by me . START-OF-SELECTION. PERFORM modify_int_table. PERFORM write_msg. LOOP AT it_tab INTO wa_tab. IF wa_tab-con
-
Using Automator in place of Tether
+I posted this in another topic in reply to a question, but since I get asked this a lot I figured I'd give it a unique post.+ So, if you were one of the many hoping Apple would add the ability to shoot tethered directly from within Aperture, only to