<?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 option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062699#M725569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satish,&lt;/P&gt;&lt;P&gt;I have one internal table, which has PO 's information along with account assignment catagory, accts assmt cat = P or N, it means it's related to Project, bcoz we can't directly enter Project number at the time of PO creations. Now I have one select option for project, so the user can filter the reprot based on projects also, just like me2J.&lt;/P&gt;&lt;P&gt;Now I want to show only those projects which are there in selection option, and delete rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patel,&lt;/P&gt;&lt;P&gt;If user has given range, how can i query. I mean i have to populate the itab programitcally???&lt;/P&gt;&lt;P&gt;Or if you can see ME2J, how they are fetching the records???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2007 21:13:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-20T21:13:22Z</dc:date>
    <item>
      <title>select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062696#M725566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm taking project number in selecton option. I am working on a report in which i have to display on those projects which are mentioned in select option.&lt;/P&gt;&lt;P&gt;The data in the EKKN table is not stored directly based on project, infact on wbs or network. based on netwrork or wbs i'll find project. But then i have to delete all the project which are not in select options.&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;P&gt;How can i loop on select option if user has given,,,e.g 40001 to 9000 in project select option.&lt;/P&gt;&lt;P&gt;I have to built the logic like ME2J report, it takes project as a input and dispaly PO related data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggets....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sal Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 20:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062696#M725566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T20:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062697#M725567</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; From where you want to delete the Projects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 20:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062697#M725567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T20:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062698#M725568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you have to take all the projects which are there in the internal table (from WBS ) based on your select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IT_PROJ
4000
4001
4004
4008
...
8899&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this internal table for selection with FOR ALL ENTRIES IN IT_PROJ addition in select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 21:00:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062698#M725568</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-20T21:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062699#M725569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satish,&lt;/P&gt;&lt;P&gt;I have one internal table, which has PO 's information along with account assignment catagory, accts assmt cat = P or N, it means it's related to Project, bcoz we can't directly enter Project number at the time of PO creations. Now I have one select option for project, so the user can filter the reprot based on projects also, just like me2J.&lt;/P&gt;&lt;P&gt;Now I want to show only those projects which are there in selection option, and delete rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patel,&lt;/P&gt;&lt;P&gt;If user has given range, how can i query. I mean i have to populate the itab programitcally???&lt;/P&gt;&lt;P&gt;Or if you can see ME2J, how they are fetching the records???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 21:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062699#M725569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T21:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062700#M725570</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; First Get data from PRPS as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select-options: s_prdef for PRPS-PSPHI.

  SELECT pspnr posid psphi stufe werks matnr FROM prps
   INTO TABLE git_prps
    WHERE psphi in s_prdef

*  Fetch POs for WBS elements
    SELECT ebeln loekz aufnr ps_psp_pnr
    FROM ekkn
     INTO TABLE git_ekkn
      FOR ALL ENTRIES IN git_prps
      WHERE ebeln IN r_ebeln
        AND ebelp IN r_ebelp
        AND zekkn IN r_zekkn
        AND ps_psp_pnr = git_prps-pspnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above code you have already filtered the Projects, so you will get PO details based on those projects only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this you are expecting? Pls let me know if i have mistaken...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 21:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062700#M725570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T21:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062701#M725571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if the PO is created based on network not WBS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 21:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/3062701#M725571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T21:59:16Z</dc:date>
    </item>
  </channel>
</rss>

