New to Web Dynpro java

hi I am new to Web Dynpro java, From where should i have to start
where can i find examples and documnets on web dynpro java.
regards
beardenrick

Hi,
Web Dynpro is the SAP programming model for user interfaces (UIs).
It provides a programming framework within which you can achieve a:
u2022 Clear separation of business logic and display logic
u2022 An application specification that is both:
Client neutral and
Backend neutral
It consists of a runtime environment and a graphical development environment with special Web-Dynpro tools that are integrated in the SAP NetWeaver Developer Studio
The Web Dynpro technology provides a development and runtime environment for Web applications and enhances classical Web development to build easily adaptable user interfaces. SAP's Web Dyn-pro technology closes significant gaps between typical Web development tools and the needs of cost-effective, responsive, easy-to-use, maintainable, and professional browser-based user interfaces for business solutions. Web Dynpro uses design principles similar to SAP's Dynpro technology, but it is a completely new technology geared exclusively towards Web applications. Its main features include the following:
u2022 Usability
u2022 Abstract modelling
u2022 Personalization and customization
u2022 Separation of presentation layers and business logic
u2022 Generic services
u2022 Portability
Web Dynpro applications run in the SAP Enterprise Portal.
See https://www.sdn.sap.com/irj/sdn/nw-ui for more information.
please refer this beloe link for web dynpro java.
Introduction to Web Dynpro Java?
Basics of WebDynpro ( What is WDPro? )
https://www.sdn.sap.com/irj/sdn/?rid=/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143
Sample Applications and Tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#32
More Links On Web Dunpro
The following links will give you introduction to Web Dynpro,Getting Started with Web Dynpro & WebDynpro Benefits
/thread/358673 [original link is broken]
/thread/353819 [original link is broken]
Tutorials and PDFs
Also see:
WEB DYNPRO?
what is webdynpro?
What is Webdynpro?
What is Web Dynpro?
Webdynpro Sample Applications and Tutorials
https://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
Basic 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
http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
Go through the following documents for step by step procedure for developing an application in wdjava.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a361a890-0201-0010-c0bc-8f16de527cde
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/efe7a790-0201-0010-7894-cfd79d02bb7e
the following document will give you some idea of webdynpro concepts
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a815cf90-0201-0010-8481-da495d68294c
The following document gives some introduction in nwds
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f637ae90-0201-0010-ccab-81f3ec35f85e
the following document will give you some idea of WAS concepts
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1515a37-0301-0010-b2bb-99780cb4cafa
Check the following thread u can get lot of materials,
WeB Dynpro Documents
All Web Dynpro Articles
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c?startindex=221
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?
What kind of applications are being developed with Web Dynpro?
http://www.sappro.com/downloads/OptionComparison.pdf
Developing Java Applications using Web Dynpro Configuration Scenario
http://www50.sap.com/businessmaps/8F5B533C4CD24A59B11DE1E9BDD13CF1.htm
Integrating Web Dynpro and SAP NetWeaver Portal Part 1: Creating Web Dynpro-Based Portal Content
http://www.octavia.de/fileadmin/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Tutorial_1.pdf
The Structural Concepts of Web Dynpro Components
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381
Web Dynpro:Context Mapping & Model Binding
http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/14-Web_Dynpro_dataflow.pdf
Web Dynpro:Getting Involved
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c193252d-0701-0010-f5ae-f10e09a6c87f
Refer the following links also
1.Tutorials & Samples for Web Dynpro Java
2.https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60e5add3-8349-2a10-9594-bcb7d1b4bd2d
3.http://help.sap.com/saphelp_nw04/helpdata/en/80/c12041aa7df323e10000000a155106/frameset.htm
4.https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d599690-0201-0010-12bb-b9ea3ea32d22
5.http://help.sap.com/saphelp_nw70/helpdata/EN/dd/0e2a41b108f523e10000000a155106/frameset.htm
6.What is Web Dynpro? What is the use?
7.Everything you wanted to know about Web Dynpro but were afraid to ask, including...
Elearning Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/ui-elearning
Articles On Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/4005b711-9f9b-2a10-ebae-a1c7ab7ed39d
Blogs On Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/43
Wiki's On Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/wiki?path=/x/iau
Documentation On Webdynpro
https://www.sdn.sap.com/irj/sdn/nw-wdjava
The following links will give you introduction to Web Dynpro:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/8921447c-0501-0010-07b4-83bd39ffc7be
WebDynpro Benefits
The following link will give you basics of how to build applications in Web Dynpro:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/efe7a790-0201-0010-7894-cfd79d02bb7e
Following link is the comprehensive link for numerous tutorials on Web Dynpro from SDN itself:
Tutorials & Samples for Web Dynpro Java
Following are some threads where you can get links to practice examples on Web Dynpro:
/thread/358673 [original link is broken]
/thread/353819 [original link is broken]
Tutorials and PDFs
Also see:
WEB DYNPRO?
what is webdynpro?
Regards,
H.V.Swathi

