<?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: Refresh Drill down report screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-drill-down-report-screen/m-p/1381257#M186103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use,&lt;/P&gt;&lt;P&gt;  RS_SELFIELD-REFRESH = 'X'. &lt;/P&gt;&lt;P&gt;write the above statement in YOUR USER COMMAND FORM routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the part of my code, which is doing updating the table &amp;amp; then again i am fetching the data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F_USER_COMMAND_MODIFY USING R_UCOMM LIKE SY-UCOMM&lt;/P&gt;&lt;P&gt;                          RS_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA :     L_ANSWER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF R_UCOMM = C_FC_SAVE.&lt;/P&gt;&lt;P&gt;*--User Selected SAVE button.&lt;/P&gt;&lt;P&gt;    LOOP AT IT_ZBCAR50_TEMP.&lt;/P&gt;&lt;P&gt;*--Check the entered values are valid or not.&lt;/P&gt;&lt;P&gt;      IF NOT ( IT_ZBCAR50_TEMP-STATUS = 'A' OR&lt;/P&gt;&lt;P&gt;               IT_ZBCAR50_TEMP-STATUS = 'C' OR&lt;/P&gt;&lt;P&gt;               IT_ZBCAR50_TEMP-STATUS = 'E' ).&lt;/P&gt;&lt;P&gt;*--User Entered invalid value for STATUS field,so Display Error Msg&lt;/P&gt;&lt;P&gt;        MESSAGE E000 WITH 'Invalid value '''&lt;/P&gt;&lt;P&gt;                         IT_ZBCAR50_TEMP-STATUS&lt;/P&gt;&lt;P&gt;                         ''' for Status in the Record # '&lt;/P&gt;&lt;P&gt;                         SY-TABIX.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;*--Modify ZBCAR50 Table with the changed values.&lt;/P&gt;&lt;P&gt;    MODIFY ZBCAR50 FROM TABLE IT_ZBCAR50_TEMP.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC  = 0 .&lt;/P&gt;&lt;P&gt;      COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;*--Display message with Success in Updating database&lt;/P&gt;&lt;P&gt;      MESSAGE I000 WITH SY-DBCNT&lt;/P&gt;&lt;P&gt;                        ' Record(s) has been Updated'.&lt;/P&gt;&lt;P&gt;      CLEAR :&lt;/P&gt;&lt;P&gt;              IT_ZBCAR50,&lt;/P&gt;&lt;P&gt;              IT_ZBCAR50[].&lt;/P&gt;&lt;P&gt;*--Get Data again from database.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;      PERFORM GET_DATA. "here again i am fetching from Databse&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;*--Error occured&lt;/P&gt;&lt;P&gt;      MESSAGE I000 WITH 'Error occured in Modifying the database'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.             "F_USER_COMMAND_MODIFY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2006 06:04:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-26T06:04:24Z</dc:date>
    <item>
      <title>Refresh Drill down report screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-drill-down-report-screen/m-p/1381255#M186101</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 have a report that lists number of sales Order(Blocked, Incomplete) in two seperate lines. If you click(using AT LINE-Selection) on either of the line depending on whether you click on Blocked Sales Order/ Incomplete Sales Order a detailed report is displayed in an ALV format with the respective data. If I make changes to the sales order the ALV list is refreshed, but when I'm back on the summary screen I get the old summary displayed. If I use the routine to display the summary in the AT LINE-SELECTION section I get the new summary report. But then I need to hit BACK twice to get back to the initial selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way out to solve this that I do not have to hit BACK button twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ALAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 05:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-drill-down-report-screen/m-p/1381255#M186101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T05:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Drill down report screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-drill-down-report-screen/m-p/1381256#M186102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI alam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what i understood is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a) 2 lines using WRITE Statement&lt;/P&gt;&lt;P&gt;  b) Detail ALV on double-click on above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Problem is,&lt;/P&gt;&lt;P&gt;   a) is not getting refreshed after coming back from b)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. What u can do is&lt;/P&gt;&lt;P&gt;   control the BACK button&lt;/P&gt;&lt;P&gt;   (with your own fcode, and your own toolbar&lt;/P&gt;&lt;P&gt;    by copying STANDARD TOOLBAR from SALV function group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. So u will be able to TRAP the back button,&lt;/P&gt;&lt;P&gt;   and then using SY-LSIND &lt;/P&gt;&lt;P&gt;   manage the contenets of a)&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 06:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-drill-down-report-screen/m-p/1381256#M186102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T06:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Drill down report screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-drill-down-report-screen/m-p/1381257#M186103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use,&lt;/P&gt;&lt;P&gt;  RS_SELFIELD-REFRESH = 'X'. &lt;/P&gt;&lt;P&gt;write the above statement in YOUR USER COMMAND FORM routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the part of my code, which is doing updating the table &amp;amp; then again i am fetching the data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F_USER_COMMAND_MODIFY USING R_UCOMM LIKE SY-UCOMM&lt;/P&gt;&lt;P&gt;                          RS_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA :     L_ANSWER TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF R_UCOMM = C_FC_SAVE.&lt;/P&gt;&lt;P&gt;*--User Selected SAVE button.&lt;/P&gt;&lt;P&gt;    LOOP AT IT_ZBCAR50_TEMP.&lt;/P&gt;&lt;P&gt;*--Check the entered values are valid or not.&lt;/P&gt;&lt;P&gt;      IF NOT ( IT_ZBCAR50_TEMP-STATUS = 'A' OR&lt;/P&gt;&lt;P&gt;               IT_ZBCAR50_TEMP-STATUS = 'C' OR&lt;/P&gt;&lt;P&gt;               IT_ZBCAR50_TEMP-STATUS = 'E' ).&lt;/P&gt;&lt;P&gt;*--User Entered invalid value for STATUS field,so Display Error Msg&lt;/P&gt;&lt;P&gt;        MESSAGE E000 WITH 'Invalid value '''&lt;/P&gt;&lt;P&gt;                         IT_ZBCAR50_TEMP-STATUS&lt;/P&gt;&lt;P&gt;                         ''' for Status in the Record # '&lt;/P&gt;&lt;P&gt;                         SY-TABIX.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;*--Modify ZBCAR50 Table with the changed values.&lt;/P&gt;&lt;P&gt;    MODIFY ZBCAR50 FROM TABLE IT_ZBCAR50_TEMP.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC  = 0 .&lt;/P&gt;&lt;P&gt;      COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;*--Display message with Success in Updating database&lt;/P&gt;&lt;P&gt;      MESSAGE I000 WITH SY-DBCNT&lt;/P&gt;&lt;P&gt;                        ' Record(s) has been Updated'.&lt;/P&gt;&lt;P&gt;      CLEAR :&lt;/P&gt;&lt;P&gt;              IT_ZBCAR50,&lt;/P&gt;&lt;P&gt;              IT_ZBCAR50[].&lt;/P&gt;&lt;P&gt;*--Get Data again from database.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;      PERFORM GET_DATA. "here again i am fetching from Databse&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;*--Error occured&lt;/P&gt;&lt;P&gt;      MESSAGE I000 WITH 'Error occured in Modifying the database'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.             "F_USER_COMMAND_MODIFY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 06:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-drill-down-report-screen/m-p/1381257#M186103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T06:04:24Z</dc:date>
    </item>
  </channel>
</rss>

