<?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. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635135#M1282749</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;Test the following Sample Code hope will solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: pa0000, pa0001.

TYPES: BEGIN OF ty_test,
  pernr LIKE pa0000-pernr,
  END OF ty_test.

DATA: it TYPE STANDARD TABLE OF ty_test WITH HEADER LINE.

SELECT pernr FROM pa0001 UP TO 10 ROWS
  INTO CORRESPONDING FIELDS OF TABLE it
  WHERE endda = '99991231'.

LOOP AT it.
  WRITE: / it-pernr HOTSPOT ON.
  HIDE: it.
ENDLOOP.

AT LINE-SELECTION.

  SELECT SINGLE * FROM pa0001
    WHERE pernr = it-pernr
      AND endda = '99991231'.
  IF sy-subrc EQ 0.
    WRITE: / pa0001-ename.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2009 14:36:02 GMT</pubDate>
    <dc:creator>faisalatsap</dc:creator>
    <dc:date>2009-05-11T14:36:02Z</dc:date>
    <item>
      <title>interactive report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635133#M1282747</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;i have one problem i.e,i display po numbers in 1st screen after that when i click on the po number, it gives the correct output but second time click on po number it gives another po number information.&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;po numbers 1 2 3 4 5 6 7 8 9 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when click on 1po number it gives 1po details first time ,second time click on 5 po it gives the 8 po number details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i clear all statements and logic is also correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i debugging internal table structure is changing.&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;first time output and internal table structure is same,second time  internal table structure is changed automatically,it gives that row information.&lt;/P&gt;&lt;P&gt;give me suggitions.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 13:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635133#M1282747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T13:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635134#M1282748</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;Have  you written the code this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at &amp;lt;po_header&amp;gt;.&lt;/P&gt;&lt;P&gt;write : /10 &amp;lt;all the fileds&amp;gt;&lt;/P&gt;&lt;P&gt;HIDE : &amp;lt;work_area-ponumber&amp;gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;data fname(50)&lt;/P&gt;&lt;P&gt;case sy-lsind.&lt;/P&gt;&lt;P&gt;when '1'.&lt;/P&gt;&lt;P&gt;get cursor filed fname.&lt;/P&gt;&lt;P&gt;if fname = 'workarea_filename' " Po number field&lt;/P&gt;&lt;P&gt;select statemnet on ekpo where ponumber = header po number " Hide statement field&lt;/P&gt;&lt;P&gt;write : /10 all the fileds in ekpo internal table&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endcase.&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;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 13:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635134#M1282748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635135#M1282749</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;Test the following Sample Code hope will solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: pa0000, pa0001.

TYPES: BEGIN OF ty_test,
  pernr LIKE pa0000-pernr,
  END OF ty_test.

DATA: it TYPE STANDARD TABLE OF ty_test WITH HEADER LINE.

SELECT pernr FROM pa0001 UP TO 10 ROWS
  INTO CORRESPONDING FIELDS OF TABLE it
  WHERE endda = '99991231'.

LOOP AT it.
  WRITE: / it-pernr HOTSPOT ON.
  HIDE: it.
ENDLOOP.

AT LINE-SELECTION.

  SELECT SINGLE * FROM pa0001
    WHERE pernr = it-pernr
      AND endda = '99991231'.
  IF sy-subrc EQ 0.
    WRITE: / pa0001-ename.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 14:36:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635135#M1282749</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-05-11T14:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: interactive report.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635136#M1282750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 09:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-report/m-p/5635136#M1282750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T09:08:30Z</dc:date>
    </item>
  </channel>
</rss>

