<?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: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633801#M1282570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;add to your code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.&lt;/P&gt;&lt;P&gt;      write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leave to list-processing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2009 11:42:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-19T11:42:39Z</dc:date>
    <item>
      <title>REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633797#M1282566</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 would like to output some log within the form defined by i_callback_user_command . Therefor i used some simple write statements, i expected the output after going back. But - nothing is shown. Where it is going?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM alv_user_command
  USING ucomm               TYPE syucomm
        selfield            TYPE slis_selfield.                          "#EC_CALLED

  FIELD-SYMBOLS:
    &amp;lt;p&amp;gt;                     type t_out.

  IF ucomm = '&amp;amp;DATA_SAVE'.

    loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.
      write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.
    endloop.

    selfield-refresh    = 'X'.
    selfield-row_stable = 'X'.
    selfield-col_stable = 'X'.

  ENDIF.

ENDFORM.                    "alv_user_command
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 10:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633797#M1282566</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-05-19T10:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633798#M1282567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are going "BACK" then user command is set to "BACK" and in this case your code for writing the output is not fired since it is writing for "SAVE" command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633798#M1282567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633799#M1282568</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;PRE&gt;&lt;CODE&gt;FORM alv_user_command
  USING ucomm               TYPE syucomm
        selfield            TYPE slis_selfield.                          "#EC_CALLED
 
  FIELD-SYMBOLS:
    &amp;lt;p&amp;gt;                     type t_out.
 
  IF ucomm = '&amp;amp;DATA_SAVE'.
    LEAVE TO LIST-PROCESSING AND RETURN.   " Add this and check
    loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.
      write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.
    endloop.
 
    selfield-refresh    = 'X'.
    selfield-row_stable = 'X'.
    selfield-col_stable = 'X'.
 
  ENDIF.
 
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633799#M1282568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633800#M1282569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that was helpful to switch to the list display, but after that the green, yellow and red "ball" are no longer working, neither back, cancel or end list processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A LEAVE LIST-PROCESSING after the endloop wasnt helpful, too. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(theres no difference between leave to list-processing and return to screen 1000 and without return.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633800#M1282569</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-05-19T11:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633801#M1282570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;add to your code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.&lt;/P&gt;&lt;P&gt;      write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leave to list-processing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633801#M1282570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633802#M1282571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;In the Exporting parameter of the FM too you need to set the folowing&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      i_callback_pf_status_set = 'ZPF' 
      i_callback_user_command  = 'ALV_USER_COMMAND'

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:46:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633802#M1282571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633803#M1282572</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;try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

FORM alv_user_command
  USING ucomm               TYPE syucomm
        selfield            TYPE slis_selfield.                          "#EC_CALLED
 
  FIELD-SYMBOLS:
    &amp;lt;p&amp;gt;                     type t_out.

  CHECK NOT selfield-value IS INITIAL.  "Add this Line 

  IF ucomm = '&amp;amp;DATA_SAVE'.
 
    loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.
      write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.
    endloop.
 
    selfield-refresh    = 'X'.
    selfield-row_stable = 'X'.
    selfield-col_stable = 'X'.
 
  ENDIF.
 
ENDFORM.  

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633803#M1282572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633804#M1282573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check that sy-ucom = compare value is not comming correct. that why its not printing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633804#M1282573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633805#M1282574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;prepare your status gui ZSTATS for list with ok_code BACK/ENDE/CANC..&lt;/P&gt;&lt;P&gt;and change code:&lt;/P&gt;&lt;P&gt;loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.&lt;/P&gt;&lt;P&gt;write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set pf-status ZSTATS'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leave to list-processing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 11:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633805#M1282574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T11:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633806#M1282575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;prepare your status gui ZSTATS for list with ok_code: BACK/ENDE/CANC..&lt;/P&gt;&lt;P&gt;and change code:&lt;/P&gt;&lt;P&gt;loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.&lt;/P&gt;&lt;P&gt;write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set pf-status 'ZSTATS'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leave to list-processing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:00:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633806#M1282575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T12:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633807#M1282576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;prepare your status gui ZSTATS for list with ok_code: BACK/ENDE/CANC..&lt;/P&gt;&lt;P&gt;and change code:&lt;/P&gt;&lt;P&gt;loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.&lt;/P&gt;&lt;P&gt;write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set pf-status 'ZSTATS'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leave to list-processing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633807#M1282576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T12:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633808#M1282577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;prepare your status gui ZSTATS for list with ok_code BACK/ENDE/CANC..&lt;/P&gt;&lt;P&gt;and change code:&lt;/P&gt;&lt;P&gt;loop at it_out ASSIGNING &amp;lt;p_out&amp;gt; where sel = 'X'.&lt;/P&gt;&lt;P&gt;write:/ &amp;lt;p_out&amp;gt;-region, &amp;lt;p_out&amp;gt;-area.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set pf-status 'ZSTATS'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;leave to list-processing.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;regards,darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 12:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633808#M1282577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T12:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633809#M1282578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried out every suggestion, having now my own gui status, but still when i entered the list processing i'm not able to leave it any more. The only way i have is to enter a transaction code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 06:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633809#M1282578</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-06-04T06:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: REUSE_ALV_GRID_DISPLAY / i_callback_user_command  / write statements</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633810#M1282579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At least i coded a second ALV scenerio which is called in the user command of the first one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unforunatetly, none of the suggested solution worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 05:26:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reuse-alv-grid-display-i-callback-user-command-write-statements/m-p/5633810#M1282579</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2009-06-10T05:26:30Z</dc:date>
    </item>
  </channel>
</rss>

