<?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 VBAK and VBRK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145767#M452604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vbrk-vgbel same as lips-vbeln&lt;/P&gt;&lt;P&gt;and now lips-vgbel is same as vbak-vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2007 05:09:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-30T05:09:46Z</dc:date>
    <item>
      <title>link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145766#M452603</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;How to link VBAK(sales order)and VBRK(billing document)?&lt;/P&gt;&lt;P&gt;what are the fields to link and how to link. because vbak-vbeln is sales order number and vbrk-vbeln is billing document number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;smita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:07:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145766#M452603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145767#M452604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vbrk-vgbel same as lips-vbeln&lt;/P&gt;&lt;P&gt;and now lips-vgbel is same as vbak-vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145767#M452604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145768#M452605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hopen this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will give u some idea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;vbeln b&lt;/SUB&gt;fkdat into table itab from vbak as a inner join&lt;/P&gt;&lt;P&gt;vbrk as b on&lt;/P&gt;&lt;P&gt;a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln where&lt;/P&gt;&lt;P&gt;a~audat in s_audat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fkimg into corresponding fields of table itab_final&lt;/P&gt;&lt;P&gt;from vbrp for all entries in itab&lt;/P&gt;&lt;P&gt;where vbeln = itab-vbeln and&lt;/P&gt;&lt;P&gt;matnr = p_matnr and&lt;/P&gt;&lt;P&gt;charg = p_charg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;navjot&lt;/P&gt;&lt;P&gt;Pls reward fopr helpful replies!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        navjot sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:13:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145768#M452605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145769#M452606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check VBFA table.&lt;/P&gt;&lt;P&gt;You get relation between sales order number and billing document number there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145769#M452606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145770#M452607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tarun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know VBFA table link between VBAK and VBRK  , But what  are fields and how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145770#M452607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145771#M452608</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;Following tables are included in link (In chronological order):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAK - sales documetn header,&lt;/P&gt;&lt;P&gt;VBAP - Sales document item&lt;/P&gt;&lt;P&gt;LIPS - Sales doc. Delivery items&lt;/P&gt;&lt;P&gt;VBRP - billing item data&lt;/P&gt;&lt;P&gt;VBRK - Billing header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;generally sales doc and billing docs are related by delivery docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can join these tables using joins in select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join structure will loolk like.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select .....&lt;/P&gt;&lt;P&gt;from vbak as a &lt;/P&gt;&lt;P&gt;inner join vbap as b on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln &lt;/P&gt;&lt;P&gt;inner join lips as c on c&lt;SUB&gt;vgbel = b&lt;/SUB&gt;vbeln and c&lt;SUB&gt;vgpos = b&lt;/SUB&gt;posnr&lt;/P&gt;&lt;P&gt;inner join vbrp as d on d&lt;SUB&gt;vgbel = c&lt;/SUB&gt;vbeln and d&lt;SUB&gt;vgpos = c&lt;/SUB&gt;posnr&lt;/P&gt;&lt;P&gt;inner join VBRK as e on e&lt;SUB&gt;vbeln = d&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, pl refer following file, very helpful, forever.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/sap-download/sap-tables.zip" target="test_blank"&gt;http://www.sap-img.com/sap-download/sap-tables.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Reward if helpful...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145771#M452608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145772#M452609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vbrp-vgbel = lips-vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get vgbel from lips&lt;/P&gt;&lt;P&gt;lips-vgbel = vbak-vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145772#M452609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145773#M452610</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;vbrk-vbeln eq vbak-vbeln for vbak-vbtyp eq 'M'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBTYP is SD document category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on VBRK&lt;SUB&gt;VBELN EQ VBAK&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;WHERE VBAK~VBTYP EQ 'M'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:33:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145773#M452610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145774#M452611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt; VBFA table is the table for Sales Document Flow..SO In the field "Follow-On-Document" if we type the Billing document number, you will get the preceeding documents..there you can see the Sales Document numbers corresponding to them...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select VBELV &lt;/P&gt;&lt;P&gt;  from VBFA&lt;/P&gt;&lt;P&gt;  into table itab&lt;/P&gt;&lt;P&gt;where vbeln in s_billindocument&lt;/P&gt;&lt;P&gt;       and VBTYP_N = 'M'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rammohan Nagam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:39:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145774#M452611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145775#M452612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can link VBRP and VBAP table using VBRP-AUBEL = VBAP-VBELN and VBRP-AUPOS = VBAP-POSNR.Header table you can't link, always links will be in Item tables.&lt;/P&gt;&lt;P&gt;Join VBAK and VBAP  and VBRL VBRP using above link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also using VBFA table:&lt;/P&gt;&lt;P&gt;Pass the Preceding Document as VBAK-VBELn and Preceeding Doc type as C(order) and Subceeding Doc as VBRK-VBELN and Subse doc Type as M.&lt;/P&gt;&lt;P&gt;hope you understood .&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145775#M452612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145776#M452613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt; these are table relations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vbak n vbrk is vbeln&lt;/P&gt;&lt;P&gt;vbak n vbrp is vbeln&lt;/P&gt;&lt;P&gt;vbak n vbfa is vbeln, vbelv n vbtyp_n&lt;/P&gt;&lt;P&gt;vbak n lips is vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;alson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 06:39:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145776#M452613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T06:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145777#M452614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize you've probably figured this out by now, but since I found this on a search and others might, here's what I found:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAK joins VBAP through VBELN&lt;/P&gt;&lt;P&gt;VBAP joins VBRP through VBAP-VBELN=VBRP-AUBEL and VBAP-POSNR=VBRP-AUPOS&lt;/P&gt;&lt;P&gt;VBRP joins VBRK though VBELN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data elements for VBELN are different even though the names are the same (se11 helps)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure some of the other answers worked, I just couldn't follow them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2007 16:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145777#M452614</guid>
      <dc:creator>former_member199684</dc:creator>
      <dc:date>2007-12-18T16:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: link between VBAK and VBRK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145778#M452615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lee.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 11:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/link-between-vbak-and-vbrk/m-p/2145778#M452615</guid>
      <dc:creator>former_member214709</dc:creator>
      <dc:date>2013-05-16T11:43:27Z</dc:date>
    </item>
  </channel>
</rss>