Similar Messages

  • How to run web dynpro java application

    I am new to Web dynpro java.
       I have created sample application through NWDS. I wanna run the application in server.
       please tell me from where I have to download the server and the steps to install the server.
       I have installed sap management console, but frankly speaking don know how to proceed my next step.
       Struggling for last two days and I believe my search will come to an end.
       Thanks in advance.
    P.S: If I post in the wrong column, admin please redirect me to the right place.

    Hi Ram,
    I tried to download the Software according to your instructions. I could follow the path Installations and Upgrades -> Entry by Application Group -> SAP NetWeaver -> SAP NETWEAVER, but then the only choices left are:
    SAP NETWEAVER 04
    SAP NETWEAVER 7.0
    SAP EHP1 FOR SAP NETWEAVER 7.0
    SAP NETWEAVER CE 7.1
    SAP NETWEAVER MOBILE 7.1
    SAP NETWEAVER PI 7.1
    Please look this [Install & Configure SAP NetWeaver Composition Environment 7.1 ehp1 (Preview Version)|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b057d7e3-b89e-2b10-1e9e-c426e967f8e1]
    and [SAP NetWeaver Composition Environment 7.1|SAP NetWeaver Composition Environment 7.1]
    Hope help full!!!
    Regards
    Vijay
    Edited by: VijaySAPEP on Aug 11, 2011 11:50 PM
    Edited by: VijaySAPEP on Aug 11, 2011 11:54 PM

  • Component Initialisation in web dynpro java

    Hi all,
    Iam new to web dynpro java.I am using two web dynpro component suppose A and B . Iam declaring the usage of B in A so that i can embedd one of the view in Component B.  I want to use the context in Component B in Component A . which component is initialised first when we run the application ...
    plz give a procedure to do this task......
    Thanks and Regards
    prasad

    Hi Prasad,
    This forum is about Visual Composer. You might want to try the [Web Dynpro|Web Dynpro Java; forum for this question.
    Best regards,
    Tal.

  • Web Dynpro Java WIki - Not able to add a new page.

    Hi Experts,
                     I want to add a new wiki page in Web Dynpro Java, but i am not able to find corresponding button or action  to create a new page.Please guide me to add a new page.
    Thanks and Regards
    Fazal Ahamed

    Hi Fazal,
    This is probably due to the Expert Wki which was launched last week. Please see Craig's blog for more details: /people/community.user/blog/2009/06/17/welcome-the-expert-wiki
    BR,
    Hilit

  • 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

  • Date Column not getting sorted in a table in web Dynpro Java

    Hi All,
    I am facing an issue while sorting the date column in a table in my web dynpro java application.
    When the date is displayed in the sql format in tha table, I am able to sort the date column successfully but when we convert the date field from sql format to util format in our table and then sort it does not work.
    Kindly let us know the steps to be followed in this case to sort the date column of a table in Simple Date format as we do not want date in the sql format to be displayed.
    Thanks & Regards,
    Anurag

    Hi,
    You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
    As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
    In your table, add a new column and bind to this new attribute, and hide your original date column
    If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
    Cheers,
    Robin

  • How to configure SSO for web dynpro ABAP (not web dynpro Java)

    Hi Experts,
        I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
    1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
    2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
         procedure"
       Then deleted all logon procedure other than "SSO Authentication" and saved.
    3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
         signal).
    4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
    After all this settings I opened a browser enter above URL and hit enter but there is an error
    There is no login page. It directly showed this error page. No cookies is saving.
    Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
    How to set the for single sign-on?
    Thanks in Advance
    Regards
    Piyush

    Hi Piyush,
    Pls refer below links,
    Single Sign On with ABAP WebDynpro
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
    Regards
    K.N

  • Connect to SQL server 2005 in web dynpro java

    Hi,
    I am new to web dynpro. I want to coonect to SQL server 2005 server from my simple application.
    For that what and all the prerequisetion and what and all the steps to follow.
    I have created a database and the table too. I have created the application too. But i am not able to connect to sql. what might be the problem. I tried to create the data source in visual administration. and written code in the view like this.
    try {
                                                   String userName = "jktuser";
                   String password = "jkt12345";
                   String url ="jdbc:microsoft:sqlserver://jktr3:50000;database=student";
                   Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver ").newInstance();
                   Connection con =DriverManager.getConnection(url, userName, password);
                   System.out.println("Database connection established");
                   Statement st = con.createStatement();
                   String str = "select * from studentdata";
                   ResultSet rs = st.executeQuery(str);
                   while (rs.next()) {
                   String str1 = rs.getString(1);
                   wdComponentAPI.getMessageManager().reportSuccess(str1);
                                                    String str2 = rs.getString(2);
                   wdComponentAPI.getMessageManager().reportSuccess(str2);     
                   wdComponentAPI.getMessageManager().reportSuccess("sukces");
              } catch (Exception e) {
                   wdComponentAPI.getMessageManager().reportWarning(e.toString());
    And i am getting this error
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.
    Plz any one help me in this.
    Regards,
    H.V.Swathi
    Edited by: H.V Swathi on Nov 21, 2008 6:46 AM
    Edited by: H.V Swathi on Nov 21, 2008 7:16 AM
    Edited by: H.V Swathi on Nov 21, 2008 7:17 AM

    Hi,
    I have tried all the steps to configure the remote connection but it is giving an error that says,
    "Computer localhost does not exist on the network, or the computer cannot be configured remotely. Verify that the remote computer has the required Windows Management Instrumentation components and then try again. (SQLSAC)
    ADDITIONAL INFORMATION:
    An exception occurred in SMO while trying to manage a service. (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.InnerWmiException&LinkId=20476
    Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)
    For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&LinkId=20476
    The operation could not be completed. (WinMgmt)
    BUTTONS:
    OK
    Please i welcome your valuable inputs.
    Thanks & Regards
    Swathi

  • " APPLICATION NOT FOUND"  while deploying Web dynpro java Application

    Hi, I am getting a message that "application not found " While deploying the web dynpro java application .......... please give me a solution for this .

    Hi Ram,
    This error comes generally when your webdynpro project does not have an application. To create an application in your webdynpro project follow the underlying steps:
    <Project>->WebDynpro->Applications ---> right click and create New Application.
    Follow the steps to create the application.
    Now if you create archive and deploy, it will not give you the error again.
    Best Regards,
    Ravi

  • Reading contents of uploaded excel file in web dynpro java

    Hi All.
    I am aware how to provide facility to upload files in web dynpro java. But my requirement is that on uploading a particular file (for eg. an excel file having 10 columns), I need to read the contents of that file and store it in a table in R/3.Can anyone suggest a way how I can read the contents of the uploaded file?
    Thanks and Regards,
    Saurabh.

    Hi.
    I am having the following requirement : I have a FileUpload UI element where user clicks Browse button, selects a file from the local system and presses a Upload button. Upon pressing Upload, the name of the selected file and the contents of the file should be shown.
    In the View context, I have two value attributes: FileName of type String and FileResource of type binary.
    This is the code that I have in the Upload button action handler :
      public void onActionUpload(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpload(ServerEvent)
        IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(
                 IPrivateReadExcelView.IContextElement.FILE_RESOURCE);
        IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)attributeInfo.
                 getModifiableSimpleType();
        IPrivateReadExcelView.IContextElement element = wdContext.createContextElement();
        String fname = binaryType.getFileName();
        wdComponentAPI.getMessageManager().reportSuccess("File selected - "+fname);  //Statement 1
         try {
              wdComponentAPI.getMessageManager().reportSuccess("Successful");    // Statement 2
              InputStream in = new FileInputStream(fname);
              HSSFWorkbook wb = new HSSFWorkbook(in);
              wdComponentAPI.getMessageManager().reportSuccess("Successful");    //Statement 3
              int sheetsNo = wb.getNumberOfSheets();
              for (int i=0;i<sheetsNo;i++) {
                   HSSFSheet sheet = wb.getSheetAt(i);
                   Iterator rowsNo = sheet.rowIterator();
                   while(rowsNo.hasNext()) {
                        HSSFRow rows = (HSSFRow)rowsNo.next();
                        Iterator colsNo = rows.cellIterator();
                        while(colsNo.hasNext()) {
                             HSSFCell cell = (HSSFCell)colsNo.next();
                             wdComponentAPI.getMessageManager().reportSuccess("File uploaded" +
                                  "successfully");
                             if(cell.getCellType()==1) {
                                  wdComponentAPI.getMessageManager().reportSuccess("00000"+
                                       cell.getStringCellValue());
                             else if(cell.getCellType()==0) {
                                  String str=""+cell.getNumericCellValue();
                                  wdComponentAPI.getMessageManager().reportSuccess("11111"+str);
         catch(Exception e) { wdComponentAPI.getMessageManager().raisePendingException();
        //@@end
    On pressing Upload button, name of selected file is being shown(Statement 1). I am also getting Statement 2 in the output. However I am not getting Statement 3 onwards.
    Where am I going wrong? Can anyone shed some light on this?

  • Consuming External Web Services in Web Dynpro Java

    Hi All,
    I an trying to consume external web service in Web dynpro java using Adaptive Web Service Model.
    But getting below mentioned error while executing the web service
    Exception on execution of web service with WSDL URL 'D:\Web Service Project\CurrencyConvertor.asmx.xml' with operation 'ConversionRate' in interface 'CurrencyConvertorSoap'
    Steps i followed are as below:
    1. Created  Adaptive Web Service Model for this i select WSDL source as "Local File System or URL"
    In next step i select No logical destination radio button and click on next
    In next step, browse the WSDL file and successfully import the WSDL file.
    2. After successfully importing the WSDL file i wrote below code in Init method:
    WebModel modelweb = new WebModel();               
    Request_ConversionRate reqConversion = new Request_ConversionRate(modelweb);
    ConversionRate conversion= new ConversionRate(modelweb);
    reqConversion.setConversionRate(conversion);
    wdContext.nodeRequest_ConversionRate().bind(reqConversion);
    3.After that execute the model - code is given below :
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
          wdContext.currentRequest_ConversionRateElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeConversionRateResponse().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage(), false);
    Please let me know how to resolve this.
    Thanks
    Sandy

    Hi,
    You need to use destinations for metadata and modeldata.
    Configure those destination in Visula admin.
    you can refer to following link.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Shruti.

  • Creating sales order using web dynpro JAVA

    Hello everyone,
    i am new to web dynpro. Can any one tell me how to creating sales order by web dynpro JAVA using BAPI.
    Thanks.
    Vinita Sharma

    Hi...
    you can use Adaptive RFC methodology in web dynpro java to work with BAPIs..... these are standard bapi's provided
    Here are required Bapis... select which one you want....
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    check this thread SALES ORDER creation using BAPI
    sample java program which will call SAP bapi function sales order create
    PradeeP

  • Deploying problem of web dynpro java application

    Hi,
    I have a web dynpro java application with no problem about deploying.
    I copied this application with another name.
    I tryed new application to deploy but sdm aborted with error.
    Error
    19.Tem.2011 10:22:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : vserver0202
    SDM port : 52018
    URL to deploy : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Result
    => deployment aborted : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Aborted: development component 'HF_PERS_RAPOR_BUTCE'/'local'/'LOKAL'/'0.2011.07.19.10.22.15'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/HF_PERS_RAPOR_BUTCE.. Reason: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Since the exception says "Are all referenced components deployed and available on the engine?"
    Check wether any DC is used as a used DC in the webdynpro component which you are deploying.
    If any used DC is available try to deploy that DC in the server and then deploy ur webdynpro application.
    If all reference DC's are avialable in server, still if you get this error try to rename the component and reload+rebuild the project and deploy it.
    Hope this helps you...
    Regards,
    Saleem Mohammad.

  • Using RepositoryFrameworkWS in web dynpro Java 7.1 CE

    Hi All,
    I am new to KM, and i have a requirement to create a document in KM of 7.0 from a web dynpro java application developed in NWDS 7.1 CE. I know i can use RepositoryFrameworkWS web service to achive this. But I need some help to start with it.
    So it would be of great help, if i am provided with some Documents,  Code snippets or links regarding this.
    Thanks & Regards,
    Vishweshwara P.K.M.

    Hi Mukhuti,
    I had tried setting ParentCollectionRid as "\documents" and when I execute the application i get the exception stating "Exception on execution of web service with WSDL URL 'http://<URL>' with operation 'createDocument' in interface 'RepositoryFrameworkWSVi_Document'".
    Also is it mandatory to set UserId and password to create new document, if yes is it an admin Id.
    Thanks & Regards,
    Vishweshwara P.K.M.

  • Caching in Web Dynpro Java

    Hi Experts,
    I am trying to develop a web dynpro for java application based on RFC model.
    I am using an RFC that brings the Countries and States from the R/3 and will be used as dropdowns in the views controllers.
    The question is:
    I would like to cache the Countries and States in my web dynpro application. The idea is not to execute the model everytime. The model should be executed only once. I would like to store these countries and states in a local java dictionary or etc. and use them for UI element designing.
    Is there any way to do this in Web Dynpro Java? I would like to follow a better approach to avoid performance problems.
    I do not want to follow this approach: executing the model in the wdInit method of the controller. Executing this model in this method also causes performance problems. Because the model is brining approx 1540 records from R/3.
    Please advice.

    Hi All,
    Thank you for the suggestions.
    I am a beginer in wd java. i am starting with amit's suggestion.
    Step 1: Execute RFC to fetch data preferably use doInt method for it.
    Should I execute the method in wdInit of the view controller/component controller?
    I defined a method "executePMPReadBAPI" in component controller.
      public void executePMPReadBAPI( )
        //@@begin executePMPReadBAPI()
       try{
            wdContext.currentPMPDoctorReadElement().modelObject().execute();
            }catch (Exception e){
            logger.errorT("Error in executing PMP Read BAPI");
    wdInit of View controller:
              IWDAttributeInfo countryInfo =
                   wdContext.getNodeInfo().getAttribute(
                        wdContext.currentContextElement().COUNTRY);
              ISimpleTypeModifiable countryType =
                   countryInfo.getModifiableSimpleType();
              IModifiableSimpleValueSet countryValueSet =
                   countryType.getSVServices().getModifiableSimpleValueSet();
              for (int i = 0; i < wdContext.nodeCountries().size(); i++) {
                   IWDNodeElement CountryNode =
                        wdContext.nodeCountries().getElementAt(i);
                   String countryKey = (String) CountryNode.getAttributeValue("Land1");
                   String countryText =
                        (String) CountryNode.getAttributeValue("Landx");
                   countryValueSet.put(countryKey, countryText);
    This coding is working, I am able to populate the dropdowns. The problem is the application is slow.
    I am guessing this much coding is not necessary in the view conroller's wdInit method.
    Why the binding approach like mentioned below is not working (model>Conroller>View)? How should I execute the RFC in the wdInit of the component controller? Is this possible?
    wdInit of Component Controller: Below coding and proper binding is not sufficient to populate dropdowns? Please advice.
         Zhr_Ess_Address_Input ReadInput = new Zhr_Ess_Address_Input();
              wdContext.nodeZhr_Ess_Address_Input().bind(ReadInput);
              try {
                   wdContext
                        .currentZhr_Ess_Address_InputElement()
                        .modelObject()
                        .execute();
                   wdContext.nodeOutput().invalidate();
              } catch (Exception e) {
                   logger.errorT("Error Reading the BAPI");

Maybe you are looking for