<?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: interactive report query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428373#M1410574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i reset my sy-lsind to 0, but when i click the BACK command button it display my selection screen not my main page &lt;/P&gt;&lt;P&gt;display...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2009 05:52:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-25T05:52:33Z</dc:date>
    <item>
      <title>interactive report query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428370#M1410571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good day experts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me on this...&lt;/P&gt;&lt;P&gt;i have an interactive report... during at line selection it will display the details on the other screen.&lt;/P&gt;&lt;P&gt;my problem is everytime i trigger at line select it always display the last page so i have to scroll up&lt;/P&gt;&lt;P&gt;again to see the details. another problem in my report is the more i trigger the at line select when i need to go&lt;/P&gt;&lt;P&gt;to the main page is the number of time i have to click BACK command just to go back to the main page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the sample code of my at line selection:&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;CLEAR: LV_TEXT1.&lt;/P&gt;&lt;P&gt;READ CURRENT LINE FIELD VALUE CTRL_SUM1-TEXT INTO LV_TEXT1.&lt;/P&gt;&lt;P&gt;IF NOT LV_TEXT1 IS INITIAL.&lt;/P&gt;&lt;P&gt;PERFORM DISPLAY_PREV USING LV_TEXT1.&lt;/P&gt;&lt;P&gt;    SCROLL LIST INDEX 1 TO: PAGE SY-CPAGE LINE SY-STARO,&lt;/P&gt;&lt;P&gt;                           COLUMN SY-STACO .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;Form  DISPLAY_PREV: &lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT TAB_ABKRS BY ABKRS.&lt;/P&gt;&lt;P&gt;SORT CTRL_DET1 BY ABKRS STAT2 PERSG PERSK ENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT TAB_ABKRS.&lt;/P&gt;&lt;P&gt;CLEAR: LV_CTR1, LV_TOTAL1.&lt;/P&gt;&lt;P&gt;    WRITE: /1 'Previous Period Mancount'.&lt;/P&gt;&lt;P&gt;    SORT CTRL_SUM1 BY ABKRS STAT2 PERSG PERSK.&lt;/P&gt;&lt;P&gt;    LOOP AT CTRL_SUM1 WHERE ABKRS = TAB_ABKRS-ABKRS.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;        IF CTRL_SUM1-TEXT = P_LV_TEXT1.&lt;/P&gt;&lt;P&gt;          WRITE: /3 CTRL_SUM1-TEXT COLOR COL_HEADING.&lt;/P&gt;&lt;P&gt;          HIDE_ABKRS = TAB_ABKRS-ABKRS.&lt;/P&gt;&lt;P&gt;          HIDE HIDE_ABKRS.&lt;/P&gt;&lt;P&gt;          FORMAT COLOR COL_NORMAL.&lt;/P&gt;&lt;P&gt;          PERFORM EXPAND_PREVIOUS.&lt;/P&gt;&lt;P&gt;          FORMAT COLOR OFF.&lt;/P&gt;&lt;P&gt;          WRITE:  /71 CTRL_SUM1-CTR COLOR COL_TOTAL,&lt;/P&gt;&lt;P&gt;                   82 CTRL_SUM1-BETRG COLOR COL_TOTAL.&lt;/P&gt;&lt;P&gt;          CLEAR: HIDE_ABKRS.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          WRITE: /3 CTRL_SUM1-TEXT, 71 CTRL_SUM1-CTR, 82 CTRL_SUM1-BETRG.&lt;/P&gt;&lt;P&gt;          HIDE_ABKRS = TAB_ABKRS-ABKRS.&lt;/P&gt;&lt;P&gt;          HIDE HIDE_ABKRS.&lt;/P&gt;&lt;P&gt;          CLEAR: HIDE_ABKRS.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      LV_CTR1 = LV_CTR1 + CTRL_SUM1-CTR.&lt;/P&gt;&lt;P&gt;      LV_TOTAL1 = LV_TOTAL1 + CTRL_SUM1-BETRG.&lt;/P&gt;&lt;P&gt;      MODIFY CTRL_SUM1 TRANSPORTING TEXT.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    ULINE.&lt;/P&gt;&lt;P&gt;    WRITE: /3 'Total:', 71 LV_CTR1, 82 LV_TOTAL1.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help...&lt;/P&gt;&lt;P&gt;thank you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 01:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428370#M1410571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T01:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428371#M1410572</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;How are you calling the other screen by Leave to screen or call screen that imp. also when you are going back what statment are u using leave to screen 0 or again set screen.&lt;/P&gt;&lt;P&gt;In my view to call screen and at the time of back leave screen to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 04:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428371#M1410572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T04:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428372#M1410573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In you Form "DISPLAY_PREV" you need to reset sy-lsind = 0 to resolve your BACK problem&lt;/P&gt;&lt;P&gt;(Please check my reply in this thread)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and scrolling you need to use SET CURSOR syntax in the secondary list displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 04:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428372#M1410573</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-11-25T04:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428373#M1410574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i reset my sy-lsind to 0, but when i click the BACK command button it display my selection screen not my main page &lt;/P&gt;&lt;P&gt;display...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 05:52:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428373#M1410574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-25T05:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428374#M1410575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check demo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_LIST_INTERACTIVE_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 05:55:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428374#M1410575</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-11-25T05:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428375#M1410576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
&amp;lt;li&amp;gt;To place your cursor at the start of the secondary report. You have to write below statement under AT LINE-SELECTION.
&lt;PRE&gt;&lt;CODE&gt;SET CURSOR LINE 1.&lt;/CODE&gt;&lt;/PRE&gt;
&amp;lt;li&amp;gt;To go to main report from interactive after clicking BACK Button, you need to create your own pf-status after START-OF-SELECTION and have to try the below way. 
&lt;PRE&gt;&lt;CODE&gt;AT USER-COMMAND.
  CASE sy-ucomm.
    WHEN 'BACK'.
      sy-lsind = 0.
  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 06:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428375#M1410576</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-11-25T06:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428376#M1410577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 03:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report-query/m-p/6428376#M1410577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-07T03:20:19Z</dc:date>
    </item>
  </channel>
</rss>

