How 2 connect webdynpro for java to R/3 system

could any one tell me . how 2 connect web Dyn pro for java to connect to R/3 system????

Hi,
Pls check threads like
Read R/3 table in Webdynpro
Changing R/3 data in webdynpro
or go via Jco
http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm
JCO
Eddy
PS. Reward useful answers and earn points yourself

Similar Messages

  • How to access(connect) BI Data in webdynpro for java applications

    Hi ,
    is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer.
    if not how to integrate the BI data in webdynpro applications ?
    Regards,
    Govindu

    Hi,
    Yes there are ways to do it. But may your scenario and the scenario for which I have done may differ.
    You can use openhub to get the data in a flat file and then read it into weddynpro through a java service OR
    You can use DBlink(which i have done).
    Please refer the link below:
    [Link|Data from BW to Oracle.;
    This I have done in NW04s. Not sure whether a better solution is available in the newer release.
    Hope it helps.
    Regards,
    Manoj

  • Problem in connecting to database from webdynpro for java

    Hi
    I have a problem in connecting to database from webdynpro application
    I am using oracle 10 express edition as database and was able to connect to database from a java application.But  was unable to connect from a webdynpro for java.
    <b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
    Do i need to make any settings in the visual admin to make it work?
    How to solve this problem.Please give me pointers
    Thanks
    Bala

    Hi,
    For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    In case you want to fetch data through ejbs, these are the steps to be followed :
    1) Open the J2EE perspective
    2) Create an EJB Module project
    3) Right click on ejbModule, create a new EJB (select your EJB type)
    4) While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6) Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7) Create an Enterprise Application project.
    8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9) Right click on the EJB project, select ‘Build EJB Archive’
    10) Right click on the EAR project, select ‘Build Application Archive’
    11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    • Java Build path - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    • Project references – select the EAR project
    • WebDynpro references – select ‘sharing references’ tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
    Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
    MyEJB mybean = home.create();
    int a = 0;
    a= mybean.add(10,15);
    wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Extracted from Re: Webdynpro and Oracle
    http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    Regards
    Ayyapparaj

  • How to start to work on MDM JAVA API by using webdynpro for java

    Hi all
    I have basic idea on MDM business package thru portal by using standard iViews.
    now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
    1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
    2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
    3)  is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
    4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
    if anybody helps on the same then it is the great help to me.
    points are always rewardable...
    Regards
    Suresh babu

    Hi Suresh,
    You can have the MDM JAVA API javadocs from the link
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
    You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
    Right click on project-> properties->Java Build Path - > Add external JARs
    At run time you can add them the reference in
    Right click on project-> properties->web dynpro references->library reference.
    Thanks
    Namrata

  • How can I read cookies in WebDynPro for Java

    Hi,
    in WebDynPro for Java I found a possibility to to get a "request-object" like the standard "HttpServletRequest-object"
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    debugEnabled = (request.getParameter("Debug") != null);
    With this request-object I can read request-prameters but I couldn't find a possibility to get cookies from the request.
    There is no method like the "getCookies().method" in the HTTPServletRequest-Interface:-((
    Has anybody an idea, how I can read cookies in WebDynPro for Java ?
    Regards
    Steffen

    Hi,
      This is the latest update I could look for regarding cookies and webdynpro.
    Panic - WebContextAdapter is depracted - no more cookies now?
    Regards,
    Harini S

  • 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

  • How to use BAPI in webdynpro for java application

    Hi all,
    Please help in getting started with calling a BAPI in a webdynpro for java application. I have got only the content needed to call a BAPI in a webdynpro for abap application but not in java. Kindly provide me some documents if possible.
    Thanks in advance

    Hi ,
    U have Created One Bapi u want to work with web Dyn pro for java Application Right .
    U need the Following
    1) NWDS (Netweaver Devloper Studio )
    2) jdk1.4 or Above installed in your system .
    After Installation of NWDS .
    1) Just Take J2EE Enginee Details
      a) Go to Window -> preferences  -> J2ee Enginee - > give ur port number , Host name Details . and click finsh .
    Go To Web Dyn Pro Perspective Click onj2EE engine .
    Click On Refresh U will see Green Colour button .
    Now ur Ready to import Ur BAPI .
    1) Go to File -> New -> Project - > Web Dyn pro Project -.
    Give Name , pkg Name Click On Finish .
    2) Expand ur project hirarchy -> go TO Application -> Right Click -> Create Application - > Give Application name and Pkg name -> Click on Finish .
    3) Now ur View And Controller Are Created by Default .
    4) Go to Model-> Right Click on it-> Create Model -> Give Model Name & Pkg name Should diff from Application pkg the Click On Next
    a) Here u have to Two JCo Destination Name Like Model Data And Meta data & R/3 System Details like System Number , Host name  Etc -> then Click on next .
    b) Here u will text filed where u want to search for ur Required BAPI . Type ur BAPI Name Click on Search . Ur bapi will be displyed In Down . click on Next .
    c) Now Ur model is Importedint into NWDS .Map ur model data To Controller and Controller Element to View Elements .
    After ur Model .
    Go to -> Project Name -> Right Click -> go to -> Deploy New Archive .
    after wards u have to go Apllication -> Right click -> deploy and Run .
    ur output will be displyed thru Browser .
    Thats it
    Regards ,
    venkat

  • How to learn webdynpro for java/ABAP

    hI Experts,
    i am new to webdynpro technology.
    and i am having the knowlgedge on Portal contenet development&administration,and having the strong knowledge on Visual composer7.0,7.1 and also trined in ABAP(currently i am not useing it).
    now i wants to learn webdynpro for java/abap.
    is it right choice i am taking ? i.e moving to Webdynrpo for java/abap.
    what are the minimun skills i need to be a good webdynpro developer for java/ABAP. ?
    is it requires straong java knowledge since i am not familiar with that too much ?
    please give your valuable inputs
    Thanks&Regards,
    Govindu

    SAP uses Webdynpro to build portal content, which later will be configuted as an Iview in the enterprise portal. Webdynpro comes with Java and ABAP flavors. Both have in general the same functionality,the decision for one of the two flavors shall be based on organizational and business circumstances, but not on functionality.
    If you are good in ABAP go with ABAP Webdynpro, if you are good in JAVA, go with JAVA Webdynpro. But you will get good opportunities in JAVA Webdynpro compare to ABAP Webdynpro.
    Thanks,
    Chenna.

  • How to use spellchecker in webdynpro for java

    Hi
    I need to add the functionality for spellcheck in webdynpro for java...
    Plz help
    Regards
    Dibya

    Hi
    What exectly you want to check(is there any letter drafting / mail functionality in wd dynpro ?)
    Webdynpro itself doesn't have this feature but you can try a workaround .
    1. Use API in External Library project ([Spell check API|http://sourceforge.net/projects/jazzy]).
    2. use this DC in WD component , now when ever user writes , iinvolve this API's method to check.
    (Its  a workaround you have to to the R & D).
    Best Regards
    Satish Kumar

  • ESOA & Webdynpro for Java.

    Hi ESOA gurus,
    I am working on Webdynpro for Java,Enterprise Portal.I would like to know how ESOA is related to me.
    Going forward if i want to Work on ESOA what are the prerequistics.
    Reward points will be awarded for suitable answer.
    Thanks in Advance,
    Lina.

    Hi Lina,
    Please go through this link. I this will be helpful for you.
    http://www.sercononline.com/suntechnovate07/images/images/13%20-%20Rajiv%20Jain%20-%20SAP.pdf
    What is Enterprise SOA and Enterprise SOA?
    SOA is an increasingly popular concept. But it never really took off, because there has been no standard middleware or application programming interfaces that would allow it to take root. There were attempts to build them, then Web services came along and gave it a boost. The Web services underlying architecture dovetails perfectly with the concept of Enterprise SOA —so much so, in fact, that some analysts and software makers believe that the future of Web services rests with Enterprise SOA. SAP came up with the startergic decision on coverting the Webservice methodolgy to Enterprise Services Methodology "Which would have business semantics attached as capability".
    So how does EnterpriseEnterprise SOA differ from Web services?
    Most Web services implementations are point-to-point, where you have an intimate knowledge of the platform to which you're connecting. The implementation is fairly solid and the interface doesn't really change,. That means that the Web service is not made available publicly on the network, and cannot be "discovered" — in a sense, it's hard-coded in the point-to-point connection. In an Enterprise SOA implementation, information about the Enterprise services and how to connect to it is published in a UDDI-built directory, and so that Enterprise service can be easily discovered and used in other applications and implementations.
    Why use Enterprise SOA?
    A number of factors are driving the move toward Enterprise SOA. Cost savings is one. If you can reuse services you've already built, then you don't have to spend as much time and money developing new applications. Another factor is the increasing success of Web services. As companies build more Web services, unless they have an overarching architecture. For example, what happens when one of those Web services has been incorporated into other applications, but then the Web service is changed without telling developers of those applications? An overall architecture needs to be built to make sure that doesn't happen. Perhaps most importantlyis that an Enterprise SOA "increases a business's flexibility and lets it more quickly adapt to changing business needs." Most Web services are being used primarily "to solve point-to-point integration problems." But these solutions "can't solve the larger integration problems in converting hundreds of systems" to an overall, single enterprise architecture. For that, SAP Enterprise SOA is needed.
    But while the basic Web services architecture fits neatly into the Enterprise concept, there are still roadblocks to setting them up. Notable among them, Is security, identity management issues, and management problems — having software that will be able to track and manage hundreds or dozens of Web services and their development and deployment. SAP Software is just becoming available to do that. On the security side, the issues still haven't been solved.
    Reward points if useful.
    Cheers,
    Swamy Kunche.

  • 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

  • Flex with webdynpro for java using Flex Island

    Hi Friends,
    I am on Netweaver/SAP Enterprise Portal 7.0 SPstack12, I am developing UI for BI reports using VC, I am interested in developing UI using flex and want to integrate those apps with EP, I came to know flux Island supports flux with webdynpro java,  basically I am a webdynpro for java developer, I want to develop flux applications with webdynpro for java in NWDS. And i want to know how to use Flex Island with webdynpro for java. So could u please post some useful links.
    Thank in advance
    Regards
    samba

    Hi
    If you want to try out using ADOBE Flash Islands with WDJ, you would need to download SAP CE 7.1 EhP1 trial version, if not done so already.
    The following link may help you in building the WDJ component with Flash Islands..
    The specified item was not found.
    If you donot want to develop the Flex project you can download the .swf file provided by the SAP mentors:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163
    Thanks.
    Chitrali

  • Problem in Uploading excel file using WebDynpro for Java

    Hi  All
    I have followed for Uploading excel file using WebDynpro for Java added by  Tulasi Palnati
    I done all, but I'm getting 500 Exception please contact u r system admin meag  at run time also  Jxl/Workbook class not found msag  but i downloaded Jxl.jar file and  there is no error signals  in coding part. How can I solve the Problem.
    Thanks
    Polaka

    Please ask the people in the Web Dynpro Java forum for a solution.

  • Reading/Writing .xlsx files using Webdynpro for Java

    Dear All
    I have a requirement to read/write excel files in .xlsx format. I am good in doing it with .xls format using jxl.jar. The jxl.jar doesn't support .xlsx format. Kindly help me in understanding how do I need to proceed on reading/writing .xlsx files using Webdynpro for Java.
    Thanks and Regards
    Ramamoorthy D

    i am using jdk 1.6.22 and IBM WebSphere
    when i use poi-3.6-20091214.jar and poi-ooxml-3.6-20091214.jar  to read .xlsx file. but i am getting following errors
    The project was not built since its classpath is incomplete. Cannot find the class
    file for java.lang.Iterable. Fix the classpath then try rebuilding this project.
    This compilation unit indirectly references the missing type java.lang.Iterable
    (typically some required class file is referencing a type outside the classpath)
    how can i resolve it
    here is the code that i have used
    public class HomeAction extends DispatchAction {
         public ActionForward addpage(
                             ActionMapping mapping,
                             ActionForm form,
                             HttpServletRequest request,
                             HttpServletResponse response)
                             throws Exception {     
                             String name = "C:/Documents and Settings/bharath/Desktop/Book1.xlsx";
               FileInputStream fis = null;
               try {
                   Object workbook = null;
                    fis = new FileInputStream(name);
                    XSSFWorkbook wb = new XSSFWorkbook(fis);
                    XSSFSheet sheet = (XSSFSheet) wb.getSheetAt(0);
                    Iterator rows = sheet.rowIterator();
                    int number=sheet.getLastRowNum();
                    System.out.println(" number of rows"+ number);
                    while (rows.hasNext())
                        XSSFRow row = ((XSSFRow) rows.next());
                        Iterator cells = row.cellIterator();
                        while(cells.hasNext())
                    XSSFCell cell = (XSSFCell) cells.next();
                    String Value=cell.getStringCellValue();
                    System.out.println(Value);
               } catch (IOException e) {
                    e.printStackTrace();
               } finally {
                    if (fis != null) {
                         fis.close();
                return mapping.findForward("returnjsp");

  • 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,
    Abe

    Hi 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 you’ve 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

Maybe you are looking for

  • How can I connect my laptop to my Sony HD Bravia TV

    I would like to connect my macbook pro to my new Sondy AD Bravia LCD 55 inch TV.  How can I do this?

  • Oracle VM 3.1.1 - use local sas on HP DL-580 G5 server

    Hi, I have next question: I want to now if I can use local sas disk as local repositories on HP DL-580 server ? The server use this controller: Smart Array P400i Controller.

  • Need to create a flipbook from an ID CS4 "book" not a document

    I've created a 600+ page coursebook in InDesign CS4 which consists of 15 ID documents. I have put all these (15) documents in an InDesign "book". From this ID "book", how do I make a flipbook. Or from the "book" I create a PDF. How can I create a fli

  • Error in lsamw

    hi, i am getting the error while loading the material with lsmw.in mm01 transaction select views are not comming while loading ,is there any other way to do it. Thanks, Rammohan.

  • How did I get all of these charges?

    I am so sorry I ever downloaded Skype and thought about trying it, navigating the website is like walking through a mine field, Skype tries to get you to fall for all types of hidden charges that unless you unclick and say NO you will be automacally