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
Similar Messages
-
How to transport Web Dynpro for Java to Quality and Production
Hi experts,
I am about to start my first Web Dynpro application, local on my PC. How can I make it available than in quality and production system?
Thank you very much.
Best regards,
DanijelaHi,
If ur quality and production system can be used through the DTR only.
If u have authrization then u can directly chek in the files or application.
Otherwise u can send the Zipfile(Application)to be sent to ur coordinator then he will check in the Application into DTR.
For the Quality and productionsytem can be used Ear file from the DTR.
Thanks
Lohi. -
Interactive problem in Web Dynpro for Java and Flex
Hi, all:
Now I'm can use the FlashIsland to embed a flash developed by flex builder 3 in a Web Dynpro View, I have made the data transfer between Web Dynpro View and the flash, also have I got events of the flash in Web Dynpro View. But now the problem is that in the flex flash, how can I get the actions such as button action from the Web Dynpro View?
Is there anybody that has the experience to deal with such a problem ? Can you give me some help ?
Thank you all !Hi
Are you sure it asked for JDK 1.9
Please let me know from where you downloaded JDK 1.9
Regards
Nikhil -
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 -
Hardware requirement for Web Dynpro for JAVA
Hi Friends,
I am a starter in Web Dynpro for JAVA and about to develop web dynpro application in JAVA.Can anyone please guide me on the hardware requirement for this application of SAP?
Presently I have ECC 5.0 installed in 1 GB RAM using 160 GB harddisk.
Regards
Ashish.Hi Ashish,
If you want to install NWDS only then as said 1g.b is sufficient.
But if it's Personal System then you have to install Portal also( WAS).
You will require minimum of 2g.b of RAM and 120g.b of hard disk.
regards
Anil -
How to read a comma separated file in web dynpro for java?
Hi,
I am new to web dynpro for java, i am trying to develop an application where i am uploading file which is a comma separated file i need to read the content of it and then call an rfc pass those values to it. i have created the ui for the afforesaid.
How do i read the content and call the RFC please help
ThanksHi Anumeha,
Perhaps your question can be answered in the Web Dynpro Java .
Thank you.
Regards,
Jan -
How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA
Hi All,
Please let me know "How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA"
Regards,
Ganga.Hi ,
pl go through this note "Integrating a virus scan into SAP applications 817623 "
SAP Virus Scan Interface
http://help.sap.com/saphelp_nw2004s/helpdata/en/30/42c13a38b44d5e8d1b140794e8e850/frameset.htm
Sample Application
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6e1c4221-0901-0010-63ba-b1f9459d6e74
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2681486-0a01-0010-8497-c778eac80da5
Regards
Ayyappparaj -
How to import an image icon into Web Dynpro for Java project
Dear Experts,
I would like to have a "select all" button which has an image of a standard "Select ALL" icon in SAP R/3. Where do I store the icon in my Web Dynpro for Java Project?
Any help would be very appreciated.
regards,
ShoiraHi Shoira!<br>
<br>
You have to use the following path:<br>
<your workspace>\LocalDevelopment\DCs\demo.sap.com\<your UI component>\_comp\src\mimes\Components\<your component><br>
<br>
Best regards,<br>
<br>
Christoph -
hello all,
i am new to web dynpro for java.i have already done an application
"Creating a Web Dynpro Application Accessing ABAP Functions" this application
have good document on sdn.
this application is working fine .
Now i got an requiremnt for creating a purchase order in web dynpro for java.
in normal report when i call the bapi the parameter are the header, headerx,item, itemx is an internal table.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = HEADER
POHEADERX = HEADERX
POADDRVENDOR =
TESTRUN =
IMPORTING
EXPPURCHASEORDER =
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = RETURN
POITEM = ITEM
POITEMX = ITEMX.
i just want to know how can i fill these internal table in web dynpro
for java to create an application accessing "Bapi_po_create" .
ThanksHi Gopal,
I'm not sure what is your issue, it seems you're not really understanding how the Model structure works in WDP.
I'll assume few things here, like you know how to Import the Model into the WDP, and you know a little bit about what Java Classes will represent this Model in the Project.
Try these steps:
1. Import your Model into the Project;
2. Open your Component Modeler, create a Data Link between your Model / Component (Or Custom Controller, as you prefer)
- You can also use the "Apply Template -> Service Controler"
3. Map the Input of your Model as the Main Node, check the Input Tables (you prob. will have two, POITEM = ITEM - POITEMX = ITEMX)
4. Also, check the Return box, since this is BAPI return (You can use to display Backend messages)
Now you have the Model mapped into your Controller, you need to develop the Java function to execute it.
1. Create a new Input class, like
BAPI_PO_CREATE1_Input purchaseOrderCreateInput = new BAPI_PO_CREATE1_Input();
2. Bind your Input Node, in the Controller, with your Input Class;
wdContext.nodeBAPI_PO_CREATE1().bind(purchaseOrderCreateInput);
3. Set any Import parameters you need:
purchaseOrderCreateInput.setEXPPURCHASEORDER(XXXX);
4. To Add references to the Table, you will perform something like:
First, you need to know what "Structure" you need to add (POItem Structure) - You have a Java class that represents that Structure..
POITEM_Element poItemElement = new POITEM_Element();
poItemElement.setPROPERTY(); /// Set your Properties
purchaseOrderCreateInput.getPOITEM().add(poItemElement);
5. Execute your Input,
purchaseOrderCreateInput .execute();
Hope it helps,
Regards,
Daniel -
Creating Sales Order using Web Dynpro for java
Hi SDN,
I am new to Web Dynpro for java. I have developed an application for creating a sales order using adaptive RFC Model using BAPI. It's working fine when i create a single order. I wanna create SO with more than one line item. I have used the Table UI Element to do so. But i could not able to enter the 2nd item details. Please suggest me how to pass more than one line item from the Table UI element.
Thanks in advance.
Regards,
BashaHi Basha,
Do you need to display the header items and detailed items?
If the BAPI Contains Output values in R/3 side.
I mean to say if BAPI contains 4 line items.u can get thru wdjava the followinf way.
1. Create webdynpro application.
2.Import the model.
3.Create Customcontroller and model binding .
4. Write the execute method in controller.
BAPI b = new BAPI();
WdContext.node<BAPI>.bind(b);
give inputs for BAPI
b.setname(" ");
b.setno("");
wdContext.currentBAPI().modelObejet().execute();
wdContext.node<output>.invalidate(); in try catch
5. create view or when u give the dynpro application its
in the add custom to view and drag BAPI custom to view .
6.Crete UI for ur table thru insertTemplate table directly mapp the output values.
7. deploy and run
U can get the out line items .
Or any thing else post ur requirement.
Thanks
Lohi -
In Web DYnpro for java there is any Configuration controller?
Hi,
Experts,
I am having a confusion that is there any "Configuration Controller" present in Web dynpro for java.Where as i know that it is present in Web dynpro for abap could u please pass some idea on it.And how can identify the type of component in metadata files.
Thanks in advance,
Shabeer Ahmed.Hi,
you have Configuration Controller that we can call it as CC in Webdynpro application which developed using FPM that is Floor Plan Manager, which is used as part of developing the ESS and MSS business package.
The configuration Component is used to difine all the View Navigations and Road Map steps and define prespectives, and Vac's, Events for navigation from one view to another view.
go through this link u came to know abt FPM
http://help.sap.com/saphelp_erp2005/helpdata/en/43/3b8e8cb4ab1800e10000000a1553f6/frameset.htm
Cheers,
Apparao. -
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]
-
Design header in Web Dynpro for java
Dear experts
I used PageHeader UI Element for design header in web dynpro for java. How to insert a image and set padding logo in page header?
Ex : Create a SAP header includes the content as SAP logo, application title, functions, user name, logout button.
Thanks.Hi,
I couldn't understand your requirement for keeping an image in page header but i suggest you not to do so, because it is not a good practice and creates a performance issue. Page header UI element is not much customizable for same purpose and should not contain interactive UI elements according to [UI Element Guide|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b06c8c9a-19a4-2b10-d985-9ae7a4383478]. You can also refer to the same document for the usage of the Page header and other UI Elements its a very useful and nice article.
Regards
Jeetendra -
Implementing Note 616762 - Front End Printer in Web Dynpro For Java Applica
Hi All,
We need to implement Note 616762 in out web dynpro for java application for front end printing...
I am confused as to what is mapped where and what about the other inputs to the function modules mentioned in the note.
Please help me to achieve implementing this note.
Thansk and Regards,
Aditya DeshpandeI had a discussion with basis about printer configuration.
My problem starts from step 3... do not how the maping of values from webdynpro to function
also here the function mentioned are not remote enabled... do we need to make it remote enabled..????
Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Jan 9, 2009 3:36 PM -
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
Maybe you are looking for
-
SQL Queries for open sales orders with no invoice.
Hello all! Is there a way to make a query to find out if there are any uninvoiced sales orders older than 5 days? I am having difficulty figuring out how the invoice is linked to the sales order. I am more familiar with excel than SQL but I'm guessi
-
Hey, first of all i want to excuse my vulgar language (aswell as my orthography), but honestly? since around one week i got serious problems with my sound drivers, i have tried many things to resolve these issues already and am now close to despair
-
Automatic Marking of a row Checkbox in tableview MULTISELECT
Dear all, We are using a tableview with iterator and selectedrow-table in MULTISELECTMODE . The tableview gives back the table of the selected rows which have to be processed . After a users action and a fired event we have to store possible changed
-
Is it legal to jail break iphone in united kingdom?
is it legal to jail break iphone or ipod in united kingdom? like in united states?
-
Exception condition "PROBLEM_WITH_QUERY" raised.
Hi Experts, I have a problem when I Appended a ibase field to service contract search page and enhanced the eh_onsearch_btn where I added the code for searching the service contract based on ibase if i search the other than the ibase fields result