<?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: Regarding Interactive lists in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587769#M592287</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;  'tricky way' - it's not possible to have more than 20 secondary lists, but u could always reset the sy-lsind to 1 when it reaches 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-lsind = 20.&lt;/P&gt;&lt;P&gt;sy-lsind = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2007 05:19:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-24T05:19:11Z</dc:date>
    <item>
      <title>Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587765#M592283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;   I know that we can create 1 basic list and upto 20 secondary lists.&lt;/P&gt;&lt;P&gt;But my concern here is : Is it possible to create 24,25 secondary lists by any of tricky programming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so how ? Can you please on some lights on this?&lt;/P&gt;&lt;P&gt;&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;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587765#M592283</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-07-24T05:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587766#M592284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sree ram&lt;/P&gt;&lt;P&gt;refer to this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZTESTDEMO_INTERACTIVE_LIST_2
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZTESTDEMO_INTERACTIVE_LIST_2.

TABLES: MARA,MARC,MARD.


* internal table itab_mara 3 fields matnr, ernam,mtart
DATA: BEGIN OF ITAB_MARA OCCURS 0,
MATNR LIKE MARA-MATNR,  " material number
ERNAM LIKE MARA-ERNAM,  " name of person who create
MTART LIKE MARA-MTART,  " Material Type
END OF ITAB_MARA.

* internal table itab_marc 3 fields matnr, werks,lvorm

DATA: BEGIN OF ITAB_MARC OCCURS 0,
MATNR LIKE MARC-MATNR,
WERKS LIKE MARC-WERKS,  " Plant
LVORM LIKE MARC-LVORM,  " Flag Material for Deletion at Plant Level
END OF ITAB_MARC.

* internal table itab_mard 2 fields

DATA: BEGIN OF ITAB_MARD OCCURS 0,
MATNR LIKE MARD-MATNR,
LGORT LIKE MARD-LGORT,  " Storage Location
END OF ITAB_MARD.

SELECT-OPTIONS: S_MTART FOR MARA-MTART.

INITIALIZATION.

S_MTART-LOW = 'HALB'.
S_MTART-HIGH = 'HAWA'.
S_MTART-OPTION = 'BT'.
APPEND S_MTART.

START-OF-SELECTION.

SELECT MATNR ERNAM MTART FROM MARA INTO TABLE ITAB_MARA WHERE MTART IN
S_MTART.

PERFORM DISPLAY.


TOP-OF-PAGE.
WRITE:/2(15) 'MATERIAL NO',20(20) 'CREATED BY',45(15) 'MATERIAL TYPE'.


FORM DISPLAY.

LOOP AT ITAB_MARA.
WRITE:/ ITAB_MARA-MATNR UNDER 'MATERIAL NO' HOTSPOT ON,ITAB_MARA-ERNAM
UNDER 'CREATED BY',ITAB_MARA-MTART UNDER 'MATERIAL TYPE'.
HIDE: ITAB_MARA-MATNR.
ENDLOOP.

ENDFORM.

AT LINE-SELECTION.
CASE SY-LSIND.
WHEN 1.

SELECT MATNR WERKS LVORM FROM MARC INTO TABLE ITAB_MARC WHERE MATNR =
ITAB_MARA-MATNR.
PERFORM DISPLAY1.

WHEN 2.

SELECT MATNR LGORT FROM MARD INTO TABLE ITAB_MARD WHERE MATNR =
ITAB_MARC-MATNR.
PERFORM DISPLAY2.

when 3.
sy-lsind = 0.
ENDCASE.

FORM DISPLAY1.
LOOP AT ITAB_MARC.
WRITE:/ ITAB_MARC-MATNR HOTSPOT ON, ITAB_MARC-WERKS,ITAB_MARC-LVORM.
HIDE: ITAB_MARC-MATNR.
ENDLOOP.

WRITE:/ SY-LSIND.
ENDFORM.

FORM DISPLAY2.
LOOP AT ITAB_MARD.
WRITE:/ ITAB_MARD-MATNR, ITAB_MARD-LGORT.
ENDLOOP.
WRITE:/ SY-LSIND.

ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587766#M592284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587767#M592285</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; I don't think we can create beyond 20 secondary lists ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587767#M592285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587768#M592286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;No , SAP 's limit is 1 Basic List and 20 secondary lists&lt;/P&gt;&lt;P&gt;But why we need so many in real time&lt;/P&gt;&lt;P&gt;that's not enough? why You fo gor 24 or 25 secondary lists?Not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&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>Tue, 24 Jul 2007 05:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587768#M592286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587769#M592287</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;  'tricky way' - it's not possible to have more than 20 secondary lists, but u could always reset the sy-lsind to 1 when it reaches 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-lsind = 20.&lt;/P&gt;&lt;P&gt;sy-lsind = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587769#M592287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587770#M592288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sree Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create more than 20 secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just keep a count of SY-LSIND and when it reaches 19, you can reset the count to 0. Now SY-LSIND would start again from 1 which means you can create 19 + 20, which makes it 39 secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a way we are fooling the software  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if you find the answer useful.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587770#M592288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587771#M592289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this can be possible we can create N number of secondary lists.&lt;/P&gt;&lt;P&gt;  basically we are supposed to do 20 secondary list, to increase this no. re-initialize the value sy-lsind, programatically and  handle it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587771#M592289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Interactive lists</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587772#M592290</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;we can create n number of secondary lists... &lt;/P&gt;&lt;P&gt;please see below code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-lsind eq 21.&lt;/P&gt;&lt;P&gt;sy-lasind = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;then count will start from 1 then u will get 21 sec list. before doing that please check how much memory alloted to that program some time it may gives dump like max memory alloocated is exceeded. in genereal sap allows 20 sec lists only. if u want u can use above code.&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;maheedhar.t&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 07:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-interactive-lists/m-p/2587772#M592290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T07:17:50Z</dc:date>
    </item>
  </channel>
</rss>

