<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Debug Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559232#M1658909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task: I am trying to debug BAPI/FM to see when exactly IDOC is getting triggered.&lt;/P&gt;&lt;P&gt;Technic: ALE Distribution model setup&lt;/P&gt;&lt;P&gt;when I Confirm TO its triggering IDOC(IDOC Message Type SHP_IBDLV_CONFIRM_DECENTRAL underlying BAPI is &lt;STRONG&gt;BAPI_INB_DELIVERY_CONFIRM_DEC&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem facing : when I do Confirm TO i am keeping break point in &lt;STRONG&gt;BAPI_INB_DELIVERY_CONFIRM_DEC&lt;/STRONG&gt; and &lt;STRONG&gt;MASTER_IDOC_DISTRIBUTE&lt;/STRONG&gt;  both the FM/BAPI but not stopping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to debug this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Feb 2012 19:11:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-02-12T19:11:11Z</dc:date>
    <item>
      <title>Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559232#M1658909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task: I am trying to debug BAPI/FM to see when exactly IDOC is getting triggered.&lt;/P&gt;&lt;P&gt;Technic: ALE Distribution model setup&lt;/P&gt;&lt;P&gt;when I Confirm TO its triggering IDOC(IDOC Message Type SHP_IBDLV_CONFIRM_DECENTRAL underlying BAPI is &lt;STRONG&gt;BAPI_INB_DELIVERY_CONFIRM_DEC&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem facing : when I do Confirm TO i am keeping break point in &lt;STRONG&gt;BAPI_INB_DELIVERY_CONFIRM_DEC&lt;/STRONG&gt; and &lt;STRONG&gt;MASTER_IDOC_DISTRIBUTE&lt;/STRONG&gt;  both the FM/BAPI but not stopping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to debug this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2012 19:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559232#M1658909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-12T19:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559233#M1658910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried setting an external breakpoint? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The icon for this is the little stop-sign next to the session breakpoint (in SE37).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may work if MASTER_IDOC_DISTRIBUTE is being called in another session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2012 22:22:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559233#M1658910</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2012-02-12T22:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559234#M1658911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul, I have already tried that, but didn't stop in neither of BAPI or FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2012 23:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559234#M1658911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-12T23:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559235#M1658912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, I'm a little rusty on how IDocs are generated, but maybe it is being done under another userid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try running ST05 during this process, and check the log to see which userid actually creates the IDoc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If it is, say, WF-BATCH, then set an exernal breakpoint for that user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 05:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559235#M1658912</guid>
      <dc:creator>paul_bakker2</dc:creator>
      <dc:date>2012-02-13T05:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559236#M1658913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Reading this seems that system is running FM in Update or Background mode, or user set for this breakpoint is not set for current user when running the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; One aprroach is run this process in trace mode to colect what happened in SE30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 12:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559236#M1658913</guid>
      <dc:creator>former_member214857</dc:creator>
      <dc:date>2012-02-13T12:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559237#M1658914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Switch on the System and Update Debugging.&lt;/P&gt;&lt;P&gt;I think that will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 12:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559237#M1658914</guid>
      <dc:creator>Harsh_Bansal</dc:creator>
      <dc:date>2012-02-13T12:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559238#M1658915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user id through which Idoc created must be different from your id.&lt;/P&gt;&lt;P&gt;To debug it through your id. Do the steps mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the output mode of your message type from "Transfer Immediately" to "Collect Idocs" in WE20.&lt;/P&gt;&lt;P&gt;Hence when you confirm, your Idoc will get created and it will be in waiting status.&lt;/P&gt;&lt;P&gt;Then keep the user breakpoint in your BAPI, and process it through BD87 or RSEOUT00 program.&lt;/P&gt;&lt;P&gt;It will stop and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Raja.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 12:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559238#M1658915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-13T12:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559239#M1658916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for all the suggissions but nothing worked. Again I am trying to find &lt;STRONG&gt;when exactley IDOC is getting triggered&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to check I have deleted &lt;STRONG&gt;BAPI&lt;/STRONG&gt; SHP_IBDLV_CONFIRM_DECENTRAL (underlying BAPI BAPI_INB_DELIVERY_CONFIRM_DEC) in &lt;STRONG&gt;ALE distribution Model&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;Below is the Error message I got, hope you can guide me in correct path for debugging to find out when exactley IDOC is getting triggered.&lt;/P&gt;&lt;P&gt;____________________________________________________________________&lt;/P&gt;&lt;P&gt;No recipient could be determined for object BUS2015 method CONFIRMDECENTRAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Message no. VLBAPI005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The distribution model for decentralized Warehouse Management System&lt;/P&gt;&lt;P&gt;    (decentralized WMS) is not set up correctly with reference to the&lt;/P&gt;&lt;P&gt;    recipient determination for object BUS2015 method CONFIRMDECENTRAL. This&lt;/P&gt;&lt;P&gt;    means that the system cannot determine a recipient for object BUS2015&lt;/P&gt;&lt;P&gt;    method CONFIRMDECENTRAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System Response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The system reacts by issuing a warning message, or by terminating&lt;/P&gt;&lt;P&gt;    processing in critical situations. If a warning message is issued,&lt;/P&gt;&lt;P&gt;    changes are made to the object. If processing is terminated, the object&lt;/P&gt;&lt;P&gt;    retains its original status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Inform your system administrator. After the distribution model has been&lt;/P&gt;&lt;P&gt;    corrected with regards to recipient determination for object BUS2015&lt;/P&gt;&lt;P&gt;    method CONFIRMDECENTRAL, you can save the document and then restart&lt;/P&gt;&lt;P&gt;    distribution or repeat the workstep that was canceled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure for System Administration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The system attempts to determine a recipient for object BUS2015 method&lt;/P&gt;&lt;P&gt;    CONFIRMDECENTRAL using the filter object types WHSE_NO. The system&lt;/P&gt;&lt;P&gt;    cannot determine a recipient. Define a filter object type WHSE_NO with a&lt;/P&gt;&lt;P&gt;    valid filter value for recipient determination for object BUS2015 method&lt;/P&gt;&lt;P&gt;    CONFIRMDECENTRAL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 18:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559239#M1658916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-13T18:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559240#M1658917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDocs are processed in background task by default. But you can load the IDoc with WE19 test tool and then use DEBUG to process. Here all your breakpoints work. WE 19 will create a copy of your IDoc and process it synchronous in foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please don't get confused if you have a new IDoc number then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 22:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559240#M1658917</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2012-02-13T22:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559241#M1658918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to reslove this myslef by going through transaction code BDBG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your responses.&lt;/P&gt;&lt;P&gt;sarath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 15:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559241#M1658918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-16T15:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559242#M1658919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you elaborate how you debugged the bapi BAPI_INB_DELIVERY_CONFIRM_DEC? I am facing the same issue. Whenever the IBDN is confirmed, the idoc is automatically generated. And it will not stop at any break point that I put in the bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 19:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559242#M1658919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T19:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559243#M1658920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I was able to debug by setting 'allow update debug', and it did stop at function module ALE_INB_DELIVERY_CONFIRM_DEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have new question, I thought that user exit EXIT_SAPLV50I_002 should be triggered when outbound idoc is created. But it was not called at all. I did all the cmod stuff to activate it. But it will not stop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help?&lt;/P&gt;&lt;P dir="ltr" id="imcontent"&gt;&lt;SPAN dir="ltr" style="font-family: 'Segoe UI'; color: #000000; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2012 22:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-issue/m-p/8559243#M1658920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-11T22:08:38Z</dc:date>
    </item>
  </channel>
</rss>

