Debugging BAPI in WD application

Hi All,
     I want to debug the back end BAPI in the Wenduynpro application , i went to SAP --> Transaction se37 --> opened my fun mod --> utilities --> Settings --> Debugging -->Checked the Activate check box for external debugging -->Came back to sourde and CtlShiftF12 It prompted me for the type of debugging --> i had selected External break point .
  If i run my application the application is not stopping at the break point??
Is the process correct , did i miss any thing else.
Regards,
Ravi

You need to check 2 things..
1. Check which user is mapped in portal to login into SAP R/3.
2. If it's different user than the user id which you are using then mention the user id which Portal is using to login to SAP in
Settings -->Debugging.
Make sure that user is dialog user.
Hope this shd solve your problem..
<i>*Reward each useful answer</i>
Raja T

Similar Messages

  • Unable to use debug mode for x64 application and debug doesn't work when target cpu set to x86

    I am attempting to familiarize myself with Visual Basic programming in Visual Studio 2008, using the Visual Basic Guided Tour in Microsoft Visual Studio 2008 Documentation, and have run into a bit of a road-block.  When following the lesson "It
    Doesn't Work! Finding and Eliminating Run-Time Errors", the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications
    are not allowed".  I found some forum postings advising to set the project's Target CPU from "Any CPU" to "x86".  However, when I do that, and re-execute the debug process, the debug fails to stop on the overflow/divide by
    zero error.
    How can I debug my programs when Any CPU/x64 target doesn't allow me to edit the code, and x86 target doesn't appear to recognize obvious runtime errors.

    Hi Tim,
    >>the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications are not allowed". 
    I'm afraid that the VS2008 has a limitation for this feature, I mean that Edit and Continue isn't supported on 64-bit.
    Reference:
    http://stackoverflow.com/questions/1498464/changes-to-64-bit-applications-are-not-allowed-when-debugging-in-visual-studio
    http://blogs.msdn.com/b/habibh/archive/2009/10/12/how-to-edit-code-when-debugging-a-64-bit-application.aspx
    But this feature has a improvement in VS2013 now:
    http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/26/debugging-support-for-64-bit-edit-and-continue-in-visual-studio-2013.aspx
    So if possible, you could test it in the latest VS2013 version.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Accessing remove EJBs while debugging using the Embedded Application Server

    I'm trying to configure to debug a multi-tier application (servlets + EJBs) where a servlet accesses EJBs set up on a second OC4J application server. I've set up rmi.xml in the embedded application server to reference my second application server by adding the line.
    <server host="127.0.0.1" username="admin" port="23791" password="password"/>
    When I run the embedded application server it seems to hang, with the stack in
    the following state:
    OC4J main()
    OC4J launchOC4JCommandLine()
    ApplicationServer launchCommandLine()
    Thread join()
    Thread join(0)
    Object wait(0)
    The following exception is generated on the second application server
    C:\Program Files\Oracle\JDeveloper9i\j2ee\home>java -jar oc4j.jar
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    java.lang.NullPointerException
    java.lang.ClassLoader com.evermind.server.rmi.RMIInputStream.getClassLoa
    der()
    java.lang.Class com.evermind.server.rmi.RMIInputStream.resolveClass(java
    .io.ObjectStreamClass)
    java.io.ObjectStreamClass java.io.ObjectInputStream.inputClassDescriptor
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    int java.io.ObjectInputStream.inputObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    void com.evermind.server.rmi.RMIConnection.handleBindObject()
    void com.evermind.server.rmi.RMIConnection.run()
    void com.evermind.util.ThreadPoolThread.run()
    Has anyone got any ideas what is happening here and how I can fix it?
    Thanks,
    Mark.

    This is an OC4J question. Try posting your message to the Products > Application Server > J2EE forum. Someone there should be able to answer your question.

  • Accessing remote EJBs while debugging using the Embedded Application Server

    I'm trying to configure to debug a multi-tier application (servlets + EJBs) where a servlet accesses EJBs set up on a second OC4J application server. I've set up rmi.xml in the embedded application server to reference my second application server by adding the line.
    <server host="127.0.0.1" username="admin" port="23791" password="password"/>
    When I run the embedded application server it seems to hang, with the stack in
    the following state:
    OC4J main()
    OC4J launchOC4JCommandLine()
    ApplicationServer launchCommandLine()
    Thread join()
    Thread join(0)
    Object wait(0)
    The following exception is generated on the second application server
    C:\Program Files\Oracle\JDeveloper9i\j2ee\home>java -jar oc4j.jar
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    java.lang.NullPointerException
    java.lang.ClassLoader com.evermind.server.rmi.RMIInputStream.getClassLoa
    der()
    java.lang.Class com.evermind.server.rmi.RMIInputStream.resolveClass(java
    .io.ObjectStreamClass)
    java.io.ObjectStreamClass java.io.ObjectInputStream.inputClassDescriptor
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    int java.io.ObjectInputStream.inputObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject(boolean)
    java.lang.Object java.io.ObjectInputStream.readObject()
    void com.evermind.server.rmi.RMIConnection.handleBindObject()
    void com.evermind.server.rmi.RMIConnection.run()
    void com.evermind.util.ThreadPoolThread.run()
    Has anyone got any ideas what is happening here and how I can fix it?
    Thanks,
    Mark.

    This is an OC4J question. Try posting your message to the Products > Application Server > J2EE forum. Someone there should be able to answer your question.

  • Why can't I debug my JSF Portlet application after inserting an IFrame

    Hi,
    1) I created a jsf portlet application
    2) I add a button in my jsf portlet application
    3) I can debug my button's action method
    4) Now I open my jsp editor and add an iframe
    <iframe height="500" id="ifWindow" name="ifWindow"/>
    5) I try to debug my button's action method but the debug cursor never reaches it like in step 3
    6) I added a messageGroup but nothing appears there
    7) I monitored "C:\Program Files\Sun\Creator2_1\SunAppServer8\domains\creator\logs\server.log" and nothing appears there
    Is this a bug in Java Studio Creator or is there a problem with iframe in jsf portlet applications?
    Why can't I debug a jsf portlet application if I put an iframe?
    Has anyone got this to work in their jsf portlet application? What can I do to debug this simple application?
    Thanks,
    Marc

    Hi,
    I figured it out. I can debug my jsf application if I placed the iframe outside the <ui:form> element. If it's inside, I cannot debug the application. Are there any books or tutorials that I can read to get rules like this in JSF development?

  • How to call a BAPI in EJB application

    Hi ,
    I need to develop an webservice that takes data from a BAPI and insert in to ORACLE database. I think webservices can be created through EJB application.
    I am not having idea regarding how to call an BAPI in EJB application. can anyone help me out in this.
    Regards,
    Laxmi.

    Hi,
    you can use JCO Connection,
    look this
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fcadaf90-0201-0010-4091-bd0bcd7b7f6a]
    Regards,
    Matteo

  • Debug BAPI Values

    Being a newbie to Abap ,i am looking, howto debug BAPI input values-variables? Values(values of BAPI Import parameters ) are being passes to BAPI from Mobile app.
    How/where can we check the values being passed to BAPI in R3 i.e the values with which the BAPI is being executed ?
    Following the post Debugging , i understood a break point might help to debug the values, but i am confused at which line of code ?

    Before starting the mobile app, you set external break-point for that particular bapi and run the app..
    Set the external point at the line where you are passing the input to mbo. (import parameter of the BAPI).
    Under Source code, you will find the details. e.g. for the given screenshot i have 2 inputs (at line # 23, 24) so i can set the external break-point at 23.
    You can check this thread How to debug RFC function module in ECC 6.0

  • How to debug a Mobile client application

    Hi,
    How to debug a mobile client application on the laptop, where we dont have any .NET 2003 application installed. (not an MDW)
    If we get any error on the application, which could be a UI error on laptop, and if everything is working fine on the MDW, is there any way to debug the application on Mobile client?
    Also, please provide me links or tips on how to debug the mobile application, on MDW as well.
    Regards,
    Praveen.

    Hi,
    to be able to debug on a local machine you would need at least to install the UI/BOL class files and the project files and make some local settings.
    But anyway on all clients there should be the same MSA installation like it is on the MDW so in case of an issue it is normally caused by local (inconsistent) data.
    I would suggest to access the laptop IDES database by changing your MDW odbc settings and perform the debug session on the MDW.
    Debugging in VB .net is similar to VB6 but you have to notice that changing of the code is NOT possible when being in debug mode.
    Regards,
    Wolfhard

  • Debugging WLP 8.1 Applications

    Guys, I have a few questions related to debugging WLP 8.1 applications...
    P.S. I posted this to the Workshop group and was asked to post here instead.
    1. The “start (ctl-F5)” debug button sometimes does not appear. Even when I open
    the “xxx.portal” file. Sometimes have to close all files then open and close a
    "xxx.portal" file a few times times until it enables the "start" button. Is there
    a way to make this more reliable?
    2. Is there a way to specify the debug target? Why do I always have to open “xxx.portal”
    just to start the debugger? It seems like a senseless waste of time.
    3. Is there a way to debug using the full “appmanager/xxx” URL instead of the
    “xxx.portal” URL? The app behaves differently in "dot portal" mode. I usually
    just leave the internal browser window open and then open IE or NS to point to
    the "appmanager/xxx" URL.
    Thanks, Phil

    Guys, I have a few questions related to debugging WLP 8.1 applications...
    P.S. I posted this to the Workshop group and was asked to post here instead.
    1. The “start (ctl-F5)” debug button sometimes does not appear. Even when I open
    the “xxx.portal” file. Sometimes have to close all files then open and close a
    "xxx.portal" file a few times times until it enables the "start" button. Is there
    a way to make this more reliable?
    2. Is there a way to specify the debug target? Why do I always have to open “xxx.portal”
    just to start the debugger? It seems like a senseless waste of time.
    3. Is there a way to debug using the full “appmanager/xxx” URL instead of the
    “xxx.portal” URL? The app behaves differently in "dot portal" mode. I usually
    just leave the internal browser window open and then open IE or NS to point to
    the "appmanager/xxx" URL.
    Thanks, Phil

  • Error when debugging the Web DynPro application-Flight Example

    Hi all,
    I am trying to execute the Flight Application example.
    In the Search View I have entered City from and to and  getting only one record in the table control as output in Result View irrespective of any cities.
    I checked with SAPR/3 but it is showing more records.
    For finding the error I tried to DEBUG the application.starting the DEBUG immediately I am getting the error REMOTE VM NOT CONNECTED.I am  trying to solve this error to Starting the DEBUG.
    If any tips to solve this error in DEBUG mode and what is the reson the other records are not showing in the output Result view.
    Thanks in Advance.
    Regards,
    Ram

    Hi,
    This is clearly a version imcompatibility issue ,
    check below link :
    /message/9597673#9597673 [original link is broken]
    Please do some search on sdn before posting the questions. as the answer is already available.
    Regards
    Deepak

  • Debugging a Web Dynpro Application (e-recruitment)

    Hi Experts,
    I have an error in SLG1 coming from web dynpro application ERC_A_DEL_EXT_CAND
    I am not sure how to debug this issue.  Where do I put the breakpoint to get the debugger to launch?
    Thanks in advance.
    Shane

    Hi,
    Here is the error:
    The error occurred in program CL_HRRCF_SEARCH_MASK_GROUP====CM003 line 19
    Customizing table T77RCF_SMG_ASM contains no corresponding entry for GROUP_ID=0021
    The error occurred in program CL_HRRCF_SM_CUST_TABS=========CM006 line 20
    The issue is, I have no entries in table T77RCF_SMG_ASM for GROUP_ID=21
    Any thoughts?
    Shane

  • Debugging a web dynpro application

    Hi,
    I need to debug a abap web dynpro application from the internet browser.  I only have the application URL and i don't know the component name and application name. So i can't put a break point in the methods.
    I there a way by which we can call a debugger dynamically from the browser without knowing the WD component.
    Thanks & Regards,
    Ravi Aswani

    Hi Pooja,
    First of all, I am not sure about the more fieldinfo authority thing, I'm only guessing
    I think you got your answer to your original post answered from Patrick and my earlier post (about what application is used in URL etc)
    About the More Field-Info:
    I checked the said scenarios again:
    User with only my Basis ESS Roles: No Field Info available.
    User with SAP_ALL: Field Info Available
    User with my Basis ESS Roles and Content-Admin and System-Admin: No field Info available
    It seems to be dependant on some authority from R3, and since you say it works for you if the user has sysadmin and content-admin roles, I would take a look at the identity management in portal for your sysadmin and content admin portal roles. Take a look at the assigned R3-Roles and look within these which authorities are given. Maybe this will unveil something. I cannot check this in my system since our portal identity management works differently.
    Alternatively, maybe somebody with deeper knowledge pops up and delights you with the sample solution )
    Cheers, Lukas

  • Start ABAP Debug in Web Services Application - won't take non-Dialog user

    Hello all. We are trying to Replicate Employees from SuccessFactors to SAP ECP/ERP with a delivered integration from SAP, but we''re having trouble interpreting some of the errors we're getting in the Application Log
    As shown in the Web Services Utilities Message Monitor - our message is successfully Delivered - we would like to set a break-point in Class CL_PAOCF_EC_EE_MDR_IMPL and run our test. Unfortunately we have to use a Technical User in our middleware connector to consume the Service (to connect to the Java Application Server?) and setting External Breakpoints or enabling Debugging in SICF will only permit Dialog users. Does anyone know how we can run our Web Service and invoke an External Breakpoint in our application posting Class?

    Hello Keith,
    What is the "user type" for this user? In our system we have the user for the middleware defined as "Service type" and external debugging is possible with that user.
    BR,
    Suhas
    PS - Read the documentation of the data element XUUSTYP for further details.

  • Debugging the webdynpro abap application from portal.

    I  developed a  WebDynpro  application and integrated in portal. I have to catch some portal events.For that i have written some code in my application. I tried to debug the application from portal  by using all the available break-point types.but we could not .
    Anybody have an idea how to debug a WebDynpro  application from portal.
    Thanks,
    Kumar.

    Hi
    Few links to check:
    External debugging is not working
    Re: Debugging Abap webdynpro appln
    Re: Unable to Debug WD ABAP application
    Dedug is not working in Production Server.
    a) Check on number of R/3 sessions opened at a time.
    b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system.

  • Calling a BAPI in JSF Application

    Hi Experts,
    We are planning to create a Demo applicaiton for calling a BAPI in JSF  applicaiton.
    Basically we have to create a sample JSF application which will cal a BAPI and display the information.
    Can you please share the step by step document or any helpful links.
    Thanks&Regards,
    Raghu

    i would try SAP Enterprise connector even though it is deprecated

Maybe you are looking for

  • Why wont my paddle work anymore in my flash catching game?

    Hey guys im making a flash game for a uni project and i had it all working great! I then proceeded to move my code and content onto the second frame to add menus and such to the game and i updated all the code so it should work on the second frame an

  • Moved music to external Hard Drive.  Now Itunes cant find Music

    Moved my Itunes to an external hard drive and went through preferences in Itunes with the location. However, when I click on the music, Itunes cannot play and I have to manually link the library to the song to the new location. I have over 300 songs

  • Increaszing font size in smartforms

    Hello, I created a smartform, all fields it's ok except one: I have space for 10 character but I wont to display 14 without changing font size. do you know how to decrease Width of the character without changing the Height? Thanks

  • Full screen w/ cropping?

    I'm watching a video with 1024 height on my MacBook Pro, and it gets resized to the screens 900px height. However I set the preferences, the video will always display "fit to screen" instead of "original size". Is that a bug in QT 7.3.1 or is this ju

  • I need to insert a table into my form.  Anyone know how to do this?

    I'm trying to figure out how to insert a table into my current form.  I can't seem to locate any button or instruction on how to do that.  Any and all help is greatly appreciated.