<?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: SY-LSIND in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-lsind/m-p/3124462#M742058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With one ABAP program, you can maintain one basic list and up to 20 detail lists. If the user creates a list on the next level (that is, SY-LSIND increases), the system stores the previous list and displays the new one. The user can interact with whichever list is currently displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_list_interactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;WRITE: 'Basic List, sy-lsind =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;IF sy-lsind = 3.&lt;/P&gt;&lt;P&gt;sy-lsind = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;WRITE: 'Secondary List, sy-lsind =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run the program, the basic list appears:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic List, sy-lsind = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below link. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba2eb35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba2eb35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;OR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
at line selection.
case sy-lsind.
when 1.
...
when 2.
....
when 3.
......
when 4.
...
when 5.
sy-lsind = 3.
when others.
....
endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2007 13:43:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-04T13:43:31Z</dc:date>
    <item>
      <title>SY-LSIND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-lsind/m-p/3124460#M742056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WHEN i PRESSED BACK IN A PERTICULAR SECONDARY LIST i HAVE TO MOVE TO THE SPECIFIED SECONDARY LIST PLS PROVIDE FULL  CODE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2007 13:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-lsind/m-p/3124460#M742056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-04T13:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: SY-LSIND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-lsind/m-p/3124461#M742057</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;When you want to move from 5th list to 1st list.. subract sy-lsind accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-lsind = sylsind - 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value = sy-index - 5 &lt;/P&gt;&lt;P&gt;leave to screen value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2007 13:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-lsind/m-p/3124461#M742057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-04T13:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: SY-LSIND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-lsind/m-p/3124462#M742058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With one ABAP program, you can maintain one basic list and up to 20 detail lists. If the user creates a list on the next level (that is, SY-LSIND increases), the system stores the previous list and displays the new one. The user can interact with whichever list is currently displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_list_interactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;WRITE: 'Basic List, sy-lsind =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;IF sy-lsind = 3.&lt;/P&gt;&lt;P&gt;sy-lsind = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;WRITE: 'Secondary List, sy-lsind =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run the program, the basic list appears:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic List, sy-lsind = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below link. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba2eb35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba2eb35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;OR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
at line selection.
case sy-lsind.
when 1.
...
when 2.
....
when 3.
......
when 4.
...
when 5.
sy-lsind = 3.
when others.
....
endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2007 13:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-lsind/m-p/3124462#M742058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-04T13:43:31Z</dc:date>
    </item>
  </channel>
</rss>

