<?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: select options. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130020#M1512284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahabob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a report or not. if it is a report why you are calling the screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below sample code will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TABLES lfa1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT-OPTIONS: client FOR lfa1-mandt,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vendor FOR lfa1-lifnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA:temp TYPE TABLE OF lfa1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN OUTPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF NOT client IS INITIAL OR NOT vendor IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    *SELECT * INTO CORRESPONDING FIELDS OF TABLE temp FROM lfa1 CLIENT SPECIFIED WHERE lifnr IN vendor AND mandt IN client.*&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   CALL SCREEN 100. " Display result.*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;LOOP AT itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;write:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&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;&lt;/P&gt;&lt;P&gt;Antony Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jul 2010 12:38:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-30T12:38:40Z</dc:date>
    <item>
      <title>select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130019#M1512283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt; please look at the code and tell me where i am wrong&lt;/P&gt;&lt;P&gt;tables lfa1.&lt;/P&gt;&lt;P&gt;select-options: Client for lfa1-mandt,&lt;/P&gt;&lt;P&gt;                         Vendor for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if not client is initial or not vendor is initial.&lt;/P&gt;&lt;P&gt;select * into corresponding fields of table temp from lfa1 where lifnr in vendor and mandt in client. &lt;/P&gt;&lt;P&gt;call screen 100.    " Display result.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am interested in multiple selection button in the selection screen against each field (my client actually).&lt;/P&gt;&lt;P&gt;the problem i am facing here is when i pressed the button for one field ( say Client) when i press the copy button on the multiple selection dialog. it is going to the result page(screen 100) . without returning to the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is going wrong here what i am missing here ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i didn't write the if statement then it is not even going to the selection screen it is directly proceeding to screen 100 with the whole lfa1 copied into table temp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just started abap programming so plz pardon me if this is too elemental question.&lt;/P&gt;&lt;P&gt;i did googling but i did not get what i need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 12:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130019#M1512283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T12:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130020#M1512284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahabob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a report or not. if it is a report why you are calling the screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below sample code will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TABLES lfa1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT-OPTIONS: client FOR lfa1-mandt,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vendor FOR lfa1-lifnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA:temp TYPE TABLE OF lfa1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN OUTPUT.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;IF NOT client IS INITIAL OR NOT vendor IS INITIAL.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    *SELECT * INTO CORRESPONDING FIELDS OF TABLE temp FROM lfa1 CLIENT SPECIFIED WHERE lifnr IN vendor AND mandt IN client.*&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   CALL SCREEN 100. " Display result.*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;LOOP AT itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;write:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDIF.&lt;/STRONG&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;&lt;/P&gt;&lt;P&gt;Antony Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 12:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130020#M1512284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T12:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130021#M1512285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the same code with AT SELECTION SCREEN. instead of AT SELECTION SCREEN OUTPUT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 12:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130021#M1512285</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-07-30T12:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130022#M1512286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;what is the concept behind loop at itab.   ???&lt;/P&gt;&lt;P&gt;i am using alv to display the temp table.&lt;/P&gt;&lt;P&gt;so im creating a screen in that im having a custom control...&lt;/P&gt;&lt;P&gt;is this wrong / unwanted procedure ? &lt;/P&gt;&lt;P&gt;can u plz clarify...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i already tried removing the output token.&lt;/P&gt;&lt;P&gt;but when i run the report &lt;/P&gt;&lt;P&gt;if i gave input to one fields&lt;/P&gt;&lt;P&gt;and when i pressed the multi selection button it is going to the result field.&lt;/P&gt;&lt;P&gt;as i wrote the if condition lik i stated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;but reply back for my doubts plz &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 18:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/7130022#M1512286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T18:27:45Z</dc:date>
    </item>
  </channel>
</rss>

