<?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: Problem with Logical Database - Get stmt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857044#M1320737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2010 04:36:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-10T04:36:17Z</dc:date>
    <item>
      <title>Problem with Logical Database - Get stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857040#M1320733</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;   There is a standard LDB which is used in custom developed report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When there is no record fetched from B table, it moves to end-of-selection and finishes the report execution. But in some cases I dont want this to happen. Only GET A needs to be executed. It need not do a GET B statement, since there is no corresponding record in B table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If some condition.&lt;/P&gt;&lt;P&gt;    GET A.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;    GET A.&lt;/P&gt;&lt;P&gt;    GET B.&lt;/P&gt;&lt;P&gt;endif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is not posiible., since it cant be binded by If stmts. &lt;/P&gt;&lt;P&gt;Please let me know how can this be achieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 15:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857040#M1320733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T15:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Logical Database - Get stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857041#M1320734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to use fm LDP_PROCESS for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check demo program DEMO_LOGICAL_DATABASE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 15:57:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857041#M1320734</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-07-09T15:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Logical Database - Get stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857042#M1320735</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;Try Reject statment...check Sap help for more info..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GET A.
IF some condition.
  REJECT.
ENDIF..

GET B.
endif,&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 16:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857042#M1320735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T16:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Logical Database - Get stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857043#M1320736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats fine. But I dont want the GET B to get executed. Since there is no record in tht table for tht condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get B  -&amp;gt; Fetch wil return no record. So it goes to end-of-selection and completed report processing. But in my case it shouldnt happen. It should proceed further down in processing the report. So only i thought&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If some condition.&lt;/P&gt;&lt;P&gt;  Get B&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when there is no record case, Get B will not be executed. Binding by if is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please let me know how to proceed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 16:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857043#M1320736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T16:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Logical Database - Get stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857044#M1320737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 04:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-logical-database-get-stmt/m-p/5857044#M1320737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-10T04:36:17Z</dc:date>
    </item>
  </channel>
</rss>

