<?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 Re: Batch-input: debugging tip in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-debugging-tip/m-p/7625044#M1570636</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;This is the way I found to set a "break-point" in a Batch-input:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need to know which screen causes the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than, at the loop which fills the BDCDATA with the desired screen's details, insert a new record to BDCDATA and set field "FNAM" with any text you want.&lt;/P&gt;&lt;P&gt;This would stops the Batch-input with error "Field &amp;lt;any text&amp;gt; does not exist for screen...".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the Batch-input stops at your error, type &lt;STRONG&gt;"/BDA"&lt;/STRONG&gt; at the session's Command-line, to switch to Foreground processing, and hit Enter to resume in Mode=A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; Make sure you are in Mode=E, so the Batch-input stops at your error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy.&lt;/P&gt;&lt;P&gt;Ayal Telem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 09:01:07 GMT</pubDate>
    <dc:creator>yes_sapteam</dc:creator>
    <dc:date>2011-02-01T09:01:07Z</dc:date>
    <item>
      <title>Batch-input: debugging tip</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-debugging-tip/m-p/7625043#M1570635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a way for better debugging of a Batch-input session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, to debug a Batch-input problem, you have to run it in Mode=A, but that means you are going through &lt;STRONG&gt;all&lt;/STRONG&gt; the screens until you reach the problematic one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a way to control the Batch-input, so I can tell it when to stop the background processing and switch to foreground.&lt;/P&gt;&lt;P&gt;Of course, I can always change the BDCDATA table in debug, just before I send it to the CALL TRANSACTION, to have an error I can recover from (like setting wrong OK code  for a certain screen), but I'm looking for a better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Ayal Telem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 07:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-debugging-tip/m-p/7625043#M1570635</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2011-02-01T07:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Batch-input: debugging tip</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-debugging-tip/m-p/7625044#M1570636</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;This is the way I found to set a "break-point" in a Batch-input:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need to know which screen causes the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than, at the loop which fills the BDCDATA with the desired screen's details, insert a new record to BDCDATA and set field "FNAM" with any text you want.&lt;/P&gt;&lt;P&gt;This would stops the Batch-input with error "Field &amp;lt;any text&amp;gt; does not exist for screen...".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the Batch-input stops at your error, type &lt;STRONG&gt;"/BDA"&lt;/STRONG&gt; at the session's Command-line, to switch to Foreground processing, and hit Enter to resume in Mode=A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; Make sure you are in Mode=E, so the Batch-input stops at your error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy.&lt;/P&gt;&lt;P&gt;Ayal Telem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 09:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-input-debugging-tip/m-p/7625044#M1570636</guid>
      <dc:creator>yes_sapteam</dc:creator>
      <dc:date>2011-02-01T09:01:07Z</dc:date>
    </item>
  </channel>
</rss>

