<?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: ALV List processing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995395#M1494450</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;You can do one more thing.&lt;/P&gt;&lt;P&gt;Open SE41,click the icon for copy status it will open one window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to give:&lt;/P&gt;&lt;P&gt;Program--&amp;gt; SAPLKKBL&lt;/P&gt;&lt;P&gt;Status--&amp;gt; STANDARD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that enter:&lt;/P&gt;&lt;P&gt;Prg name--&amp;gt; Your program name&lt;/P&gt;&lt;P&gt;Status--&amp;gt;Your Own Status Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And press copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then In your created status go to application toolbar and Add your Button.&lt;/P&gt;&lt;P&gt;Then In the program Create a Form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM pf_status "#EC *&lt;/P&gt;&lt;P&gt;USING p_extab TYPE slis_t_extab.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'STAT1' EXCLUDING p_extab.&lt;/P&gt;&lt;P&gt;ENDFORM. "PF_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here '&lt;STRONG&gt;STAT1&lt;/STRONG&gt; is your own Status Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the FM --&amp;gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass i_callback_pf_status_set = 'PF_STATUS' this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info, kindly visit links:&lt;/P&gt;&lt;P&gt;1. &lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Process" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Process&lt;/A&gt;&lt;EM&gt;to&lt;/EM&gt;create&lt;EM&gt;ALV&lt;/EM&gt;with+OOPS&lt;/P&gt;&lt;P&gt;2. &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5003740"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4711371"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May it helps you.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Deepak Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jun 2010 22:36:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-04T22:36:29Z</dc:date>
    <item>
      <title>ALV List processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995392#M1494447</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 created a transaction which when executed displays a selection screen and on entering proper search criteria, result data is displayed in the form of ALV list.  (for example name this screen 'A' ). Here, On the application toolbar, there is a button named 'POST', which is used to post the selected entries from the ALV list into the database. To know Whether the entries are posted or not a status is maintained and also the status is to be displayed. for this the ALV list is displayed again with modified status.From here when I press the BACK button from the standard toolbar, the control first goes from this screen to screen A, and then when I press the BACK button again, the control reaches the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My  requirement is that when I press the back button from the screen in which the modified ALV list is displayed(that is the last screen), it should directly come back to the selection screen of the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smriti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 10:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995392#M1494447</guid>
      <dc:creator>former_member722643</dc:creator>
      <dc:date>2010-06-04T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995393#M1494448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Smriti Roopesh Kapur , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On display of back button on the second screen you can Leave same transaction to transaction this is one option ( simplest)  check for LEAVE TO TRANSACTION STATEMENT OR &lt;/P&gt;&lt;P&gt;you can use set screen &amp;lt;your selection screen number &amp;gt; when you are on screen B ie. the posted report OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use leave to screen &amp;lt;your selection screen number &amp;gt;. ( your selection screen no will 1000 if its default one ...!) or &lt;/P&gt;&lt;P&gt;you can use CALL SELECTION SCREEN &amp;lt;your selection screen number &amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Mind you can do all this operation when you are on report B Check for SY-DYNNR ie. the current screen number and manipulate it..)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 10:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995393#M1494448</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2010-06-04T10:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995394#M1494449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u must have used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_callback_program       = sy-repid&lt;/P&gt;&lt;P&gt;      i_callback_pf_status_set = 'ALV_PF_STATUS_SET'&lt;/P&gt;&lt;P&gt;      i_callback_user_command  = 'ALV_USER_COMMAND'&lt;/P&gt;&lt;P&gt;      is_layout                = is_layout&lt;/P&gt;&lt;P&gt;      it_fieldcat              = it_fieldcat&lt;/P&gt;&lt;P&gt;      it_events                = g_t_events&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                 = i_output&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      program_error            = 1&lt;/P&gt;&lt;P&gt;      OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u might have defined the pf-status for the ALV list.check if u hav given function code for BACK button as  &lt;STRONG&gt;&amp;amp;F03?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 10:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995394#M1494449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T10:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV List processing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995395#M1494450</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;You can do one more thing.&lt;/P&gt;&lt;P&gt;Open SE41,click the icon for copy status it will open one window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to give:&lt;/P&gt;&lt;P&gt;Program--&amp;gt; SAPLKKBL&lt;/P&gt;&lt;P&gt;Status--&amp;gt; STANDARD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that enter:&lt;/P&gt;&lt;P&gt;Prg name--&amp;gt; Your program name&lt;/P&gt;&lt;P&gt;Status--&amp;gt;Your Own Status Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And press copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then In your created status go to application toolbar and Add your Button.&lt;/P&gt;&lt;P&gt;Then In the program Create a Form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM pf_status "#EC *&lt;/P&gt;&lt;P&gt;USING p_extab TYPE slis_t_extab.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'STAT1' EXCLUDING p_extab.&lt;/P&gt;&lt;P&gt;ENDFORM. "PF_STATUS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here '&lt;STRONG&gt;STAT1&lt;/STRONG&gt; is your own Status Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the FM --&amp;gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass i_callback_pf_status_set = 'PF_STATUS' this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info, kindly visit links:&lt;/P&gt;&lt;P&gt;1. &lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Process" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Process&lt;/A&gt;&lt;EM&gt;to&lt;/EM&gt;create&lt;EM&gt;ALV&lt;/EM&gt;with+OOPS&lt;/P&gt;&lt;P&gt;2. &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5003740"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;3. &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4711371"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May it helps you.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Deepak Sharma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 22:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-list-processing/m-p/6995395#M1494450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T22:36:29Z</dc:date>
    </item>
  </channel>
</rss>

