WebDynpro for ABAP Vs Java

Hi all,
I have recently  started learning Web Dynpro for ABAP.
I have worked in WebDynpro for Java.
1)I wanted to understand pros and cons of WebDynpro for   ABAP and Java.
2)What are the functionality that are available in Web Dynpro for Java but not in Web Dynpro for ABAP.
3)What should be preferred when considering performance issues - WD for ABAP of Java?
Any Web Log or Link in this context will be helpful.
Thanks a lot,
Rashmi

Hi,
OOPs ABAP uses Classes and Interfaces which uses Methods and events.
If you have Java skills it is advantage for you.
There are Local classes as well as Global Classes.
Local classes we can work in SE38 straight away.
But mostly it is better to use the Global classes.
Global Classes or Interfaces are to be created in SE24.
SAP already given some predefined classes and Interfaces.
This OOPS concepts very useful for writing BADI's also.
So first create a class in SE 24.
Define attributes, Methods for that class.
Define parameters for that Method.
You can define event handlers also to handle the messages.
After creation in each method write the code.
Methods are similar to ABAP PERFORM -FORM statements.
After the creation of CLass and methods come to SE38 and create the program.
In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
see the links below, Understand them and start developing.
chk out the links below:
General Tutorial for OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
Have a look at these links for OO ABAP.
http://www.sapgenie.com/abap/OO/
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
SDN Series:
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Basic concepts of OOPS
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
http://www.henrikfrank.dk/abapuk.html
http://www.erpgenie.com/abap/OO/
OOPS in ABAP
oops consept in abap
ABAP with OOPS
http://www.abap4.it/download/ALV.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
http://www.erpgenie.com/abap/controls/alvgrid.htm
OOPS with ABAP
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=37566
/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
http://www.sapgenie.com/abap/OO/
Regards
Srinivas.K
Message was edited by:
        Armin Reichert

