<?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 ALV list &amp; select option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355014#M1232906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have two problems. If someone could help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I have a select option for mara-mfrpn and a select. If in this select option i have select more than 5000 entries SAP gives me an ABAP short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error in the module RSQL accessing the database interface.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should i do? I want to run this program using more than 60.000 entries in select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: mfrpn FOR mara-mfrpn OBLIGATORY
.
.
.
SELECT mara~matnr mara~mfrpn mara~mfrnr makt~maktx
  FROM mara INNER JOIN makt ON mara~matnr = makt~matnr
  INTO CORRESPONDING FIELDS OF it_npfmfrnr
  WHERE mara~mfrnr = mfrnr AND mara~mfrpn IN mfrpn AND makt~spras =
spras.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)In same program i have a ALV list. I want to color some lines according to some conditions.&lt;/P&gt;&lt;P&gt;How can i do that? I mention that i have used two function: &lt;/P&gt;&lt;P&gt;REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2009 14:47:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-04T14:47:11Z</dc:date>
    <item>
      <title>ALV list &amp; select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355014#M1232906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have two problems. If someone could help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I have a select option for mara-mfrpn and a select. If in this select option i have select more than 5000 entries SAP gives me an ABAP short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error in the module RSQL accessing the database interface.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should i do? I want to run this program using more than 60.000 entries in select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: mfrpn FOR mara-mfrpn OBLIGATORY
.
.
.
SELECT mara~matnr mara~mfrpn mara~mfrnr makt~maktx
  FROM mara INNER JOIN makt ON mara~matnr = makt~matnr
  INTO CORRESPONDING FIELDS OF it_npfmfrnr
  WHERE mara~mfrnr = mfrnr AND mara~mfrpn IN mfrpn AND makt~spras =
spras.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)In same program i have a ALV list. I want to color some lines according to some conditions.&lt;/P&gt;&lt;P&gt;How can i do that? I mention that i have used two function: &lt;/P&gt;&lt;P&gt;REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;REUSE_ALV_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 14:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355014#M1232906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T14:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list &amp; select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355015#M1232907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!) for avoiding the shot dump  in the select query you can set the &lt;STRONG&gt;Packet Size&lt;/STRONG&gt; in that qurey.&lt;/P&gt;&lt;P&gt;   for how to set the packet size you can get the from the F1 help on select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) For setting the color refer to this&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3486026"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 14:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355015#M1232907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T14:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list &amp; select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355016#M1232908</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;For the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Remove the inner join between the MARA &amp;amp; MAKT get the data in two different table t_MARA &amp;amp; t_MAKT..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop through the t_mara reak the t_MAKT for the coreespondng material and update the final table whcih is used to output the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can use thw Packet Size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Refer to this link..&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3488267"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6293823"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 14:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355016#M1232908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T14:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list &amp; select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355017#M1232909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can convert the IN mfrpn to a FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see how using PACKAGE SIZE or splitting the SELECT would help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Mar 4, 2009 10:00 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2009 14:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355017#M1232909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-04T14:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list &amp; select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355018#M1232910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works with FOR ALL ENTRIES. I didn't try with PACKET SIZE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thak you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 08:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355018#M1232910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-05T08:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV list &amp; select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355019#M1232911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding colouring in ALV you may have a look at thread&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="thread" id="1225543"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same solution should be applicable for old-fashioned fm-based ALV lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 09:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-select-option/m-p/5355019#M1232911</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-03-05T09:01:18Z</dc:date>
    </item>
  </channel>
</rss>

