<?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 interactive reporting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reporting/m-p/2409251#M537251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i designed an alv report which when you click a primary key item transfer is controlled to transaction iw52 to make some changes to the notification. when i click back to go back to my report i want the report to dispplay the changes which i would have done. below is the code i used to call transaction iw52&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'IQM' FIELD gt_notif-gv_qmnum.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'Iw52' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 13:07:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-25T13:07:04Z</dc:date>
    <item>
      <title>interactive reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reporting/m-p/2409251#M537251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i designed an alv report which when you click a primary key item transfer is controlled to transaction iw52 to make some changes to the notification. when i click back to go back to my report i want the report to dispplay the changes which i would have done. below is the code i used to call transaction iw52&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'IQM' FIELD gt_notif-gv_qmnum.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'Iw52' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 13:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reporting/m-p/2409251#M537251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reporting/m-p/2409252#M537252</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;set refresh field in catalog as 'X'&lt;/P&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;reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 13:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reporting/m-p/2409252#M537252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reporting/m-p/2409253#M537253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Timothy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to encapsulate data selection in your ALV report. For example, you have a routine that selects the data based on the selection criteria (routine SELECT_DATA).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that you call transaction IW52 either in an event handler method or at PAI of the dynpro displaying the ALV list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easy case is when the transaction is called at PAI. Simply add the following coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  perform SELECT_DATA.  " refreshes output itab and selects data again&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PBO of your dynpro you probably have the following coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Container for displaying ALV grid has not been created yet -&amp;gt; create
  IF ( go_container IS NOT BOUND ).
    CREATE OBJECT go_container ...

  ELSE.
    go_grid-&amp;gt;refresh_table_display( ).  " refresh ALV list display
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call the transaction within an event handler method then add the following coding in the event handler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CALL METHOD cl_gui_cfw=&amp;gt;set_new_ok_code( 'REFRESH' ).  " triggers PAI&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And at PAI at the following lines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CASE gd_okcde.
    ...

   WHEN 'REFRESH'.
     perform SELECT_DATA.

   WHEN others.
   ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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>Mon, 25 Jun 2007 13:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reporting/m-p/2409253#M537253</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-25T13:15:51Z</dc:date>
    </item>
  </channel>
</rss>

