<?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: Link between VBAP (Sales docs) and VBRK (Billing) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843361#M1957609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can post some screenshots of what you are seeing in VBFA vs VBRP? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2016 12:48:11 GMT</pubDate>
    <dc:creator>Juwin</dc:creator>
    <dc:date>2016-07-21T12:48:11Z</dc:date>
    <item>
      <title>Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843349#M1957597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need to get the VBRK data that corresponds to a particular VBAP record. The logical path would be accessing vbrk.vbeln using the VBRP table (vbrp.aubel = vbap.vbeln , vbrp.aupos = vbrp.posnr).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that, at least in our system, we don’t have an index with AUBEL/AUPOS, so a search as the above described results in a full table scan…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An additional issue is that I can have several vbrk.vbeln documents (cancelled or not) for a particular vbap.vbeln/vbap.posnr record, so the VBFA table is (I think) of not help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 16:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843349#M1957597</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-20T16:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843350#M1957598</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;Yes use VBFA, vbfa-vbelv = vbap-vbeln &amp;amp; vbtyp_n = 'M' &amp;amp; vbtyp_v = 'C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the invoice in VBFA-VBELN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 16:39:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843350#M1957598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T16:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843351#M1957599</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;If you need to get the bills generated from a certain sales order, so your research needs to start from sales order, you need to use VBFA table (you can use fm&amp;nbsp; RV_ORDER_FLOW_INFORMATION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In VBFA table you should find cancelled bill too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 16:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843351#M1957599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T16:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843352#M1957600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I have two or more records with the same aubel/aupos in VBRP, corresponding to two or more VBRK(vbeln).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use VBFA I get only one record. In this case, the "valid" (not canceled) document. Nevertheless, I need to access all the vbeln records (canceled (fksto = 'X') ) or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 16:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843352#M1957600</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-20T16:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843353#M1957601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your post.&amp;nbsp; I'm afraid that, as far as I have been able to verify, the VBFA table shows only one record (the "valid" one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in VBAP I have:&lt;/P&gt;&lt;P&gt;VBELN = 6100627040, POSNR = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in VBFA I have:&lt;/P&gt;&lt;P&gt;VBELV = 6100627040, POSNV = 000001, VBELN = 8010100038, VBTYP_N&amp;nbsp; =&amp;nbsp; M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, if I check VBRP, I get two(2) differnt VBELNs for AUBEL = 6100627040 and AUPOS = 1&lt;/P&gt;&lt;P&gt;8010100035 (FKSTO = 'X')&lt;/P&gt;&lt;P&gt;8010100038 (FKSTO = space)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that VBRP is missing an AUBEL/AUPOS index, so the search is VERY slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 17:44:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843353#M1957601</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-20T17:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843354#M1957602</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 don't know your flow, but I suppose it depends on how you're looking for in VBFA: try to check how bill &lt;SPAN style="color: #333333; font-size: 12px;"&gt;8010100035 is inserted in VBFA table&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 18:07:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843354#M1957602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T18:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843355#M1957603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why you want to go to VBRP and fetch records from VBRP for sales order using AUBEL/SUPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch the billing documents from VBFA for both invoice and cancellation invoice (vbtyp_n = M, N) and validate those billing documents from VBRK and details from VBRP for entires in VBRK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also get cancelled invoices from VBFA as well so compare those from VBRK and get the corresponding details from VBRP for all entries in VBRK. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 18:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843355#M1957603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T18:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843356#M1957604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our users want to query the sales documents (VBRK.VBELN) using the vbak.bstnk field (&lt;SPAN class="st"&gt;Customer purchase order number) . So far, so good...So we link these to the VBAP table (to check the sales document detail) and, as we need some additional data from the invoices (such as FKSTO (canceled status) and some Z-fields), we need the VBRK.VBELN value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;As I wrote before, if I check the VBFA table I get only one VBELN. If I use the VBRP table I may get two (or more). One (or more) of them may be canceled, a info that our users may find important.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;Luis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 18:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843356#M1957604</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-20T18:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843357#M1957605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bill &lt;SPAN style="color: #333333; font-size: 12px;"&gt;8010100035 appears in the VBELV table,pointing to the "canceling" bill (9910016265) , But the point here is that I need to get both 8* numbers from the single VBAP record, which I haven't been able to do without resorting to use the VBRP table (which is a big no-no in performance terms).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Luis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 18:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843357#M1957605</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-20T18:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843358#M1957606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yo should get all the invoices from VBFA , use VBTYP_N = (M &amp;amp; N)&amp;nbsp; for single order and item if there are any cancellations you might get here as well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 19:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843358#M1957606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-20T19:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843359#M1957607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VBFA should give you all the links as &lt;A __default_attr="54786" __jive_macro_name="user" class="jive_macro_user jive_macro" data-orig-content="max bianchi" href="https://community.sap.com/"&gt;&lt;/A&gt; mentioned above. But, if you think you are getting extra entries from that table, you can always double check that with another VBRP query. This time, when you query VBRP, pass the VBELN and POSNN retrieved from VBFA query, to quicken the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 19:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843359#M1957607</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2016-07-20T19:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843360#M1957608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is not extra entries from VBFA, is not ENOUGH entries. As I wrote in other posts, there are some vbrp.vbeln entries that do not appear in vbfa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Googling around I have found several posts that advise against creating extra indexes for VBRP. In fact, our table is quite large, and I can understand the reasons for avoiding an additional index...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 20:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843360#M1957608</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-20T20:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843361#M1957609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can post some screenshots of what you are seeing in VBFA vs VBRP? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 12:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843361#M1957609</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2016-07-21T12:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843362#M1957610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;This can be achieved via SQVI Table Join VBAK, VBAP, VBRK &amp;amp; VBRP.&amp;nbsp; Discuss with your functional resource if you are a technical resource and not aware of SQVI functionality.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;G. Lakshmipathi &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 13:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843362#M1957610</guid>
      <dc:creator>Lakshmipathi</dc:creator>
      <dc:date>2016-07-21T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843363#M1957611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ypur post. Here is (I hope &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ) the data you requested...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/1000012" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 13:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843363#M1957611</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-21T13:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843364#M1957612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of what SQVI is, and its functionality. Nevertheless, this is part of something that goes beyond of a simple query. Also, as I have posted before, the main problem here is that the VBRP query times are very slow where using only AUBEL/AUPOS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 13:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843364#M1957612</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-21T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843365#M1957613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What were your selection parameters for VBFA select? Did you just input the order number? If yes, then I feel that, there is some issue with the document flow. Is this behavior specific to this document number or other cancelled documents also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you also post a document flow diagram for this order, from VA03?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Juwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 14:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843365#M1957613</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2016-07-21T14:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Link between VBAP (Sales docs) and VBRK (Billing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843366#M1957614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Juwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBFA was accessed using VBFA.VBELV = VBAP.VBELN and VBFA.POSNV = VBAP.POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I check VA03 I get :&lt;/P&gt;&lt;P&gt;Order No. 6200206871 -&amp;gt; Delivery (sales inquiry) 7200214135 -&amp;gt; Billing No. 8010100038&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that's exactly what I would expect it to be for a valid order. The same results I get if I query the VBFA table using VBAP.VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There seem to be several other documents with the same behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What bugs me is that the only references I can get to the canceled order are in VBRP and in VBAK..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I will have to bite the bullet and ask our DB people to create an index for VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help and interest in this case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 14:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbap-sales-docs-and-vbrk-billing/m-p/11843366#M1957614</guid>
      <dc:creator>luis_rod</dc:creator>
      <dc:date>2016-07-21T14:48:03Z</dc:date>
    </item>
  </channel>
</rss>

