Break Point in Webdynpro JAVA and SAP

Good Morning.
I am creating a development for web dynpro Java using Function Module RFC in ABAP.
I want know how can put a break point in the system SAP ERP (Backend) and run an application in web dynpro java?
I did this steps:
1.) SE37--->name RFC
2) button Display
3) Set/Delete external Break point.
4) In the SAP Netweaver Developer Studio >Name of project>Webdynpro>Applications>Name Appplication-->deploy new archive and run.
But this not stop.
The question is :
How can do this?
Kind Regards

Hi,
Refer this article: [Debugging ABAP Code from within Web Dynpro Application|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30&overridelayout=true].
I hope it helps.
Regards
Arjun

Similar Messages

  • Webdynpro java and oracle DB connection..

    Hi,
    I have a good knowledge of WD (web dynpro java) projects having ECC as backend as i have done lot of projects where ECC is backend and WD JAVA is front end.
    but in my new project i have wd java as front end but my backend is oracle DB. I want to know how to create/setup  connection betwen webdynpro java and oracle DB, how to proceed on this ? wat all settings I have to do in VA (visual admin) and all.
    please let me know how to proceed on this. Any document/tutorial on this will be very helpful..

    Hi Rahul,
    Create a DataSource to the oracle db in Visual Admin, give the datasource an alias name and connect to the db from WebDynpro by calling the alias name.
    These document might be useful:
    [http://help.sap.com/saphelp_nw70/helpdata/en/c0/3ad4d5cdc66447a188b582aad537d3/frameset.htm]
    [SAP Note 867176|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=867176]
    [SAP Note 941594|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000941594&nlang=E]
    Good luck!
    Regards,
    Aditya

  • Is it possible to un Webdynpro java without SAP EP?

    Hi,
    I have a unique requirement.
    My customer is new to SAP EP / Java Webdynpro.
    He requires Webdynpro components to run without SAP EP.
    In other words, he wants create an ALIAS for Webdynpro component URL which is displayed when we run the component from NWDS and publish the url in web page.
    Even I am not sure whether Webdynpro will work without SAP EP?
    He down't want any SAP EP features such as authentication / role assignment etc.
    Kindly let me know is it possible to un Webdynpro java without SAP EP? how?
    Thanks
    Prabhu.M...

    Hi,
    yes, this should be possible. Nevertheless you need to install WebAs Java. I'll move your thread to WebDynpro Forum.
    Anja

  • Is it possible ? : Webdynpro java without SAP EP

    Hi,
    I have an unique requirement.
    My customer is new to SAP EP / Java Webdynpro.
    He requires Webdynpro components to run without SAP EP.
    In other words, he wants create an ALIAS for Webdynpro component URL which is displayed when we run the component from NWDS and to publish the url in web page.
    Even I am not sure whether Webdynpro will work without SAP EP?
    He don't want any SAP EP features such as authentication / role assignment etc.
    Kindly let me know is it possible to run Webdynpro java without SAP EP? how?
    Thanks
    Prabhu.M...

    Hi Prabu,
      You will get answer for all your question, see through link.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
    Also this might be helpful,
    /docs/DOC-8661#section10 [original link is broken]
    Thanks,
    Arun

  • SAP Portal Network - WebDynpro iView and SAP Application iView sharing

    Hello All,
    I've read about the restrictions in SAP Portal supporting the WSRP standard for application sharing. Mainly WebDynpro iViews and SAP application iViews sharing is not supported. That is in the case of a SAP Portal as producer and Non-SAPPortal as consumer.
    I'm interested in a WebDynpro iViews and SAP application iViews sharing in a only-SAP Portals Network, where SAP Portals act as producer and consumer.
    I've heard about the Remote Role Assignment and Remote Content Copy that are used in such case. I would like to ask if anyone knows if these can help overcome the restriction in sharing WebDynpro iViews and SAP application iViews that is present with WSRP? And if the advantage of WSPR, that is the application execution and rendering on the producer side, and as follows decreasing of bandwidth usage, is remaining in the case of the Remote Role Assignment and Remote Content Copy.
    Thanks,
    Mladen

    Hi Manish,
    for sharing content between SAP and non-SAP Portals, your case, refer to
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/23fb36cad10d23e10000000a1553f7/frameset.htm
    All the possibilities and restrictions of WSPR in the case of SAP EP are explaind there.
    For sharing content between only SAP Portals refer to my other thread:
    Portal Network - Content Sharing
    Hope it helps you!
    Mladen

  • Comparision matrix of Webdynpro Java and Adobe Interactive form

    Hi Experts,
    In our project we have to choose the GUI between Webdynpro Java and Adobe Interactive forms. Can anyone help me out with strong comparision parameter's in order to select the right technology.
    Thank you in advance.

    Hi ,
    Depends on your project requirement : if you project is simple and want to use  less UI controls  then use Adobe Interactive Forms (AIF).
    But In your project needs large number of UI controls and to show huge amount of data then best option is  Web Dynpro Java.
    Web Dynpro provides wide varieties of UI controls for designing your web application . Adobe Interactive Forms have limited controls .
    Web Dynpro take care of your Client side eventing which is not possible in AIF . AIF Developers needs to know Adobe scripting too.
    If your Client data is huge AIF take so much of time to render your content and also this depends on your reader version installed on the end user too . Web Dynpro Java is Client neutral & it won't take much time to render the content.
    Use AIF  to show/process Business data in any Web application. ideally it is not suited for complete GUI of your project  .
    Regards,
    Rakesh Kumar

  • How to move files from one folder to another folder in webdynpro java for sap portal

    Dear Experts,
    I wan to move files from one folder to another folder in SAP portal 7.3 programmatically in webdynpro java.
    My requirement is in my portal 1000 transport packages is their. Now i want to move 1 to 200 TP's into Archive folder.
    Can you please help me how to do in through portal or wd java ...
    Regards
    Chakri

    Hello,
    Do you know what the difference between copying a file this way :
    ** Fast & simple file copy. */
    public static void copy(File source, File dest) throws IOException {
    FileChannel in = null, out = null;
    try {         
    in = new FileInputStream(source).getChannel();
    out = new FileOutputStream(dest).getChannel();
    long size = in.size();
    MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
    out.write(buf);
    } finally {
    if (in != null) in.close();
    if (out != null) out.close();
    ================SECOND WAY============
    AND THIS WAY:
    // Move file (src) to File/directory dest.
    public static synchronized void move(File src, File dest) throws FileNotFoundException, IOException {
    copy(src, dest);
    src.delete();
    // Copy file (src) to File/directory dest.
    public static synchronized void copy(File src, File dest) throws IOException {
    InputStream in = new FileInputStream(src);
    OutputStream out = new FileOutputStream(dest);
    // Transfer bytes from in to out
    byte[] buf = new byte[1024];
    int len;
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    in.close();
    out.close();
    And which is better? I read up on what each kind of does but still a bit unclear as to when it is good to use which.
    Thanks in advance,
    JavaGirl

  • WebDynpro proxy page with Webdynpro iView and SAP Gui for html iView

    Hello,
    I have a requirement to have a page that has at the top of it a webdynpro for java iView screen with several links that when pressed pop-up various data pulled from the back-end. This part is fine and presents no problem. Beneath this the requirement calls for a SAP Gui for HTML iView to be displayed. Which is no problem either. The problem occurs when one of the links in the java webdynpro application at the top of the screen is pressed it causes the SAP Gui for HTML portion to refresh and come back to the beginning. So for example you first navigate to this screen and you go into the sap gui for html portion and drill into 2 or 3 screens in the sap gui for html transaction. If you then press one of the webdynpro links the sap gui for html (which is a separate iView) refreshes and you are taken back to the initial screen. This only occurs when using a web dynpro proxy page. If I use a standard page the SAP Gi for html does not refresh. Unfortunately there are other things not mentioned here that require us to use the webdynpro proxy page.
    Any help is greatly appreciated,
    Bert

    Use System admin -> System Config and find your system in the PCD (under portal content). Right click and open -> permissions. Find a user or group or role and give it the end user permission. I'd suggest the group Everyone.
    Cheers

  • Webdynpro Java and Webdynpro ABAP

    hi all,
    Im working in webdynpro java. Im confused about WD java and WD ABAP. which one we should select for what? And now a days people are telling that SAP is coming up all business packages in WD ABAP. Is it true? Which one is better either WD Java or ABAP?
    Thanks,
    J.Smitha.

    Smitha,
    It's tough question to answer. Which one to choose either Web Dynpro java or Web Dynpro ABAP , it depends on which technology you are comfortable. In relation to the business packages SAP already provided allmost all of them in java and in the future all the Business packages also available in ABAP. It's all how you want to develop the application. In sap portal world some applciation which we can develop with ABAP Web Dynpro and some applications with JAVA Web Webdynpro as SAP Web AS available as dual stack.
    If someone already has a strong ABAP background and has WD for ABAP available they should probably use that. If they are a J2EE developer they should probably use WD for Java but it is likely they will also then need some ABAP support for the backend systems.
    I think more customers may be asking for WD for Java projects simply because it has been around longer and is more widely available to customers where as some cutomers prefer to develop their application using ABAP Web Dynpro because of SAP propritary. But ultimately it's again all our interest and customer.
    Thanks
    Krishna

  • Connection between webdynpro java and ECC.

    Hi experts,
    I am very new to webdynpro java, I want to learn webdynpro java since I know little bit of java.
    So here is my question,
    I want to connect my webdynpro java to ECC  to get data from ECC and display it on front end and as well i want to send data to ECC, can anyone help me to resolve this one.
    Thanks and Regards,
    Santoshkumar.

    Hi Santosh,
    This is pretty basic stuff in the world of Web Dynpro Java - I'd suggest you search SCN, read content on help.sap.com and then come back here with more specific questions.  All anyone can do to answer your current question is search for you and post links to documents that you could find for yourself.
    Cheers,
    G.

  • Webdynpro Java and ESS/MSS

    Hello,
    It has been a rumour for a long time and now it seems that SAP will convert all ESS/MSS services into Webdynpro ABAP....so i want to know what's the plan for Webdynpro Java ...? what areas will it be used...? and what are the options for Webdynpro Java Developers....? ...one thing for sure is to learn Webdynpro ABAP...
    Regards,
    Anil

    As far as I know, SAP has changed travel management and HR administraor from WDJ to WDA as of EhP1.
    Do you have any ideas about any other BP?
    Actually, I wonder SAP has been developed any new BP based on WDJ after EhP is introduced.

  • Webdynpro java and EJB integration

    Hi,
    I am new to Webdynpro Java, would require your help in the following area:
    my requirement is I need to read values from oracle database using EJB/Java Beans and display the same using webdynpro JAVA(as user interface).
    Pls suggest the possible solution with required docs & videos(if possible)
    FYI:
    Tools: NWDS 7.0, SAP portal 7.3
    Thanks
    Nag

    Hello Nag,
    there are two possibilities to use your ejb in WD4J:
    1. Via JNDI Lookup
      try {
            InitialContext ctx = new InitialContext();
            <YourEJBInterface Class> service = (<YourEJBInterface Class>) ctx.lookup(<JNDI-Name>);
      } catch (NamingException e) {
            throw new RuntimeException(e);
    2. Via EJB Model:
    here a guide --> http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70d2638c-4b04-2d10-d2a3-992fdf1e3d55?quicklink=index&…
    hope this helps.
    Regards
    Tobi

  • Javascript future in Webdynpro (JAVA and ABAP)

    Hi WebDyn Pro's,
    I see many sophisticated capabilities enabled inside Webdynpro for JAVA from use of Javascript.  Further, in many cases, Javascript provides the only solution for the requirements!
    From this forum, I think I hear that Javascript capabilities may be disallowed in future WebDynpro releases by SAP. 
    I have 3 questions related to this:
    1. Why would SAP want to disallow usage of Javascript inside WebDynpro applications?  What is the harm?
    2. Does SAP think that customers should be able to provide these same capabilities without use of Javascript?
    3. Will this same Javascript limitation exist in WebDynpro for ABAP?
    Thanks,
    Kevin

    "Many sophesticated capabilities enabled inside Webdynpro for JAVA from use of Javascript." - that is true
    1. It is to have a standard for development inside, and outside SAP. Otherwise developers will use ... who knows what they will develop... and there have been quality problems in projects that SAP has to deliver - SAP has 30,000 employees, any of whome can develop in their free time. With the current framework, all these issues have been taken into consideration.
    2. SAP and the Webdynpro development team in Walldorf will continue to enhance the webdynpro framework in the forseeable future. There is an alternative if you want to use Javascript. Please use Java Dyn Pages for unlimited java script coding. This can be seen in Portal Development Manual. http://help.sap.com/saphelp_nw04/helpdata/en/fd/01f34026d70b06e10000000a155106/content.htm
    3. Yes it will apply in ABAP. WebDynpro is the common framework that is used for both ABAP and Java. It Java/ABAP independent "so" to say. But it works better with Java right now than ABAP.
    Sumit.

  • Passing Value from PDK Java to Webdynpro Java in SAP EP SP18

    Dear Experts
    Please tell me how to call a webdynpro java ivew form a PDK java application and I need to pass a value to webdynpro form my PDK application.
    I am using SP18
    Please help me in this issue
    Regards
    Noel

    Noel,
    From your PDK aplication you will be providing the WD URL along with the parameter.
    Say in your PDK application you redirect to http://portalserver:50000/irj/local/webdynpro/sap.com/test?mypram=1
    In WD you fetch this parameter using WDProtocolAdapter class.
    Check below links for more information.
    [Access WebDynpro URL parameters programaticaly |https://wiki.sdn.sap.com/wiki/display/WDJava/Access%20WebDynpro%20URL%20parameters%20programaticly]
    Page 23 of this [document|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/ba641aa6-0c01-0010-57ac-c21a4ca7b542&overridelayout=true]
    Chintan

  • XML data file links java and sap

    Hi ,
    Please help me this
    How to connect xml file to java into sap
    please send me sample scenario.
    in java i call the this sap function module  'BAPI_MAT_BOM_EXISTENCE_CHECK'.
    1. Check BOM existence with BAPI_MAT_BOM_EXISTENCE_CHECK
    2. Exit BOM diff if BOM doesn’t exist
    3. Read BOM structure with CSAP_MAT_BOM_READ
    4. Compare SAP BOM items incl. subitems to XML BOM items and subitems

    currently I use following methods tu opload and to transfor the xml into a string.
    * Method to create XML from data file
      CALL METHOD instance->import_from_file
        EXPORTING
          filename = gf_filename
        RECEIVING
          retcode  = ch_retcode.
    * Convert into XML-Stream
      CALL METHOD instance->render_2_string
    *  EXPORTING
    *    pretty_print = 'X'
        IMPORTING
        retcode      = ch_retcode
          stream       = lf_string .
    *    size         = .
    When I use read dataset the output of the xml is into an internal table where I have many lines depending on the XML data file, this means if my xml has 10lines the internal table of read dataset has also 10 lines but I need a string to make the transformation of the xml.

Maybe you are looking for