<?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:bseg Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bseg-table/m-p/7353331#M1540972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have sales order number from that i am able to get the billing document number from VBFA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am passing input to the BSEG table billing documnet number  and customer number and to get the Advance payment&lt;/P&gt;&lt;P&gt;and also the Actual payment so is it suffiicient to read the BSEG Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and make clear how can i get the Outstanding amount related to that salesorder. i mean hear i want to get it from table with out doing manual calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also guide me BSEG is Cluster table if i use selct statement na it is database cost so any function modules available for read it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ........................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 06:25:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-11T06:25:06Z</dc:date>
    <item>
      <title>Re:bseg Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bseg-table/m-p/7353331#M1540972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have sales order number from that i am able to get the billing document number from VBFA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am passing input to the BSEG table billing documnet number  and customer number and to get the Advance payment&lt;/P&gt;&lt;P&gt;and also the Actual payment so is it suffiicient to read the BSEG Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and make clear how can i get the Outstanding amount related to that salesorder. i mean hear i want to get it from table with out doing manual calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also guide me BSEG is Cluster table if i use selct statement na it is database cost so any function modules available for read it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ........................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 06:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-bseg-table/m-p/7353331#M1540972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-11T06:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re:bseg Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bseg-table/m-p/7353332#M1540973</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;Try with function AC_DOCUMENT_RECODS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'AC_DOCUMENT_RECORD'
    EXPORTING
      i_awtyp      = 'MKPF'
      i_awref      = awref
      i_aworg      = aworg
      i_awsys      = awsys
      i_awtyp_incl = 'BKPF'
      i_valutyp    = '0'
      x_dialog     = ' '
    TABLES
      t_documents  = docs_fi
    EXCEPTIONS
      no_reference = 1
      no_document  = 2
      OTHERS       = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: docs_fi LIKE acc_doc OCCURS 10 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: awref LIKE acchd-awref,&lt;/P&gt;&lt;P&gt;        aworg LIKE acchd-aworg,&lt;/P&gt;&lt;P&gt;        awsys LIKE acchd-awsys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you&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;Eduardo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PD: I think that I havent read properly your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surely you must work with tables BSID and BSAD, better that with BSEG. Remember that one is open items. Surely the document from the first funcion was cleared. So, you must rebuild the flow of documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: E_Hinojosa on Nov 11, 2010 9:37 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 08:34:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-bseg-table/m-p/7353332#M1540973</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2010-11-11T08:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re:bseg Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-bseg-table/m-p/7353333#M1540974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;BSEG is a cluster table and you should aviod using the table for performance issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of BSEG, Use tables BSID-Open items, BSAD-Cleared items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 08:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-bseg-table/m-p/7353333#M1540974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-11T08:38:18Z</dc:date>
    </item>
  </channel>
</rss>

