<?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: Debug Logical Database DDF through F104 transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801820#M1780040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Go to SE36, give logical database name,choose radiobutton "Database Program". &lt;/LI&gt;&lt;LI&gt;Program "SAPDBDDF" would be opened.(You can open this program directly from SE38 as well).&lt;/LI&gt;&lt;LI&gt;Find "PUT_BKPF" in source code and put a break point there.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Oct 2013 09:48:22 GMT</pubDate>
    <dc:creator>former_member188827</dc:creator>
    <dc:date>2013-10-18T09:48:22Z</dc:date>
    <item>
      <title>Debug Logical Database DDF through F104 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801819#M1780039</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 would like to know how&amp;nbsp; to debug the logical database (i.e. DDF) program&amp;nbsp; used in transaction F104 through F104.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, we have custom tcode created which is copy of F104 transaction. But Zcode is returning message &lt;STRONG&gt;'Document header for company code &amp;lt;xxxx&amp;gt; Doc. Number &amp;lt;xxxxxxxxxx&amp;gt;not found' &lt;/STRONG&gt;from LDB program SAPDBDDF from sub routine PUT_BKPF. But same is not applicable from standard tcode F104.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 09:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801819#M1780039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-18T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Logical Database DDF through F104 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801820#M1780040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Go to SE36, give logical database name,choose radiobutton "Database Program". &lt;/LI&gt;&lt;LI&gt;Program "SAPDBDDF" would be opened.(You can open this program directly from SE38 as well).&lt;/LI&gt;&lt;LI&gt;Find "PUT_BKPF" in source code and put a break point there.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 09:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801820#M1780040</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2013-10-18T09:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Logical Database DDF through F104 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801821#M1780041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check B0SG fields. As per documentation of logical database, they can influence on the data readed from the database&lt;/P&gt;&lt;H3&gt;Table selection&lt;/H3&gt;&lt;P&gt;In order to improve performance, individual tables can be excluded from selection. The following tables can be set in the application report AT THE TIME OF INITIALIZATION or AT THE START OF SELECTION:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;B0SG-XAGSL (blank as a default): if an 'X' is entered in this field, then only A and B segments are read; in this case, only A segments for which there are no B segments are selected - this is normally not the case.&lt;/LI&gt;&lt;LI&gt;B0SG-XBNKL ('X' as a default): if this field is left blank, then the bank data is not read.&lt;/LI&gt;&lt;LI&gt;B0SG-XSTDL ('X' as a default): if this field is left blank, then the tax data is not read.&lt;/LI&gt;&lt;LI&gt;B0SG-XMNDL ('X' as a default): if this field is left blank, then the dunning data is not read.&lt;/LI&gt;&lt;LI&gt;B0SG-XKKDL ('X' as a default): if this field is left blank, then the customer credit data is not read.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure your program does a GET BSID before GET BKPF . The document number is readed in PUT_BSID form&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;SAVE_BELNR = BSID-BELNR.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;SAVE_BUZEI = BSID-BUZEI.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;SAVE_GSBER = BSID-GSBER.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;SAVE_GJAHR = BSID-GJAHR.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 09:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801821#M1780041</guid>
      <dc:creator>alejandro_mejias</dc:creator>
      <dc:date>2013-10-18T09:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Logical Database DDF through F104 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801822#M1780042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this already. It will not trigger when we execute the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 05:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801822#M1780042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-21T05:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Logical Database DDF through F104 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801823#M1780043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I could not get how mentioned paraameters helps debugging the LDB through transaction specified.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinldy clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ashwini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 06:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801823#M1780043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-21T06:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Logical Database DDF through F104 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801824#M1780044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me,&amp;nbsp; I'm not correctly read the message. I only provide some information to solve the issue, as per previous experiences, but not to help you debug.&lt;/P&gt;&lt;P&gt;Debugging a logical database program is not easy as far as some short dumps may occur if a commit work is raised in a SELECT-ENDSELECT statement. &lt;/P&gt;&lt;P&gt;Maybe identifying database logic you will find better the error. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 06:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801824#M1780044</guid>
      <dc:creator>alejandro_mejias</dc:creator>
      <dc:date>2013-10-21T06:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Logical Database DDF through F104 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801825#M1780045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to give you some ideas for debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For every GET table in the logical database ,the form PUT_table is executed.&lt;/P&gt;&lt;P&gt;For instance, if your program contains somthing like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;GET BKPF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; write: / BKPF-BELNR.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The form put_bkpf from SAPDBDDF will be called for each row. If you look at this form there are some put BKPF statements. After this statetemt, your code will receive the control and &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;write: / BKPF-BELNR&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If you put a break-point, at the beginning of this form, you could be able to debug after each GET.&lt;/P&gt;&lt;P&gt;If your program doesn't stop, is beacuse some condition or a previous selection is not correct.&lt;/P&gt;&lt;P&gt;In this case, try to put a break-point in a previous table in the logical database structure , in put_bsid form, for instance, or even in put_KNB1&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/301730" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 07:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-logical-database-ddf-through-f104-transaction/m-p/9801825#M1780045</guid>
      <dc:creator>alejandro_mejias</dc:creator>
      <dc:date>2013-10-21T07:15:19Z</dc:date>
    </item>
  </channel>
</rss>

