<?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: Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889202#M372578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query on VBFA(Document flow) table to get the Sales document and Delivery number for the Invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the Invoice no(VBRK_VBELN) to VBFA-VBELN then it will give the Sales order and Delivery no to VBFA-VBELV field.&lt;/P&gt;&lt;P&gt;To get the Sales Order Specify VBFA-VBTYP_V = 'C'&lt;/P&gt;&lt;P&gt;To get the Delivery no Specify VBFA-VBTYP_V = 'J'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2007 17:57:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-23T17:57:14Z</dc:date>
    <item>
      <title>Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889201#M372577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had fetched data into an internal table from VBRK, with this vbeln how can i link with the tables LIKP and VBAK and get the corresponding delivery and sales document number???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 17:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889201#M372577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T17:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889202#M372578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query on VBFA(Document flow) table to get the Sales document and Delivery number for the Invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the Invoice no(VBRK_VBELN) to VBFA-VBELN then it will give the Sales order and Delivery no to VBFA-VBELV field.&lt;/P&gt;&lt;P&gt;To get the Sales Order Specify VBFA-VBTYP_V = 'C'&lt;/P&gt;&lt;P&gt;To get the Delivery no Specify VBFA-VBTYP_V = 'J'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 17:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889202#M372578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T17:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889203#M372579</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;U should find the link in VBRP table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- VBRP-VGBEL   = Delivery number&lt;/P&gt;&lt;P&gt;- VBRP-VGPOS  = Delivery Item number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- VBRP-AUBEL   = Sales order number&lt;/P&gt;&lt;P&gt;- VBRP-AUPOS  = Sales order item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use VBFA table but I believe to read VBRP (VBRP-VBELN = VBRK-VBELN) is faster than to read VBFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 17:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889203#M372579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T17:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889204#M372580</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;1) SALES ORDER&lt;/P&gt;&lt;P&gt;VBRP-AUBEL = VBAK-VBELN&lt;/P&gt;&lt;P&gt;VBRP-AUPOS = VBAP-POSNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) DELIVERY NUMBER&lt;/P&gt;&lt;P&gt;VBRP-VGBEL = LIKP-VBELN&lt;/P&gt;&lt;P&gt;VBRP-VGPOS = LIPS-POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 18:01:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889204#M372580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T18:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889205#M372581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i knew the same 2...but my doubt is.. in VBFA for a billing document number u will get atleast 2 vbelv's so on what condition do i decide that one is Delivery no. and the other sales order i.e programmatically&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 18:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889205#M372581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T18:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889206#M372582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use this FM to get subsequence document flow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RV_FLOW                   &lt;/P&gt;&lt;P&gt;RV_ORDER_FLOW_INFORMATION &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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 18:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889206#M372582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T18:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889207#M372583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the Invoice no(VBRK_VBELN) to VBFA-VBELN then it will give the Sales order and Delivery no to VBFA-VBELV field.&lt;/P&gt;&lt;P&gt;To get the Sales Order Specify VBFA-VBTYP_V = 'C'&lt;/P&gt;&lt;P&gt;To get the Delivery no Specify VBFA-VBTYP_V = 'J'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 18:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889207#M372583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T18:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889208#M372584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Billing document can be linked to Sales Document through VBRP - Billing Item table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step1&amp;lt;/b&amp;gt;    Get the Billing Item details from VBRP for all the billing documents from VBRK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step2&amp;lt;/b&amp;gt;    Get the Sales document details from VBAP/VBAK by linking &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AUBEL      - Sales Document&lt;/P&gt;&lt;P&gt;AUPOS&amp;lt;/b&amp;gt;    - Sales item&lt;/P&gt;&lt;P&gt;  from VBRP to VBAP. Thus you can get Sales Document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step3&amp;lt;/b&amp;gt;  Delivery details can be obtained from LIKP by relating LIPS-VGBEL to VBAP-VBELN and LIPS-VGPOS to VBAP_POSNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Step4&amp;lt;/b&amp;gt; Once you get the Delivery details, delivery document can be read either from LIKP or LIPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 18:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help/m-p/1889208#M372584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T18:08:09Z</dc:date>
    </item>
  </channel>
</rss>