Similar Messages

  • Possibilities Web Dynpro for ABAP versus JAVA

    Hello,
    I would like to know whether WebDynpro for ABAP and Java have the same options, abilities and possibilities. e'm I able to produce the same results with WebDynpro for ABAP as Java. I would like to standardize on just one of the two and be sure that it will to limit me later.
    Thanks in advance.

    Hi Maurice,
    If you make have to make a choice you have to consider the followings:
    - Which release do you have? Java version is available since 6.30/6.40, the ABAP only as of 7.00.
    - Performance. If you have your WD4ABAP and backend (eg ERP) in the same system you gain a lot of performance
    - Other small difference, that Java version has a much nicer graphical editor, which I miss from the ABAP version
    These are, which came to my mind.
    Best regards,
    Peter

  • 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

  • IS Webdynpro for ABAP/JAVA is same?

    Hi Friends,
    I'm a SAP technical consultant. I would like to learn webdynpro for ABAP. Can anyone of you tell me webdynpro for ABAP and webdynpro for JAVA are same? with webdynpro for ABAP Can we acheive what we can do with webdynpro for JAVA?
    Thanks in advance,
    venkat.

    hi,
    Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
    The Web Dynpro model is based on the Model View Controller paradigm, and has the following features that build on the classic dynpro model:
    ·        Clear separation of business logic and display logic
    ·        Uniform metamodel for all types of user interfaces
    ·        Execution on a number of client platforms.
    ·        Extensive platform independence of interfaces
    Web Dynpro is available both in the Java and the ABAP development environment.
    Web Dynpro for Java
    http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11

  • 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

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

  • Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP

    These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
    Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
    Regards,
    Mark

    Hi Mark,
    Check this out :
    https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
    Go to section :
    Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
    and for the ABAP WebDynpro :
    SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
    I managed to make it work in my internal sytem.
    Goodluck.
    Cheers,
    Danny

  • Display HTML code in WebDynpro for ABAP

    Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page.
    I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    Thanks

    >I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    I'm a little bit confused by this statement. Do you mean you found a thread in Web Dynpro Java, perhaps?
    Regardless the approach is possible using the iFrame UI.  The warning about the iFrame is that it is deprecated in NetWeaver 7.0 and 7.01 and my not be usable depending upon your support package level. However in NetWeaver 7.02 the iFrame returns to fully supported status.
    If you have the HTML content in a string, you can simply place it into the ICM cache.  This will provide a temporary URL for the content (you supply the lifetime of the URL) that can be referenced via the iFrame URL or even the LinkToURL if you want to open in a new window.
    Here is the code for placing the string into the ICM Cache:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
      try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
          cached_response->set_cdata( lv_html_text ).
          l_app_type = 'text/html'.
    cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
      cached_response->set_status( code = 200 reason = 'OK' ).
      cached_response->server_cache_expire_rel( expires_rel = 60 ).
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate '/sap/public' '/' guid '.' 'html' into lv_iframe_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = lv_iframe_url
                                           response = cached_response ).
      wd_context->get_element( )->set_attribute(
        name =  `IFRAME_URL`
        value = lv_iframe_url ).

  • Is DD/MM/YYYY supported in webdynpro for abap application

    Hi All,
    We are using 2 different time statements one developed in webdynpro for java and other in webdynpro for abap.date format in java is DD/MM/YYYY but in webdynpro for abap is DD.MM.YYYY.
    is DD/MM/YYYY supported in webdynpro for ABAP application or even if user enters DD.MM.YYYY can we convert that to DD/MM/YYYY so that we will maintain uniformity in both the applications
    Thanks
    Bala Duvvuri

    Hi Bala,
    We can convert the date before saving ,even if the user enters the date as dd.mm.yyyy  as mentioned below.
    DATA: lv_indicator type XUDATFM .
    CALL FUNCTION 'ISH_GET_USER_DATE'
      EXPORTING
        USER_NAME         = SY-UNAME
      IMPORTING
        DATE_FORMAT       = lv_indicator .
    CASE lv_indicator.
        WHEN '1'.                                        " DD.MM.YYYY
          CONCATENATE p_date6(2) '.' p_date4(2) '.'
                      p_date(4)
             INTO p_result.
        WHEN '2'.                                        " MM/DD/YYYY.
          CONCATENATE p_date4(2) '/' p_date6(2) '/'
                      p_date(4)
             INTO p_result.
        WHEN '3'.                                        " MM-DD-YYYY.
          CONCATENATE p_date4(2) '-' p_date6(2) '-'
                      p_date(4)
             INTO p_result.
        WHEN '4'.                                        " YYYY.MM.DD
          CONCATENATE p_date(4) '.'  p_date+4(2) '.'
                      p_date+6(2)
             INTO p_result.
        WHEN '5'.                                        "YYYY/MM/DD
          CONCATENATE p_date(4) '/'   p_date+4(2) '/'
                      p_date+6(2)
             INTO p_result.
        WHEN '6'.                                        "YYYY-MM-DD
          CONCATENATE p_date(4) '-'  p_date+4(2) '-'
                      p_date+6(2)
             INTO p_result.
      ENDCASE.
    Regards,
    Lakshmi.

  • WDA: TreeByNestingTableColumn and ALV in webdynpro for ABAP

    Hi,
    1) I am trying to implement a tree with nested structure and multiple columns. I am using RecursionNode in the context and UI element TreeByNestingTableColumn. I am not able to figure out how to make a distinction between the key and parent key. In TreeByKeyTableColumn, we use key and parent key to differentiate. Is there any link which explains how to implement TreeByNestingTableColumn in Webdynpro for ABAP? (I got a link for webdynpro for java though).
    2) Can ALV be used to implement a tree structure instead of using Table with TreeByNestingTableColumn or TreeByKeyTableColumn? Then I would be readily able to use ALV features like sort etc. If it can be used is there any link which explains how to do it in Webdynpro for ABAP?

    Hi Srinivasa,
    I can answer the first point. If you use a recursive node and TreeByNestingTableColumn, there is no need to have a rowKey and parentRowKey, since the recursion with the context already defines the hierarchy. As far as I know someone posted a blog that explains how to use the TreeByNestingTableColumn in Web Dynpro Java. I don't have the link available, but this blog would be good place to start. The implementation in WDA and WDJ is pretty much the same here.
    Kind regards,
    Thomas

  • Webdynpro for abap and single sign on

    I have developed application using webdynpro for abap and it is working fine. The problem is we can not get sso working . i.e. even though we configure SSO but still getting the screen asking to login into
    sap web application server again
    This is the 1st wda we have developed and not sure whether we can apply SSO with wda as it is find with webdynpro for Java. The basis team has gone thru all the configurations and could not understand why it did not work.
    Thank you in advance.

    Thank you for your quick response.
    1. Is the portal certificate added to Backend ? - yes
    2. Is the Backend and Portal in Same Domain ? - yes
    3. Are you accessing the Portal using FQDN ? - No, we use web dispatcher to redirect. But the same result if we access Portal using FQDN.

  • How to integrate WebDynpro for ABAP application with SAPEnterprisePortal7.0

    Hi WebDynpro for ABAP Experts,
    We developed an WebDynpro for ABAP application on R/3, and now we are planning to show this as an iview on SAP Portal EP7.0 (SAP j2EE Engine--Java stack). is it possible to integrate this application with portal?
    If so can you proviode me the way how can we achieve this?
    ADV Thanks
    Regards
    Phani

    Hi Alex,
    Thanks for your response.
    I already created the system object R/3 Backend.
    Actually some WebDynpro java applications/iViews are currently running on Portal. and the developers developed these in NWDS and deployed the .sca files on the Portal server and we created Webdynpro for java iViews.
    but now the requirement is creation of webDynpro for ABAP views.
    The developers developed  WebDynpro for ABAP on the R/3 system. So what are the parameter values we need to give at teh time of creation of  WebDynpro for ABAP iview like the Namespace, Application name etc which are mandatory values and how the Portal server detects the application, this means no need to deploy the application on the Portal server?
    Shall we need to maintain any JCo Destinations or not?
    Pl share your ideas.
    ADV Thanks
    Regards
    Phani

  • New to Webdynpro for ABAP

    Hi Experts,
    I am working in Webdynpro Java and Portal Administration for the past three years.
    I am very much interested in learning Webdynpro ABAP.
    Please let me know what are the skills (in ABAP language especially) i need to know for working in
    Webdynpro ABAP. What are the scopes in the coming days for Webdynpro ABAP.
    Thanks a lot.

    Dear Srini,
    Welcome to Web Dynpro for ABAP forum!!!
    Webdynpro ABAP is mainly for developing webapplications in ABAP.
    WDA includes all the three things i.e. Programming, UI design & Settings (configuration).
    As you said you have good experience of 3 yrs in Java. Try to gain some knowledge of ABAP Objects (OOP). It will be helpful to you.
    There are lots of threads are available.
    Plz chk the below links:
    [http://help.sap.com/saphelp_nw04s/helpdata/en/de/408e41392fb85fe10000000a1550b0/frameset.htm]
    [Advantages of WDA|Advantages of Webdynpro for Abap?]
    [Adv & pitfalls of WD4A|Advantages and pitfalls of WD4A]
    Hope this will Helpful.
    Regards,
    Anita Vizhi Arasi B

  • How to WebDynPro for ABAP?

    Hi,
    I don't know if I am posting on the right forum, if not please let me know where to post. And I thank you in advance for answering my question.
    I am a ABAP programmer for past few years and just out of interest I want to learn WebDynpro ABAP skill. What tools do I need to learn/work on webdynpro for ABAP? And if you could please recommend any books available to quickly learn WebDynPro for ABAP.
    At my work place they already have NSWD 70 but I heard it is more for webDynpro JAVA.
    thanks,
    Soumya.

    Hi Soumya,
    You have to post this forum in Application Server » Web Dynpro ABAP.
    Refer this thread to start with Web Dynpro ABAP : Re: Web Dynpro ABAP step by step guide for sample applications
    There are many blogs, tutorials on SDN for Web Dynpro ABAP.
    Regards,
    Anand G

  • Do we need to be in unicode to use webdynpro for abap in ECC6 ?

    Hello,
    we study migration to SAPR3 46C SR2 to ECC6.
    a question is: Do we need to be in unicode to use webdynpro for abap in ECC6 ?
    Our SAPR3 are in non unicode
    thanks

    The problem, if you backend system is not unicode, can be, that user with the browser accessing the Webdynpro page, can enter data of any codepage (because browser is Unicode), the data will then be stored with a wrong codepage in the system and will be destroyed.
    Additionally all successor versions of ERP will be Unicode only.
    And on top of that, if you plan to use Java components (such as a portal), the backend must be Unicode (see Note 975768 - Deprecation of Java features with non-Unicode Backend).
    Markus

Maybe you are looking for

  • Special Characters in Oracle

    Hi, We have a requirement where we need to load data into Oracle . We are creating a CSV file and loading data to Oracle tables using SQL Loader scripts. There are certain records in the CSV Files that have special characters. For example 20°/ 60°/ 8

  • I want to access my apple address book thru Outlook, I want to access my apple address book thru Outlook

    How do I access my contacts when using Outlook on my Imac?

  • Ipod 4g goes black out while playing games

    i dont know whether you guys have experinced this but my ipod 4g goes black out while playing some games. its like when im playing games half way, the ipood will auto close the app that im playing. Does this means that my ipod is having problem? Btw

  • Long runnning IDOC Archiving jobs

    Hi Techies, Long runnning IDOC Archiving jobs: ARV_IDOC_WRI* are being observed in PRD system with Avg runtime > 150,000 sec. Job Details: Main Program: RSEXARCA Parameter: IDOC ALL MONTH These jobs are also resource consuming & extensively using CPU

  • Enhanced CD features/Macromedia Director Problems...

    Ok, so I know this isn't an iDVD question, but it seems that the program is 'sort of' similar (you know, creative, arty, techy, etc). So don't mad because it's a little off topic My band is completing post-production on our EP and we'd like it to be