THrough dynpro i am not able to debug backend function module

Hi,
In my scenario i am uploading one file through dynpro application and store it at backend(sap r/3). In this scenario first i copy file from ep application server to r/3 application server and then send file dms server where i store that file. I make function module which copy file from ep application server and send it r/3 application server and further it store it dms server.
I checked with function module it was working fine in backend but when i am call fm in my application it would not work,
I could not able to debugg it also.
Please provide if i miss any thing .
Regards,
Gurprit Bhatia

Have you fulfilled following list:
1. Enbable remote debugging(external breakpoint) on function module
2. Use same UserID that enables debugging and used in JCo Connection.
3. Keep open the SAP GUI screen
4. Run your application, it will take you to SAP GUI screen when breakpoint found.
Thats all, hope this will help.
Jawed Ali
Edited by: Jawed Ali on Aug 27, 2008 10:42 AM

Similar Messages

  • Getting Error in Asmx Web Service Unit Testing & not able to debug unit-test Project.

    I am getting below error message while running unit test for ASMX web service
    Failed MyFunction The ASP.NET Web application at 'D:\MyProjectFolder' is already configured for testing by another test run. Only one test run at a time can run
    tests in ASP.NET. If there are no other test runs using this Web application, ensure that the Web.config file does not contain an httpModule named HostAdapter.
    I checked in web.config. Below line already added in web.config. i removed below line to run test again but getting same error message.
    <httpModules>
    <add name="HostAdapter" type="Microsoft.VisualStudio.TestTools.HostAdapter.Web.HttpModule, Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </httpModules>
    i am not able to debug unit test project.
    Please "Mark as Answer" if this post answered your question. :)
    Kalpesh Chhatrala | Software Developer | Rajkot | India
    Kalpesh 's Blog
    VFP Form to C#, Vb.Net Conversion Utility

    Hi Kalpesh,
    >>Failed MyFunction The ASP.NET Web application at 'D:\MyProjectFolder' is already configured for testing by another test run. Only one test run at a
    time can run tests in ASP.NET. If there are no other test runs using this Web application, ensure that the Web.config file does not contain an httpModule named HostAdapter.
    In your web application root, can you find a file named 'web.config.backup'?
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/e2ad0c20-df90-48dc-818c-8c5ec24d9365/visual-studio-test-is-not-hitting-breakpoints-in-debug?forum=vststest
    Fang also shared more information about debugging the unit test for web project here:
    https://social.msdn.microsoft.com/Forums/en-US/daa16086-b1b8-4917-ad8d-65e23b49e1bc/not-able-to-read-webconfig-through-unit-test-feature-by-visual-studiovsts?forum=vststest
    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.

  • Not able to debug z program attached to special funtion in processing routi

    Hi,
           I want to debug my z pogram. attached to special funtion in processing routine.but not able to debug But debugger is not passes through that z program if i passes through transaction vl02n.
    Regards,
    Ranu.

    Hi Sharma,
    if the output type  is triggered automatically and sheduled background and creating spool or sending mail.
    then try this way.
    Write the statemnet in your program to debug the program in Background.
    data : w_flag type C.
    do.
    if w_flag = 'X'.
       exit.
    ENDIF.
    enddo.
    and execute the VL02n and go to t-code SM50 and select your program and got to menu >program->program> Debug
    the the program stops in your Zprogram and make the w_flag to 'X' and continue debuggin zprogram.
    Regards,
    prabhudas

  • Not able to Debug in SMQ1 - CRM MIDDLEWARE

    Hello Experts,
                        There is a failed queue in SMQ1. But we are not able to debug the queue which we were able to do couple of days back. Clicking on the DEBUG icon results in the same error message which we get when we just reprocess it.
    Thanks,
    josh
    Edited by: Laxmi WIPRO on Oct 18, 2010 12:07 PM

    Hi Laxmi,
    Txn. SM59, Browse to ABAP Connections and locate the logical system you need to debug from your CRM system. Eg : Assuming your data is flowing from CRM to ECC whose logical ID is ECCCLNT100, then search for this logical name ECCCLNT100 in the list of connections, double click on it....browse to the 3rd tab "Logon and Security" and edit the user maintained in the Logon area. This user should be a dialog user.
    For an inbound queue SMQ2, all FMs are executed at the CRM itself, so you'll be able to debug them...but for debugging SMQ1 you need to have a dialog user which has an access to the ECC.
    Thanks,
    Rohit

  • Not able to debug procedure using oracle 11g & toad 9.0.1.8

    hi..
    i m using oracle 11g & toad 9.0.1.8 ..i want to debug procedure , i set parameter, but not able to debug procedure , there is 'debug' option, but that option is disable..
    can u plz help me regarding this..
    can u suggest me another tool where i can debug my procedure..
    thanx..
    Edited by: user10502250 on Jun 22, 2009 4:15 AM

    "Help, About" should list the installed options, and "Debugger" should be in the list otherwise you'll need an expensive upgrade or a change of IDE.
    In TOAD you have to open the source code editor, at which point the debugging options should be accessible. You can either set a breakpoint and hit the 'Execute' lightening symbol, or place the cursor at a suitable point in the code and press F12.
    I'm not completely sure how you are supposed to pass runtime parameters but it may be to do with right-click, Action Console, Execute, which brings up a 'Set Parameters' dialog. However this won't run in debug mode, it just runs and remembers the arguments. I don't really get it. As you can probably tell I'm not a great fan of the product. Have you looked at PL/SQL Developer?

  • Not able to debug XSJS service

    Hi,
    I am receiving following error on launching debug configuration:
    "Failed to check if system is secured"
    I believe because of above error i am not able to debug the .xsjs service.
    I am setting Host and Port for debug configuration same as i am using to test service in browser.
    Thanks,
    Rahul

    Hi Steve,
    My problem is resolved but it had nothing to do with privilge or debug configuration.
    I am not sure why your URL looklike IPjdbc:sap://localhost:30015/.
    Your URL should be XSJS service in hana server.
    Are you getting popup for sessionid while launching your XSJS debug configuration?
    Can you please confirm above question and then i might suggest something?
    Thanks,
    Rahul

  • Not able to debug the start routine

    Dear All,
    I am facing a weired situation.
    I have a transformation(DSO -> Cube) with start routine. I am able to debug the routine in Development System.
    I transported the routine to Production System successfuly, but i am not able to debug the start routine there. I have all the necessary authorisations(SAP_ALL, SAP_NEW)
    I am perplexed. Never seen such issue before.
    Can someone help me here?
    Regards,
    Avinash.
    Edited by: Avinash Kumar on Nov 5, 2008 11:16 AM

    Dear Jerry,
    Thanks for writing.
    I followed the instruction, but it didn't work.
    Can there be any technical reason for data package to be empty, even if the source has data(Note: There is no filter in DTP)?
    Also, i just checked with other start routines...I am not able to debugg there also. System is not entering the debug mode.
    Here, the patch level is: 0010. Can this be the villain?
    Please advise.
    Regards,
    Avinash.
    Edited by: Avinash Kumar on Nov 6, 2008 4:26 AM
    Edited by: Avinash Kumar on Nov 6, 2008 4:51 AM

  • Not able to debug the ZDEG(Z OUTPUT) MEDIUM Distribution Ale

    Hi All,
    I am not able to debug the ZDEG output type for Shipment (Medium is Distribution ALE). 
    Executing the VT02n providing the Shipment and selec the GOTO Menu  the Output tab and Select one (EX ZDEG) Output type.  I have kept the break point in the Program RANASTED and Form Routine ALE_PROCESSING.
    Table record in TNAPR table.
    023     ZDEG     A     V7     RSNASTED     ALE_PROCESSING     
    Could you please let me know how to debug this output type code.
    Thanks In Advance.
    Venkata

    Which ERP version that you are using?  If the system is ECC 6.0, then you can activate the session break-point in the print program.  You can also activate form debugging option on using transaction SE71, enter name of the form (ZDEG), from the menu, Utilities->Activate Debugger.  Hope this help you.

  • Not able to debug BBP_GROUP_LOC_PO badi in SRM

    Hi Experts ,
    I am not able to debug the badi BBP_GROUP_LOC_PO .
    I have set the external break points in the BADI .
    Is this geting called in Background? In that case what needs to be done?
    Regards,
    Sunitha

    Sunitha,
    you can debug badi BBP_GROUP_LOC_PO BADI  only after execute the program BBP_SC_TRANSFER_GROUPED.
    Keep the external bp in your Badi implementation and later execute the above program. It will exactly stop the place where you place the BP.

  • Not able to see backend material document number in SUS

    Hi,
    A GR is created in ECC. It is avaiable for disply in the supplier's login.  We are able to achieve this.
    The question is "We are not able to see backend (ECC) material document number anywhere on the screen. We are only able to see the SUS Confirmation number (i.e. as per the number range assigned to BUS2233). Is it standard behavior?
    Details: SRM7.0 SP07, ECC Ehp4, Using MM-SUS. Plan driven procurement.
    Ganapathi

    Dear Manjunath,
    Thanks for the response.
    We have noticed that, the back end (ECC) material documents are getting replicated to SUS as we are able to see this number in BBP_PD &  BBP_PDBEH-BE_OBJECT_ID.
    So, let me put the question this way.
    Our issue is with display of document in the portal (BSP Pages).
    For Example, in case of Invoice, the supplier can see the back end MIRO invoice document number with the "External Reference" Label, under Basic Data section. The case is NOT same with GR. The back end (ECC) material document number is NOT seen any of the layout (for end user, who has logged in as supplier).
    Is it standard behavior? If we want that, the suppliers should be able to see the material document number in the portal, when a GR is created in ECC, what settings we have to do?
    Ganapathi

  • I bought a cd with Lightroom 5. After installation and registration I am not able to use 'help' function and I cannot update the software. I anyone able to give me a hint how to handle it? Thank you ind advance Karl

    I bought a cd with Lightroom 5. After installation and registration I am not able to use 'help' function and I cannot update the software. Is anyone able to give me a hint how to handle it?
    Thank you in advance
    arl

    Hi Keith, sorry for my late reply.
    Surely I am able to connect to the help function when Icontact the website
    of AdobeLR5.The problem is as follows,
    When I open LR5 on my computer and work with it and try to open the help
    function in the software, I don't get it.
    When I bought the CD I was naiv enough to believe that I get an independent
    working software. I learned in the meantime, that the seller does not allow
    to work with, without being connected to them.
    I don't believe that I am paranoid, but I like to buy something and use it
    without to inform the supplier that I do it. Otherwise I could have bought
    the license fpr LR5 via internet.
    Best regards
    Karl
    2015-01-02 13:42 GMT+01:00 kglad <[email protected]>:
        I bought a cd with Lightroom 5. After installation and registration I
    am not able to use 'help' function and I cannot update the software. I
    anyone able to give me a hint how to handle it? Thank you ind advance Karl
    kglad <https://forums.adobe.com/people/kglad?et=watches.email.outcome>
    marked Keith_Reeder
    <https://forums.adobe.com/people/Keith_Reeder?et=watches.email.outcome>'s
    reply on I bought a cd with Lightroom 5. After installation and
    registration I am not able to use 'help' function and I cannot update the
    software. I anyone able to give me a hint how to handle it? Thank you ind
    advance Karl
    <https://forums.adobe.com/thread/1669640?et=watches.email.outcome> as
    helpful. View the full reply
    <https://forums.adobe.com/message/7059196?et=watches.email.outcome#7059196>

  • How can I debug a Function Module used by smartforms

    Hello everyone,
    i have a problem with the function module /1BCDWB/SF00000040.
    It's a module executed from a smartforms form. I need to debug this
    function module while printing an invoice. While printing it should jump
    to the place of the function module.
    Would be grateful if someone could help me.
    Best regards
    F. Hoppe

    This is exactly what i have done last time.
    The problem is that the breakpoint does not stay at the same place
    when i activate it in the module itself.
    Isn't there a transaction you can put breakpoints specific to a FM?

  • How to DEBUG a function module running in background mode? Please help!

    Hi Experts,
       I am calling a function module in my ABAP code in background module using the following syntax:
      CALL FUNCTION 'YBBC2_CREATE_SNAPSHOT' IN BACKGROUND TASK
              TABLES
                itab_std_format_inv = itab_std_format_inv
                itab_snapshot_inv = itab_snapshot_inv.
            COMMIT WORK.
    If I put the breakpoint in the CALL FUNCTION line and execute the program, the debugger does not take me to the valled function module. This may be because I am running the function module as background task.
    I cannot comment this  "IN BACKGROUND TASK" statement as well since i am debugging in Quality system where I don't have change access.
    So how to DEBUG a function module running in background mode? Please help!
    Thanks
    Gopal

    Hi,
    You could try to use the following trick:
    (1) Put an endless loop into the coding of your function module where you want to start debugging, e.g.
      DATA:
        lx_exit_loop(1)     TYPE c.
      lx_exit_loop = ' '.
      DO.
        IF ( lx_exit_loop = 'X' ).
          EXIT.
        ENDIF.
      ENDDO.
    (2) Call your function module in background task
    (3) Call transaction SM50 and search for the background process.
    (3) Choose from menu Program/Mode -> Program -> Debugging
    Now you the debugger should bring you right to your endless loop. Set lx_loop_exit = 'X' in the debugger and continue (F5 or F6).
    <b>Reward points</b>
    Regards

  • How to debug a function module using in the generic datasource?

    Hi all,
    We have created a generic data source using function modulle and have been extracting the data for a single customer it contains single records but it has pulled out more than 10,000 records. how to debug the function module used in the data source.
    since we schedule for extraction in bi and back ground job gets triggered in ecc for extraction,
    i know in se37 we can select the function module name and then debug but still need to check while the bacground job is trigered through bi.
    Thanks

    Yes you can debug the Function Module.
    Open the function module in SE37 and put a break point in the code where you want to check from, then come to RSA3 and give the datasource name and check the Debug check box on this screen, once you click on the start button it will take you the place where you have placed the break point in the FM, by pressing F5 you can see the flow of the FM.
    Let me know whether this solves your issue.

  • Hw to debug outbound function module

    Hi,
    I know how to debug inbound idoc using WE19 can sum1 tell how can i debug outbound function module.
    i want to debug to see as to why certain segments are not being updated in IDOC PORDCR1.PORDCR102.
    even though i put an external break-point it does't trigger .
    Regards,
    Jayaram Maganti

    >
    JAYARAM MAGANTI wrote:
    > Hi,
    >
    > I know how to debug inbound idoc using WE19 can sum1 tell how can i debug outbound function module.
    > i want to debug to see as to why certain segments are not being updated in IDOC PORDCR1.PORDCR102.
    > even though i put an external break-point it does't trigger .
    >
    >
    > Regards,
    > Jayaram Maganti
    Hi
    See this link this  is helpful for  you.[debug outbound function module|Re: Cannot debug outbound queue;

Maybe you are looking for

  • IBM POS with SAP Issue.

    Dear Experts,        I am working at client site, have a peculiar issue please help by providing your suggessions or ideas to solve it. Here is the Issue : Every time a Transaction is completed at the terminal the data will be written (Appended) to t

  • C# control event handling with javascript

    How can I get javascript to execute for "onchange" / "OnSelectedIndexChanged" event instead of a CodeBehind method? I think "OnSelectedIndexChanged" event has to be handled by CodeBehind; but how can I replace that (or onchange) with a javascript eve

  • Activating technical content

    Hello guru's I want to activate the technical content in BI7 environment.can u advice the procedure to activate.my dought is what is the differeance b/w activationg through SPRO and directly in business content <object types<roles<technical content.

  • JNDI not found deploy bpel in cluster

    Hi I have this problem: I install BPEL CLuster in two hosts: mtier01 and mtier02 and I have a lbr (balancer) in front of this servers (mtier01 and 02). I deploy bpel using bpel console and I get a error: JNDI not found. I read log: log.xml of bpel, a

  • MCAK - Create POD for newly added Platform element

    Hi, I am trying to create POD for newly maintained platform element ( ex: HyperV ). Data captured in POD :      PODName :     Plotform Element Type : vcenter / vcloud director / ec2 / openstack /etc      Virtualization Manager : (respective VM Manger