<?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: selection screen :data retrieval in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779984#M647952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI Amar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : ekko.&lt;/P&gt;&lt;P&gt;data : begin of itab_ekko occurs 0.&lt;/P&gt;&lt;P&gt;       include structure ekko.&lt;/P&gt;&lt;P&gt; data     : end of itab_ekko.&lt;/P&gt;&lt;P&gt;data : temp like ekko-ebeln..&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK ID WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EBELN FOR EKKO-EBELN NO INTERVALS,&lt;/P&gt;&lt;P&gt;AEDAT FOR EKKO-AEDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select ebeln aedat from ekko into table itab_ekko where ebeln in ebeln and aedat in aedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at itab_ekko.&lt;/P&gt;&lt;P&gt; write : ebeln.&lt;/P&gt;&lt;P&gt;temp = itab_ekko-ebeln.&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF USEFUL..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2007 10:57:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-13T10:57:45Z</dc:date>
    <item>
      <title>selection screen :data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779979#M647947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to pass the contents of each individual input fieldfrom the selection screen to the ABAP program.My selection screen is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK ID WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;   SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    EBELN  FOR EKKO-EBELN NO INTERVALS,&lt;/P&gt;&lt;P&gt;                    AEDAT  FOR EKKO-AEDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECTION-SCREEN END OF BLOCK ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need value of ebeln(purchase order) which i select on selection screen as i have to use it in query in same program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779979#M647947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen :data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779980#M647948</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 take the values  of all PO in one table by passing value of select-option to ekko and take all the values of po in internal table and then pass that internal table or use for all entries in that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Umesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779980#M647948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen :data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779981#M647949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;U can use the values like this.


select * from ekko where ebeln in ebeln.

If u want to see all the values then use 

loop at ebeln.
write:/ ebeln-low.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779981#M647949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen :data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779982#M647950</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 get the details in an internal table&amp;lt;b&amp;gt; i_ekko&amp;lt;/b&amp;gt; as shown below.Use this table for further procesing in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK ID WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;S_EBELN FOR EKKO-EBELN NO INTERVALS,&lt;/P&gt;&lt;P&gt;S_AEDAT FOR EKKO-AEDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_ekko type standard table of ekko with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  *  FROM EKKO INTO TABLE i_lfa1 WHERE ebeln IN s_ebeln AND aedat IN s_aedat.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Always reward points for helpful answers.&lt;/P&gt;&lt;P&gt;&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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779982#M647950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen :data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779983#M647951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amardeep Khaira ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;Hope this site helps you a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to your problem,You can use the ebelns that are given from the selection screen in the select query as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;ekpo&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;s_ebeln&amp;lt;/b&amp;gt; for ekpo-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  t_ekpo type ekpo occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select F1 F2 ....  (what ever fields u want)&lt;/P&gt;&lt;P&gt;  into table t_ekpo   &lt;/P&gt;&lt;P&gt;from database table&lt;/P&gt;&lt;P&gt;  where ebeln in &amp;lt;b&amp;gt;s_ebeln&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;  loop at t_ekpo.&lt;/P&gt;&lt;P&gt;   write:&lt;/P&gt;&lt;P&gt;      t_ekpo-ebeln,&lt;/P&gt;&lt;P&gt;      t_ekpo- EBELP.   &lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama chary.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779983#M647951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen :data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779984#M647952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI Amar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : ekko.&lt;/P&gt;&lt;P&gt;data : begin of itab_ekko occurs 0.&lt;/P&gt;&lt;P&gt;       include structure ekko.&lt;/P&gt;&lt;P&gt; data     : end of itab_ekko.&lt;/P&gt;&lt;P&gt;data : temp like ekko-ebeln..&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK ID WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EBELN FOR EKKO-EBELN NO INTERVALS,&lt;/P&gt;&lt;P&gt;AEDAT FOR EKKO-AEDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select ebeln aedat from ekko into table itab_ekko where ebeln in ebeln and aedat in aedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at itab_ekko.&lt;/P&gt;&lt;P&gt; write : ebeln.&lt;/P&gt;&lt;P&gt;temp = itab_ekko-ebeln.&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF USEFUL..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 10:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779984#M647952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T10:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen :data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779985#M647953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 03:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-data-retrieval/m-p/2779985#M647953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T03:51:20Z</dc:date>
    </item>
  </channel>
</rss>

