F1 help in webdynpro for java

Hello Exports,
I wish to implement F1 help for fields on webdynpro page. Is this possible in webdynpro for Java? Any kind of reference in this regard will be useful.
Best regards,
Nakul

Hi
You can use and implement the FunctionKey UI Element in  WebDynpro. Find the below link to know about that.
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/f6/bff640fa4b8631e10000000a1550b0/frameset.htm|http://help.sap.com/erp2005_ehp_03/helpdata/EN/f6/bff640fa4b8631e10000000a1550b0/frameset.htm]
Thanks
Suresh

Similar Messages

  • Charts creation with Webdynpro for Java

    Hello everyone,
    I am really new to SAP technologies and I have to create charts showing statistics for an application based on CE 7.1 and Webdynpro for Java.
    I would like to have some inputs about the best way to achieve this, I saw it exists a business graphics UI and flash islands to use flex with webdynpro.
    Thank you for your opinions
    Regards,
    Joh

    Hi Johann,
    Please refer to this link might help for your requirement:
    [Click Here|http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproforJavaDemo+Kit]
    Hope it helps
    Regards
    Arun

  • 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

  • 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

  • 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");

  • Creating a multi level views in webdynpro for java

    Hi,
    My requirement is i need to create a webdynpro application with 3 screens .
    first screen will be a search screen for example with first and last names fields .so when i give search criteria it will display the search results in the second screen below the first screen(search screen) and some of the fields in the result screen wil have a hyperlink so when i click on that it will display the details of that row in the details view below that results view
    in simple terms
    search screen
    results screen
    detail screen
    please let me know the way to develop this kind of application in webdynpro for java
    points will be rewarded for the helpful answer.

    Hi Bala,
                Here you have two options.
    <b>I. Display all views at one time:</b>
    Open  Navigation Modeler,
    Create  a <b>ViewSet</b> with properties column 1, rows 3.
    1. In the tool selection list, select Embed View.
    2. In the layout area of the Navigation Modeler, click on the cell of the view set in which the view is to be embedded.
    3.In the wizard, choose Embed New View and, in the next window, enter a name for the view.
    4.Use the package that you entered for the component definition or select another package by choosing Browse.
    5.Choose Finish.
    Create 3 views with names search screen,results screen and detail screen.
    Use plugs to navigate.
    <b>II. Display one view at a time:</b>
    Create a main View. Insert <b>ViewContainerUIElement</b>
    Open  Navigation Modeler.
    1. In the layout area of the Navigation Modeler, click on the cell of the <u>ViewContainerUIElement</u>.
    2.In the wizard, choose Embed New View and, in the next window, enter a name for the view.
    3.Use the package that you entered for the component definition or select another package by choosing Browse.
    4.Choose Finish.
    Create 3 views with names search screen,results screen and detail screen.
    Use plugs to navigate.
    You can use <b>visibility</b> property also as another option to show/hide the views in both of these.
    regards,
    Siva

  • 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

  • Books and Documentation on Webdynpro for Java

    Hi,
       I'am planning to start developing Webdynpro for Java applicatios.I know only Core java and iam not familiar with J2EE.I need some help on this.Any books on webdynpro for java basics and any documentation avail and prerequisite befor going to strat developing Webdynpro for JAVA
      Can anybody please give me suggestions on this.
    With Regadrs
    Praveen

    What is Webdynpro?
    What is Web Dynpro?
    Webdynpro Sample Applications and Tutorialshttps://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 [original link is broken]
    Basis 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
    Web Dynpro Sample Applications and Tutorials:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d [original link is broken]
    http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
    Check the following thread u can get lot of materials,
    WeB Dynpro Documents
    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?
    Why webdynpro and not BSP or JSP?BSP to WEB Dynpro
    BSP to WEB Dynpro
    Benifits of using Webdynpro Benifits of using
    Webdynpro
    Java vs. ABAP WEbDynpro Java vs.
    WebDynpro ABAP
    regarding Java related webdynpro
    Regarding Java related Web Dynpro vs. Struts - a few questions
    Web Dynpro vs. Struts - a few What kind of applications are being developed with Web Dynpro?
    What kind of applications are being developed with Web Dynpro?
    http://www.sappro.com/downloads/OptionComparison.pdf
    Hop this will helpful for u..
    Urs GS

  • Retrieve already deployed webdynpro for java source code from portal server

    HI ,
       We have webdynpro for java apllication already deployed on the J2EE server.  We found the ear file related to this application.  But I am not able to make any changes to the ear file in NWDS as it cannot be directly imported into NWDS.  We do not have NWDI for software logistics and the resource who built the WDJ application has left the company.  Is there any way that I can retrieve the complete source code of the application from the portal.  I need to make some changes to Webdynpro component and its view.  I have worked with basis team to retrieve the ear file from portal server.  But I could not make any progress just with the ear file.  Thank you for your help in advance
    Regards,
    KMM.

    You are probably breaking some license agreement by de-compiling the content of the 'war' files. Why not ask the people who provided the 'war' file if you could have the source and build system.

  • Start to learn WebDynpro for Java Development

    Hy @all,
    i want to learn WebDynpro for Java. What expirences do you have? How i can start to learn first the fundamentals?
    Java is not completely new, I develope some programms in C# before.
    I buy the following books: WebDynpro for Java and Java Programming with SAP Netwaver....
    thx
    Micha

    Hi, Michael,
                      First and formost, Welcome to the amazing world of WD Java. Since you have some experience with C#, coding will not be a mammoth task for you. As per, basic concepts of WD Java are concerned, you can refer the following Link:[Concepts Of WD Java|http://help.sap.com/erp2005_ehp_04/helpdata/DE/14/c897427f18d06ae10000000a155106/frameset.htm]
    To try your hands on WD Java, there are few sample applications that you can refer:
    [Sample Applications WD Java|/docs/DOC-8061#61 [original link is broken]]
    I hope this solves your issue, if you are looking for something else, please revert. I'll be happy to help you.
    Cheers!!!
    Umang

  • UWL and webDynpro For Java

    Hi
      Experts
        I am making webDynpro application in which I have to give a form with in UWL of Portal.In that one form will be appear in user 's UWL and if it clicks on <b>ok</b> then all data will be get saved and this form will be go to another user 's UWL for cross checking the input and go on.. till HOD.
    Is this possible? How can I Make It?
    I have only knowledge of webdynpro for java.
    (Don't know anything of ABAP)
    Please Help Me.....
    Regards
    Sunny.

    Hi
    Some useful links are
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm">help.sap.com/saphelp_nw04s/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/259865cb-0701-0010-9a9e-d156765ec089">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/259865cb-0701-0010-9a9e-d156765ec089</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/da/a680415dc6050de10000000a1550b0/content.htm">help.sap.com/saphelp_nw04s/helpdata/en/da/a680415dc6050de10000000a1550b0/content.htm</a>
    Thanks
    SMitha

  • Changes in Webdynpro for Java MDM appl for Italian

    Dear Expert,
    I came across one requirement in my project where in we have to rollout our existing MDM applicaiton in Italian. The current code is working very fine in English but now we have to modify our code to work with Italian as well.
    In our SAP landscape the Vedor/Master is created from the Portal(Customized Webdynpro for Java code). I got following document on this requirement but i want some more guidense on this...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e8aedc-cdfe-2c10-6d90-bea2994455c5?quicklink=index&overridelayout=true
    Thanks and Regards,
    M.D.Sahu

    Just giving you few more detail about my issueu2026.
    For a multilingual text field I have written the code like below u2013
    MultiregionValue multiregionValue = new MultiregionValue();
    multiregionValue.setValue(Region_Properties.getRegionCode(),new StringValue(wdContext.currentRequestInformationElement().getMDM_CITY()));
    NewRec.setFieldValue(FID_MDM_CITY,multiregionValue);
    Which is working fineu2026.
    But the following code for multilingual Lookup field is not working..
    LookupValue lookUpValue = new LookupValue(wdContext.currentAccountGroupElement().getId());
    multiregionValue.setValue(Region_Properties.getRegionCode(),new LookupValue(wdContext.currentAccountGroupElement().getId()););
    NewRec.setFieldValue(FID_AccountGroup,multiregionValue);
    I am getting following error while running this codeu2026
    Can not set value of type 'LOOKUP' to MultiregionValue of type 'STRING
    Please help to get it resolved.

  • RE:(URGENT)WebDynpro For Java

    hi all,
    I have done an application in webdynpro for java that i.e accesing a java Bean by creating a model.
    In my model i have taken three variables i.e a,b,c
    after that i have exported the jar file of that bean...and i have created model in my webdynpro application.
    in that model i have taken that jar file and i have taken in used model to....
    After that in  diagram view of the webdynpro componnt i have mapp that model to cntroller and from controller to the view after that i am able to use the three variables from the bean as my context attributes.....
    so i have binded those attributes(from Bean) to inputfields in view layout....
    so after that when i have deployed the webdynpro application the input fields are getting disabled so iam not able to give any values....
    and when iam clicking the submit button the error iam getting is null pointer exception....
    even i have tried with different cardinality values of that node ......but my problem was not solved so plz help me out in solving this issue as soon as possible.............

    HI Mahesh,
    If you have mapped variables correctly then check following
    Your variables a,b,c wherever you declared them instantiate them.
    and be sure that that getter setter methods are exist.
    e.g if a,b,c are in your bean file then
    as a = new a's class,
    and check getter methods for a
    i.e. getA() and setA(a's class) methods.
    after this export as jar and use this new jar to create model.(It will be good if you create a new model deleting prv one)

Maybe you are looking for