ABAP RFC Validations in WebDynpro for Java

Hi All,
Any idea how I can handle ABAP validations in WebDynrpo for Java. For example, there is a standard BAPI for (MM01), howare the validations and ECC Configurations (as in plant data etc) shown in WDJ. Do they also come as some drop-down or search help etc?
Thanks,
Vamshi

Dear Vamshi,
In broad terms this is what you will need
1) you need to configure JCOs (that is if they are not configured already)
2) you need to implement the necessary MODELS for your WD for JAVA. These models will then be used to retrieve data to and from your RFC.
There's plenty information on SDN on how to implement a MODEL in WD for JAVA.
Here's a nice one to begin with:
[http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-Adaptive+RFC]
Kind Regards
/Ricardo Quintas

Similar Messages

  • How to passing lowercase values to RFC/BAPI using webdynpro for JAVA

    Hi Exerts,
    When we sending values to RFC/BAPI through webdynpro (JAVA), the values are sent in capital (uppercase) letters to ECC.
    So if we fill xxxx, it is send like XXXX. Why? and how to avoid this?
    Thanks in advance,
    Joeri

    Hi,
    There could be two possibility if you are storing this value in ABAP table.
    1. You are entering value in UPPERCASE in your webdynpro application.
    2. The data stored in ABAP table, converts value in small to upper case.
    1.  Can you tell me how you are passing this value, is user entering value in some input field which is binded to some context and this value are you passing to RFC/BAPI...???
    Or else before passing value to RFC/BAPI you can use toLowerCase string function and the npass this value to RFC/BAPI
    e.g String name = wdContext().currentContextelement().getName().toLowercase();
    Now pass this name to RFC/BAPI is should go as lowercase only..
    This is from webdynpro java side..
    2. If you are storing this value in ABAP table, check the domain/type of variable in ABAP table for which you are storing the value. Ask ABAPper, so that this value are stored in small case letter.
    There is one tick in domain which you need to remove so that it stores in lower case. I dont have exact information but you can consult this with ABAPer.
    Hope this information helps guy ..!!!!
    Regards,
    Jigar

  • Comparison between WebDynpro for ABAP vs. WebDynpro for Java ??

    Hi,
       Can someone tell me when should we go for WebDynpro for ABAP and when WebDynpro for Java. Is there any link where SAP recommends the one for the other.
    Thanks in advance
    Regards
    Mukesh

    Hi Mukesh,
    Both are having its own strengths!! )
    I think it all depends on your project requirement and the availabel resources.
    If the developer is good in OOPs ABAP then he must go for Web Dynpro ABAP. But if anyone is good in JAVA then that person should go for Web Dynpro JAVA.
    *In Short almost all Features supported in webdynpro ABAP are also Possible in webdynpro Java.
    1] Webdynpro Java
    Supports,
    webservice
    RFC Models
    Accessing Portal information in Java
    Easy sending E-mail
    Strictly follows MVC architecture which seperate Business logic and Process flow.
    Webdynpro Java is webbased programming model to develop SAP Applications.
    Easy to learn
    Easy to integrate in Enter prise portals.
    Dynanamic Programming
    *Easy access to R/3 Via RFC technology (Models)
    2] Web Dynpro ABAP
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    Hope this helps and solve your Problem
    Cheers,
    Darshna.

  • Any difference between webdynpro for java and webdynpro for abap ?

    Hi all:
       I would like to build one small system in EP.
       I can choose to use webdynpro for java and webdynpro for abap.
       I would like to ask any major difference between webdynpro for abap and webdynpro for java ?
       Is fpm supported in webdynpro for abap ?

    Hi,
    see this thread,
    ABAP Vs JAVA WebDynpro
    Regads,
    J.Joe

  • 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.

  • For ESS which one is better ? (Webdynpro for Java or Webdynpro for ABAP)

    Hello ,
    For developing Employee Self Service(ESS) which one is preffered Is webdynpro for java and webdynpro for ABAP ? Why ?
    What are the differences ?? Please give me clearly.
    Thanks
    Risha

    Hello Olivier  ,
    Thank you  for gvg quick reply.
    For dessert which one is preferred : apple pie or chocolate pudding ?   - I  am not able to decide
    Actually I have requirement for developing ESS in Portal. I am new to ESS and heard presently using WDA for ESS.
    I did't get reasons why using WDA. basically I am from WD for Java.
    If possible give me differences.
    Thanks
    Risha

  • 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

  • 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

  • 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

  • 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

  • What can Webdynpro for java do for CRM 5.0?

    hi  expert.
    What can Webdynpro for java do for CRM 5.0?
    And can I develop PCUI with Web dynpro for java?
    Is it possible?
    Regards bk Kim.

    Srinivas
    A.>
    Basic Question? But can you tell me what do you mean by application framework
    in general?
    B.>
    Also can someone please tell me whats the difference between dynpro and web dyn pro?
    C.>
    Whats the difference between java web dynpro and abap web dynpro
    d.>
    when does one choose to use web dynpro to do the development?what are its
    advantages compared to conventional java development.
    Thanks
    Points will be awarded appropriately

  • Is WebDynpro for Java going away?

    Hi,
    Is SAP planning to completely Switch from Webdynpro for java to webdynpro ABAP? What is the future for Webdynpro for java in that case? Like old ITS technology will SAP completely remove support for WebDynpro for Java development!
    With Regards,
    Nitesh Shelar

    Please refer ht[WD for Java going away??|WD for Java going away??]

  • Webdynpro for Java Edit and Save.

    Dear all,
    ter cal
    iam working on webdynpro for java i want simple code for EDIT and SAVE  after calling a rfc in for using NWDS webdynpro for java.
    1)HOW TO SAVE AND EDIT THE FRONT WEBDYNPRO FOR JAVA APPLICATION
    2)AFTER SAVING AND THE DATA THAT SHOULD BE SAVED IN PA30 ARE PA20 AND IN PARTICULAR TABLE ALSO.
    PLEASE GIVE ME GOOD TIPS.

    Hi Kishore,
    Creating/Updating entries in tables through Bapis (RFC calls) work in the same way as it is done for other Bapis like those for returning values or even structures. All you have to do is
    1. Import the model, create a model node in your context and bind it to the Input structure of the model under used models.
    2.Create an istance of the Model input structure, like
         Z_Test1_Input input = new Z_Test1_Input();
    3. Set attibutes directly under the input structure
         input.setAttr1("XYZ");
    4. Set attributes under any other structure under Input Structure by first creating the instance of the sub-structure
        Z_SubStruct1 subStrc1 = new Z_SubStruct1();
        subStrc1.setSubAttr1("ABC");
    5. Add all available instances of sub-structures to the instance of input structure
        input.set<SubStruct1>(suStrc1);
    6. Add all available instances of tables under Input Structure after setting attributes within using
    for (int iCount = 0; iCount < wdContext.nodeVn_ContactInfo().size(); iCount++) {
          Z_Table1 zTable1 = new Z_Table1();
          IPublic<YourComponent>.IVn_Table1Element tab1Ele = wdContext.nodeVn_Table1().getVn_Table1ElementAt(iCount);
          zTable1.set<TableAttr>(tab1Ele .getVa_Attr1());
          input.add<Table1>(zTable1);
    7. Bind the instance of input structure to the model node.
       wdContext.nodeMn_TestModel().bind(input);
    8. Execute the model object and then invalidate the output structure under model node (Put this code in try catch block)
       wdContext.currentMn_TestModelElement().modelObject().execute();
       wdContext.nodeMn_TestModel().nodeOutput().invalidate();
    9. Retrieve values from the attributes, tables and structures under the Output Node of the Model Node (Mn_TestModel) as usual
    and store wherever in context as required. In case of output tables, you need to use FOR loop to iterate through the tables and access elements within using index (using wdContext.node<YourRequiredNode>().get<YourRequiredNode>ElementAt(int index)).
    Hope it is helpful.

  • Book for webdynpro for java

    Suggest me some good books in webdynpro for java, which are available in india.
    Send me some useful documents also

    <b>Hi
    Check these links and you may get some idea
    What is Web Dynpro?
    What is Web Dynpro?
    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
    Java vs. ABAP
    regarding Java related webdynpro
    regarding Java related webdynpro
    Web Dynpro vs. Struts - a few questions
    Web Dynpro vs. Struts - a few questions
    What kind of applications are being developed with Web Dynpro?
    What kind of applications are being developed with Web Dynpro?
    This url links to a short pdf file describing the Webdynpro Java
    "Inside WebDynpro Java" Pdf File 2.50 MB (54Pages) really Good One for Beginners
    http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
    Regards,
    Chandran</b>

  • Accessing knowledge management documents using webdynpro for java

    Dear all,
    iam having some documnets in KNLOWLEDGE MANAGEMENT documents folder in portal using webdynpro for java clicking on a link means perner(employee no) i should get that perpicular employee number documents.
    examples documents are stored like this in knowledege management folder 20016319.pdf  ,  20016397.pdf  ,  20016398.
    how to access those employee using webdynpro for java for perticular employee number if i want 20016319
    Send me the code for above requirement and where i have to wrirte that code exactly
    Regards

    Dear Kishore,
    To get the Employee ID you have to create a Adaptive RFC Model (call BAPI) which will return you the employee pernr, for this
    1. Create a model using  : BAPI_EMPLOYEE_GETDATA
    2. Get User ID using the code
    public java.lang.String getUserID( )
        //@@begin getUserID()
         String userID = new String();
              try
                    // getting Logged in userid
                   IWDClientUser myUser = WDClientUser.getCurrentUser();
                   userID = myUser.toString().substring(19).trim();
                   StringTokenizer filterdUID = new StringTokenizer(userID,")");
                   userID = filterdUID.nextToken();
              catch (WDUMException e)
                   e.printStackTrace();
                   return userID;
        //@@end
    3. Execute the BAPI
    public java.lang.String getEmployeeID( java.lang.String userID )
        //@@begin getEmployeeID()
         String employeeID = new String();
              Bapi_Employee_Getdata_Input employeeData = new Bapi_Employee_Getdata_Input();
              Bapi_Employee_Getdata_Output outData = new Bapi_Employee_Getdata_Output();
              Bapip0105B comm = new Bapip0105B();
              com.sap.aii.proxy.framework.core.AbstractList list = new Bapip0105B.Bapip0105B_List();
              list.add(comm);
              employeeData.setUserid(userID);
              Calendar cal = Calendar.getInstance(Locale.UK);
              Date date = new Date(cal.getTimeInMillis());
              employeeData.setDate(date);
              employeeData.setAuthority_Check("");
              employeeData.setCommunication(list);
              outData.addCommunication(comm);
              wdContext.nodeBapi_Employee_Getdata_Input().bind(employeeData);
              wdContext.nodeOutput_BAPI().bind(outData);
            try
                   wdContext.nodeBapi_Employee_Getdata_Input().currentBapi_Employee_Getdata_InputElement().modelObject().execute();
                   wdContext.nodeOutput_BAPI().invalidate();
            catch (WDDynamicRFCExecuteException e) {printMsg("Failed to Obtain Employee Data");
                 e.printStackTrace();
            employeeID = wdContext.nodeBapi_Employee_Getdata_Input().nodeOutput_BAPI().nodeOrg_Assignment().currentOrg_AssignmentElement().getPerno();
            return employeeID;
        //@@end
    Hope it Helps!!
    Warm Regards
    Upendra Agrawal

Maybe you are looking for

  • How to change the Existing alias with new alias name...MAXL SCRIPT

    HI Experts I need to change alias name of the existing member with new alias name. please send me maxl code to change the alias name . My thought is 1) Old alias should be replaced with new alias name . 2)There is one account that should be rolled ou

  • Help needed with past exam problem!! Referencing an array.

    /*Write a segment of code that takes as its input an integer value for a sum of money in cents. The program should return a list of notes and coins required to make up the sum of money. The following run time display helps explain what is required. A

  • Check payment element

    we have one check payment, we assign form Z_check for the payment method, we already run one check payment and submit to the bank but in payment log, we find error: it says in form Z_check/window MAIN, the element 315-Y (text-Y) is missing, but as I

  • Urgent, creating xml files dynamically, request dispatcher problem

    hi all, Problem 1: There is a problem we are facing, while request dispatching. The files CBECBC.XML & CBECBC_Envelop.XML, both xml files. These files are created on request from the user, dynamically, and displayed on the browser, by including them

  • Index creation time

    Hi, Could anyone point me in the right direction? How much time would it take to create new index on a column in a warehouse table containing 1.3 million records? Does creating unique index take more time?