Hi, how to debug IDOC using se37.

Hello experts:
       Thank you in advance for all your replies.
       I tried to debug the function IDOC_OUTPUT_ORDCHG like the following in our company(because the structure of IDOCS this morning are totally wrong):
      1   I set some breakpoints at  IDOC_OUTPUT_ORDCHG .  
      2  modify a PO with me22n and an IDOC was created because the MESSAGE(on the menu bar) showed that an IDOC is created .
      3 the program didn't stop at where I set the breakpoint.
      Is there anything wrong how I tried to debug?
       couldn't thank you more.
Best regards.
Frank

Hi,
To debug IDOC
http://searchsap.techtarget.com/tip/0,289483,sid21_gci1268508,00.html
Regards,
Jagadish

Similar Messages

  • How to debug IDoc and waht about WE19

    hi experts how to debug idocs waht is we19 and perpose

    We19 is Testing Inbound IDOC and you can debugging from we19 Transaction
    Outbound IDOC Debugging :
    Example of Invoice :
    Set ur Break point at your code
    now come to VF02 Transaction and use invoice number.
    click on enter
    GOTO->HEADER->OUTPUT
    Give the output type and print medium should be 6(EDI) or A( ALE)
    Click on Further data and select->select send with periodically scheduled job and save it.
    Now Come to SE38 and use RSNAST00
    Output Application : V3
    Object key - Invoice Number ( 10 digit)
    Output type - RD00( SAP Standard)
    Transmission medium = 6(EDI) ,A(ALE)
    Now it will stop at your code.
    Reward Points if it is helpful
    Thanks
    Seshu

  • Hai how to debug smartforms using SFTRACE .

    how to debug smartforms using SFTRACE .

    Hi,
    Go to the FM of the Smartform and in the main Program of the FM keep a break point. Whenever the Form is triggered which will stops at that break point, from there you can debug.
    Regards,
    Satish

  • How to Debug IDOC posting

    Hi,
       Could anyone please advise how to debug an IDOC posting. I am new to ABAP.
    regards,
    Munavar Basha A.K.

    Hi,
    1)Use tcode we19 , enter your idoc no and click on the inbound function module push button then check call in debugging mode to debug.
    or
    1. Go to BD87
    2. make a right click at the IDoc and choose restrict and process.
    3. delete the check at the bottom(Background Processing)
    4. Go ahead
    5. edit -> process -> Foreground at Error
    Thanks Hope this will be Helpful
    Thanks
    Kalyan

  • IDOC ORDERS05 - need to know how to send IDOC using EAN

    Dear Expert,
    in my site i have scenario to convert PO for 1 system to SO on other system.
    Now my configuration is send IDOC using vendor material.
    But I need to change for send with EAN code, and it can create my IDOC to SO (using EAN code)
    How can i do?
    Thank you for your answer,
    @tom

    Start here:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/
    Also these:
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.
    James Gosling's The Java Programming Language. Gosling is
    the creator of Java. It doesn't get much more authoratative than this.

  • How to trigger idoc using commnad line?

    Hi abap gurus,
    anyone knows how we can trigger idoc using commnadline like STARTRFC.EXE.
    Please let me know its very urgent.
    Thanks,
    Jack.
    Edited by: Alvaro Tejada Galindo on Feb 15, 2008 2:34 PM

    solved on my own

  • How to debug idoc?

    I want to find the additional custom developments done to send a sales order idoc via i-003 and not any other interface.can u suggest how to find it easily by debugging?

    Hi,
    check this link.
    Link:[https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=howtodebug+idoc&adv=false&sortby=cm_rnd_rankvalue]
    hope u'll get some idea.
    Regards,
    Sneha.

  • How to Debug Idoc Adapter from XI to R/3

    Hi,
    Can any one please help in debugging the Idoc adapter from XI to R/3.
    Here is the my problem - XI to R/3 idocs have been created correctly but the service relation ship is created incorrectly.
    i.e. When XI creates inbound idoc into R/3, it is also linking some other non relevant idoc which is created 2 years back as a outbound idoc reference to that original idoc.
    And this outbound idoc is coming to XI and the same can be seen in IDX5(Table - IDXRCVPOR) for that message.
    I tried to see various parameters on idoc_inbound_asynchronus FM and when I execute this FM in R/3, idocs are being created correctly and service relation ship is also correct.
    I tried to debug the RFC by using dialog user in the idoc adapter - IDX_OUTBOUND_XMB. For this we forced to fail the message at the adapter level and then manually restarted in SXI_MONI so that it will stop in debug mode in IDX_OUTBOUND_XMB.. But it didn't.
    Can any one help on this ?
    Thanks in Advance..
    Nagarjuna

    If my understanding is correct, your inbound function module processing the IDoc is triggering another IDoc to be sent back to PI? If so, then have you checked the distribution model? If you want to supress it you can try removing it as the outbound Idoc for the logical system in we20 (Partner Profiles)?

  • How to debug FM used in event type linkage?

    Hi experts,
    I have actived below linkage by tcode SWETYPV.
    BO BUS2032  ALECREATED    ,
    and I find the Receiver Function Module is PUR_ORDER_CREATE_VIA_SD_EVENT, can we debug this function module?
    Thank you in advance.
    Richard

    Hi Richard,
    Can you give us  more details about the issue?
    Actually we cannot debug the receiver function module when the event is occured. The reason is, its a background process.
    As far as i know, its not possible to debug the receiver function module.
    To check the event trace, use the transaction SWEL. It will show you whether the action triggered the event or not?
    Thanks,
    Viji.

  • Search idocs using status message EDIDS

    Hi,
    Is it possible to find out the idocs using status message?
    For example, I need the idocs example in test system which has error message "Vendor & is not defined in company code &"
    How to search idocs using error message?
    Thanks for your help.
    Regards,
    Yogita

    Hello Yogita
    You have to select within table EDIDS directly:
    Example:
    STATXT = Item &: Only &2 &3 from material &4 are available
    STAPA1 = syst-MSGV1
    STAPA2 = syst-MSGV2
    STAPA3 = syst-MSGV3
    STAPA4 = syst-MSGV4
    STATYP = syst-msgty (E, W, I, S, A)
    STAMID = syst-msgid
    STAMNO = syst-msgno
    Regards
      Uwe

  • Debugging JSPs using Visual Cafe

              I am using WL 5.1 and trying to figure out how to debug JSPs using Visual Cafe 4.0.(Enterprise Edition). The JSP file is running fine if I use plain "javac" for compilation. If I change the compiler to include -g option (for debug), I get the following error.
              Thu Aug 31 15:46:37 CDT 2000:<E> <ServletContext-General> Servlet failed with Exception
              java.lang.NumberFormatException: error=2
              at java.lang.Integer.parseInt(Integer.java:409)
              at java.lang.Integer.parseInt(Integer.java:458)
              at weblogic.servlet.jsp.JspStub.compilePage JspStub.java:303)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
              at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:168)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:99)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:742)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:686)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:247)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:361)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              weblogic.properties
              weblogic.httpd.initArgs.*.jsp=\
                        pageCheckSeconds=1,\
                        compileCommand=C:/VisualCafeEE/java2/bin/javac.exe -g,\
                        workingDir=C:/weblogic/myserver/classfiles,\
                        verbose=true
              If I don't use -g option, the page gets displayed correctly. Any help would be appreciated.
              Thanks
              Sree Pillai
              

    assuming you are running on Windows, you can use a .cmd file with the
              following command in it
              javac -g %*
              if you name it c:/java/bin/javac.cmd, then replace the line with
              compileCommand=C:/java/bin/javac.cmd,\
              Barry
              Sree <[email protected]> wrote in message
              news:[email protected]...
              >
              > I am using WL 5.1 and trying to figure out how to debug JSPs using Visual
              Cafe 4.0.(Enterprise Edition). The JSP file is running fine if I use plain
              "javac" for compilation. If I change the compiler to include -g option (for
              debug), I get the following error.
              >
              > Thu Aug 31 15:46:37 CDT 2000:<E> <ServletContext-General> Servlet failed
              with Exception
              > java.lang.NumberFormatException: error=2
              > at java.lang.Integer.parseInt(Integer.java:409)
              > at java.lang.Integer.parseInt(Integer.java:458)
              > at weblogic.servlet.jsp.JspStub.compilePage JspStub.java:303)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
              > at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
              > at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > java:168)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:99)
              > at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:742)
              > at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > textImpl.java:686)
              > at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > ContextManager.java:247)
              > at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > a:361)
              > at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              >
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              >
              >
              > weblogic.properties
              > -------
              > weblogic.httpd.initArgs.*.jsp=\
              > pageCheckSeconds=1,\
              > compileCommand=C:/VisualCafeEE/java2/bin/javac.exe -g,\
              > workingDir=C:/weblogic/myserver/classfiles,\
              > verbose=true
              > --------------
              >
              >
              > If I don't use -g option, the page gets displayed correctly. Any help
              would be appreciated.
              >
              > Thanks
              > Sree Pillai
              

  • How to debugg idoc

    hi,
    please guide me how to debugg idoc.

    Hi Subhasis Sahoo,
    Hope these links may help you
    How to debug Idoc?
    How to debug an Outbound IDoc
    How to debug the  idoc.
    How to debug an Outbound IDoc
    OUTBOUND IDOC DEBUGGING
    Regards,
    Ram

  • How to debug using RSNAST00 and jdbg for multiple invoice number

    Hi everyone,
    I want to debug multiple invoice's print preview.
    could anybody tell me the step by step process how to do this using RSNAST00 and JDBG.
    Thanks
    Lisa

    Hi Ali,
        I faced the same problem. Thing is the break point is not getting triggered when i ran tha IDOC through WE19.
    What i have done is i created a project for my exit in CMOD and kept some junk code in the exit and executed it through BD21. Then the Break point got triggered. See if it works.
    Regards,
    Uday S.

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

  • PI-ECC connection (IDOC scenario), how to debug? (External BP)

    Hello everybody,
    In PI -> ECC IDOC scenario I have encountered a debugging problem
    Delivery IDOC is being sent from PI to ECC.
    It is processed with IDOC_INPUT_DELVRY FModule.
    The question is how to debug this communication?
    I try to set external breakpoint in IDOC_INPUT_DELVRY with the user I can see in IDOC processing log
    (IDOC Status details -> 'Logging' tab -> 'Message from' section -> 'User name').
    This user is used to serve communication with PI.
    User is set as dialog and has debugging rights
    When I trigger communication from PI - IDOC is sent but debugger does not popup
    Is my debugging approach incorrect?
    I would appreciate every comment on this.
    Kind Regards,
    P.

    Pothana Yadav
    Thanks a lot for reply!
    What do you mean by checking at Master_Idoc level?
    I am setting a BreakPoint in IDOC_INPUT_DELVRY FModule at the very beginning. Also tried to set BP insidy my BAdi method (which is for sure being call during communication).
    Or maybe you know some other way how to debug such IDOC communication triggered from PI into ECC?
    I know I could use 'endless loop / sm50' trick but then I need to transport source code, which in case of Production is not feasible.
    Regards,
    P.

Maybe you are looking for