<?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 GRID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417589#M200743</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;since you are using the Information message it will behave like that only. But if you use 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: p_ans type c.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'POPUP_TO_CONFIRM'
         EXPORTING
             TITLEBAR              = 'Confirm'(007)
             TEXT_QUESTION = 'Do you wish to continue?'(006)
             TEXT_BUTTON_1         = 'Yes'(008)
             ICON_BUTTON_1         = 'ICON_OKAY'
             TEXT_BUTTON_2         = 'No'(010)
             ICON_BUTTON_2         = 'ICON_CANCEL'
             DEFAULT_BUTTON        = '1'
             DISPLAY_CANCEL_BUTTON = 'X'
             START_COLUMN          = 25
             START_ROW             = 6
        IMPORTING
             ANSWER                = P_ANS
        EXCEPTIONS
             TEXT_NOT_FOUND        = 1
             OTHERS                = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;based on p_ans you can proceed.&lt;/P&gt;&lt;P&gt;using this you can exit further processing,.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2006 11:45:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-22T11:45:58Z</dc:date>
    <item>
      <title>ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417586#M200740</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 de-allocate button on the ALV grid , on click&lt;/P&gt;&lt;P&gt;of this alv its pops up a message TYPE (I) (goods movement) when the user dont want to go ahead he click on 'x' on the pop message , it not comming back to the alv indeed its going ahaed with the deallocation process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code is like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command 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;CASE r_ucomm.&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;DEALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Message for reselection of lines&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IF itab_display-kalab LE 0.&lt;/P&gt;&lt;P&gt;MESSAGE i101(/..../pp).&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*message for goods movement&lt;/P&gt;&lt;P&gt;IF itab_display-kalab GT 0.&lt;/P&gt;&lt;P&gt;MESSAGE i237(/....../pp).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check for the allocation quantity&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Clear itab_display.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Loop at itab_display where select = 'X'.&lt;/P&gt;&lt;P&gt;read table itab_display index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions and sample code on this will be helpfull..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 11:29:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417586#M200740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T11:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417587#M200741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'CANCEL' or 'EXIT'.&lt;/P&gt;&lt;P&gt;  leave to screen 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 11:33:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417587#M200741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T11:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417588#M200742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST PROCESSING.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 11:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417588#M200742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T11:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417589#M200743</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;since you are using the Information message it will behave like that only. But if you use 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: p_ans type c.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'POPUP_TO_CONFIRM'
         EXPORTING
             TITLEBAR              = 'Confirm'(007)
             TEXT_QUESTION = 'Do you wish to continue?'(006)
             TEXT_BUTTON_1         = 'Yes'(008)
             ICON_BUTTON_1         = 'ICON_OKAY'
             TEXT_BUTTON_2         = 'No'(010)
             ICON_BUTTON_2         = 'ICON_CANCEL'
             DEFAULT_BUTTON        = '1'
             DISPLAY_CANCEL_BUTTON = 'X'
             START_COLUMN          = 25
             START_ROW             = 6
        IMPORTING
             ANSWER                = P_ANS
        EXCEPTIONS
             TEXT_NOT_FOUND        = 1
             OTHERS                = 2.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;based on p_ans you can proceed.&lt;/P&gt;&lt;P&gt;using this you can exit further processing,.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 11:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417589#M200743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T11:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417590#M200744</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;For this u have to free the ALV by using the method FREE n then u can write-&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION 'TCODE'.&lt;/P&gt;&lt;P&gt;TCODE will b the transaction u want...&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;Seema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 11:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/1417590#M200744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T11:50:04Z</dc:date>
    </item>
  </channel>
</rss>

