<?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: ALV Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652017#M879631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if all the three fields are common in three tables bkpf , bseg and custom , then you can write single select statements using inner join statements for the tables using the select-options &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if customer number not entered.&lt;/P&gt;&lt;P&gt;  select requried fields from bkpf and bseg using inner join where the saknr = select option &lt;/P&gt;&lt;P&gt;               date  = select-option&lt;/P&gt;&lt;P&gt;               fiscal year = select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; then using all entries get the entries from custom table equating the common fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if customer number is entered then the reverse the above procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;brijesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Apr 2008 11:52:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-13T11:52:10Z</dc:date>
    <item>
      <title>ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652014#M879628</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 have a scenario where I have got three tables two std ones and the third one is the custom one bseg,bkpf and ztest, and based on three fields i.e. belnr, blart and bukrs( which is in all the three tables )to join these tables and need to retreive the following the data from each table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From BSEG - - -&amp;gt; saknr,kostl&lt;/P&gt;&lt;P&gt;From BKPF- - - - &amp;gt; blart,bldat &lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;From Ztest -&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&amp;gt; co_num, co_name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is that at the selection parameters there is no field mandatory for the user to enter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean a user can just enter the start date and end date to display the report b/w that period or he can just enter the name of a particular customer to view the report, or he can just enter the account number of a particlular customer and may also enter just fiscal year to have a look at the report!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone of you please tell me how to achieve this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rajeev !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 03:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652014#M879628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-13T03:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652015#M879629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the standard index tables of BSEG. They are indexed by a few criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cleared items:&lt;/P&gt;&lt;P&gt;BSAD Accounting: Secondary Index for Customers (Cleared Items)&lt;/P&gt;&lt;P&gt;BSAK Accounting: Secondary Index for Vendors (Cleared Items)&lt;/P&gt;&lt;P&gt;BSAS Accounting: Secondary Index for G/L Accounts (Cleared Items)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Non-cleared items:&lt;/P&gt;&lt;P&gt;BSID Accounting: Secondary Index for Customers&lt;/P&gt;&lt;P&gt;BSIK Accounting: Secondary Index for Vendors&lt;/P&gt;&lt;P&gt;BSIM Secondary Index, Documents for Material&lt;/P&gt;&lt;P&gt;BSIP Index for Vendor Validation of Double Documents&lt;/P&gt;&lt;P&gt;BSIS Accounting: Secondary Index for G/L Accounts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 04:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652015#M879629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-13T04:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652016#M879630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First instead of parameters ,use &lt;STRONG&gt;select-options&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use these select options for  your select statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for selections,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use &lt;STRONG&gt;join&lt;/STRONG&gt; for two tables and get data into one internal table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use &lt;STRONG&gt;for all entries&lt;/STRONG&gt; to get the corressponding data fromthe third table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Talwinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 06:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652016#M879630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-13T06:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652017#M879631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if all the three fields are common in three tables bkpf , bseg and custom , then you can write single select statements using inner join statements for the tables using the select-options &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if customer number not entered.&lt;/P&gt;&lt;P&gt;  select requried fields from bkpf and bseg using inner join where the saknr = select option &lt;/P&gt;&lt;P&gt;               date  = select-option&lt;/P&gt;&lt;P&gt;               fiscal year = select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; then using all entries get the entries from custom table equating the common fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if customer number is entered then the reverse the above procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;brijesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 11:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-report/m-p/3652017#M879631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-13T11:52:10Z</dc:date>
    </item>
  </channel>
</rss>

