<?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: selection for sales docs from billing doc header in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690249#M1102476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get the Sales Order number from the VBRP. Fields are:&lt;/P&gt;&lt;P&gt;AUBEL  Sales Document&lt;/P&gt;&lt;P&gt;AUPOS  Sales Document Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use the VBFA table to look for the doucment flow to find out the Sales Order attached to that billing document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I would suggest to use the VBRP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2008 14:44:48 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2008-11-05T14:44:48Z</dc:date>
    <item>
      <title>selection for sales docs from billing doc header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690248#M1102475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;   I have billing document header data i.e. vbrk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have to select all the sale order documents(vbap) . the billing docs are must be posted against deliveray docs(lips).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any view that is available ? or i need to query directly ?&lt;/P&gt;&lt;P&gt;if i have to query is for all entries faster or nested query faster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amarender Reddy B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 14:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690248#M1102475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T14:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: selection for sales docs from billing doc header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690249#M1102476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get the Sales Order number from the VBRP. Fields are:&lt;/P&gt;&lt;P&gt;AUBEL  Sales Document&lt;/P&gt;&lt;P&gt;AUPOS  Sales Document Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use the VBFA table to look for the doucment flow to find out the Sales Order attached to that billing document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I would suggest to use the VBRP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 14:44:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690249#M1102476</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-11-05T14:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection for sales docs from billing doc header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690250#M1102477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nimesh,&lt;/P&gt;&lt;P&gt;  Thanks for fast reply...&lt;/P&gt;&lt;P&gt;i have a doubt here ....'there can be several sales documents per delivery document (OR a delivery docuemnt can be created from several sales docuements)'  in this case, vbrp cant contain all the sales orders...&lt;/P&gt;&lt;P&gt;am i right? please correct me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 14:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690250#M1102477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: selection for sales docs from billing doc header</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690251#M1102478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write a select statement on VBFA, select vbelv posnv from vbfa where vbeln = vbrp-vbeln and posnn = vbrp-posnr and vbtyp_v = 'C'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 19:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-for-sales-docs-from-billing-doc-header/m-p/4690251#M1102478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T19:08:50Z</dc:date>
    </item>
  </channel>
</rss>

