<?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: Database view with complex join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-with-complex-join/m-p/10080597#M1812832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natasa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to achieve the scenario what you have mentioned in Database view. &lt;/P&gt;&lt;P&gt;You can problematically achieve this by calling the FM &lt;STRONG&gt;VIEW_MAINTENANCE_CALL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the distinct data from ZCONT &amp;amp; then populate the values in the internal table gt_seltab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saphub.com/abap-dictionary/sap-abap-tmg-selection-screen/" title="http://www.saphub.com/abap-dictionary/sap-abap-tmg-selection-screen/"&gt;Create Selection Screen for SAP Table Maintenance View (SM30) - SAPHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Mar 2014 10:59:47 GMT</pubDate>
    <dc:creator>karthikeyan_p3</dc:creator>
    <dc:date>2014-03-03T10:59:47Z</dc:date>
    <item>
      <title>Database view with complex join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-with-complex-join/m-p/10080596#M1812831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a help about next case:&lt;/P&gt;&lt;P&gt;I have a view ZLFA1 which lists vendors. Also, I have a view ZCONT which lists some documents for vendors.&lt;/P&gt;&lt;P&gt;Now I need to add ZCONT in ZLFA1 and connect them via LIFNR field, so ZLFA1 should list only vendors which exist in ZCONT. But since there are more than one record in ZCONT for particular vendor, I am getting more than one record in ZLFA1 for particular vendor and I should get only one.&lt;/P&gt;&lt;P&gt;In other words, I need a condition like:&lt;/P&gt;&lt;P&gt;WHERE ZLFA1-LIFNR EXISTS IN (SELECT DISTINCT LIFNR FROM ZCONT).....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do via transaction SE11, and if not, how can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 10:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-with-complex-join/m-p/10080596#M1812831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-03T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Database view with complex join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-with-complex-join/m-p/10080597#M1812832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natasa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to achieve the scenario what you have mentioned in Database view. &lt;/P&gt;&lt;P&gt;You can problematically achieve this by calling the FM &lt;STRONG&gt;VIEW_MAINTENANCE_CALL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the distinct data from ZCONT &amp;amp; then populate the values in the internal table gt_seltab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saphub.com/abap-dictionary/sap-abap-tmg-selection-screen/" title="http://www.saphub.com/abap-dictionary/sap-abap-tmg-selection-screen/"&gt;Create Selection Screen for SAP Table Maintenance View (SM30) - SAPHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthikeyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 10:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-view-with-complex-join/m-p/10080597#M1812832</guid>
      <dc:creator>karthikeyan_p3</dc:creator>
      <dc:date>2014-03-03T10:59:47Z</dc:date>
    </item>
  </channel>
</rss>

