<?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 Relationship for query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258222#M489262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my requirement, I have input field as purchase#(VBMTV-BSTKD), shiptoparty, sales organization, dist. channel, and I want output that at iteam level from structure that is Tot ord. qty(VBAPVB-KWMENG).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I have to findout sales doc# (VBELN) for regarding purchase#.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what will be the flow for this query? &lt;/P&gt;&lt;P&gt;Also I know sturcture names, can I write query on structure?&lt;/P&gt;&lt;P&gt;Which table will involve for this query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 May 2007 16:17:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-12T16:17:59Z</dc:date>
    <item>
      <title>Relationship for query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258222#M489262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my requirement, I have input field as purchase#(VBMTV-BSTKD), shiptoparty, sales organization, dist. channel, and I want output that at iteam level from structure that is Tot ord. qty(VBAPVB-KWMENG).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I have to findout sales doc# (VBELN) for regarding purchase#.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what will be the flow for this query? &lt;/P&gt;&lt;P&gt;Also I know sturcture names, can I write query on structure?&lt;/P&gt;&lt;P&gt;Which table will involve for this query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 16:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258222#M489262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T16:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship for query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258223#M489263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use the tables &amp;lt;b&amp;gt;VBAK and VBAP&amp;lt;/b&amp;gt; of sales order header and Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total order qty field is VBAP-KWMENG&lt;/P&gt;&lt;P&gt;purchase#(VBAK-BSTNK), shiptoparty(VBAK-KUNAG), sales organization(VBAK-VKORG), dist. channel(VBAK-VTWEG) all are in VBAK table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so based on these parameters of VBAK you can fetch data by joining the two tables VBAk and VBAP with the field VBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 16:28:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258223#M489263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T16:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship for query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258224#M489264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 20:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258224#M489264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T20:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship for query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258225#M489265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to get VBELN, if you have value of KUNNR,&lt;/P&gt;&lt;P&gt;means which table has KUNNR as primary key &amp;amp; VBELN as secondary key?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 20:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258225#M489265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T20:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship for query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258226#M489266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check BSID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 20:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relationship-for-query/m-p/2258226#M489266</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-05-12T20:51:51Z</dc:date>
    </item>
  </channel>
</rss>

