<?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: Two questions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606979#M868881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.U can use the Inner join of two tables VBAP and VBAP based on ur requirment Sold-to party. so that u can retreive ur sales doc belongs to that sold-to party.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select ur fields from tables ( Ex: a&lt;SUB&gt;kunnr a&lt;/SUB&gt;vbeln b&lt;SUB&gt;posnr b&lt;/SUB&gt;matnr)&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE (ur internal table)&lt;/P&gt;&lt;P&gt;                   FROM VBAK AS A&lt;/P&gt;&lt;P&gt;                   JOIN VBAP AS B ON A&lt;SUB&gt;VBELN = B&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;                    WHERE    A~KUNNR IN P_KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.IN smartforms the WINDOWS u can see the output options there click the checkboxes DRAW BOXES AND SHADING...&lt;/P&gt;&lt;P&gt;or u can create a window and draw a line in that window where ever u want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 01:20:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-24T01:20:26Z</dc:date>
    <item>
      <title>Two questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606977#M868879</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;I have following 2 questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I want to extract sales document using sold-to and material from VBAK, but don't have primary key document number and also there is no ondex on sold-to.  Looking at the enormous data in VBAK,&lt;/P&gt;&lt;P&gt; Can I do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln from vbak&lt;/P&gt;&lt;P&gt; where vbeln     &amp;lt;&amp;gt; ' ' and&lt;/P&gt;&lt;P&gt;          sold-to  in range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then go to VBAP. Will it help performance by putting VBELN BLANK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Can we draw a line in smartform.  I see only box creation.  Boxes in smartforms don't provide border lines. It has to come thru windows. If the table ends before touching the MAIN window, it has no bottom border line. I want that line. How to acomplish??&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amol..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 14:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606977#M868879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-23T14:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Two questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606978#M868880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 00:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606978#M868880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T00:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Two questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606979#M868881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.U can use the Inner join of two tables VBAP and VBAP based on ur requirment Sold-to party. so that u can retreive ur sales doc belongs to that sold-to party.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select ur fields from tables ( Ex: a&lt;SUB&gt;kunnr a&lt;/SUB&gt;vbeln b&lt;SUB&gt;posnr b&lt;/SUB&gt;matnr)&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE (ur internal table)&lt;/P&gt;&lt;P&gt;                   FROM VBAK AS A&lt;/P&gt;&lt;P&gt;                   JOIN VBAP AS B ON A&lt;SUB&gt;VBELN = B&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;                    WHERE    A~KUNNR IN P_KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.IN smartforms the WINDOWS u can see the output options there click the checkboxes DRAW BOXES AND SHADING...&lt;/P&gt;&lt;P&gt;or u can create a window and draw a line in that window where ever u want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 01:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606979#M868881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T01:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Two questions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606980#M868882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For your first query go to table VAPMA(Sales Index: Order Items by Ma) and you will get your required data with out any joining and MATNR,KUNNR &amp;amp; VBELN all are primary key fields.&lt;/P&gt;&lt;P&gt;So this will give good performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;shyla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:02:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-questions/m-p/3606980#M868882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T04:02:29Z</dc:date>
    </item>
  </channel>
</rss>

