<?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 for custom table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896373#M1327229</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;as avinash said u can use select options instead of parameters then u can use on select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other wise u can create transaction varient transaction for se16 without intial screen. in this case u need not to write program.  note: hear the user shuld had the authoriztion for that table to view through se16 transaction.&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;rajesh.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2009 06:21:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-14T06:21:49Z</dc:date>
    <item>
      <title>Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896370#M1327226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have developed a custom table and user want to have a selection selection screen similar to SE16. There are 9 fields in the table and user can enter data to the selection screen with any combination. My question is how do I filter based on the user input ? DO I need to write multiple SQL for different combination of selection screen parameter within IF ELSEIF statement ? If so then there will be huge number of SQL within IF &amp;amp; ELSEIF statment for 9 selection parameter. Please suggest if you have any better ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896370#M1327226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T06:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896371#M1327227</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 use the SELECT-OPTIONS instead of parameter. Then you can have only one select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896371#M1327227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T06:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896372#M1327228</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;Use select-options .Through this you can use &lt;STRONG&gt;single select statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select * from &amp;lt;table&amp;gt; into table  itab where field1 in S_field1 .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896372#M1327228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T06:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896373#M1327229</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;as avinash said u can use select options instead of parameters then u can use on select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other wise u can create transaction varient transaction for se16 without intial screen. in this case u need not to write program.  note: hear the user shuld had the authoriztion for that table to view through se16 transaction.&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;rajesh.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:21:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896373#M1327229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T06:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896374#M1327230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hello Bakshi,

Try this way
&lt;PRE&gt;&lt;CODE&gt;REPORT  ztest_notepad.
TABLES :t100.
SELECT-OPTIONS :  s_sprsl FOR t100-sprsl,
                  s_arbgb FOR t100-arbgb,
                  s_msgnr FOR t100-msgnr,
                  s_text FOR t100-text.
DATA: it_t100 TYPE t100 OCCURS 0.
SELECT *
FROM t100
INTO TABLE it_t100
UP TO 100 ROWS   "Remove this
WHERE sprsl IN s_sprsl AND
      arbgb IN s_arbgb AND
      msgnr IN s_msgnr AND
      text  IN s_text.

DATA program TYPE sy-repid VALUE sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
  EXPORTING
    i_callback_program = program
    i_structure_name   = 'T100'
  TABLES
    t_outtab           = it_t100.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896374#M1327230</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-14T06:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896375#M1327231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one more suggestion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use selection-option with no extension no intervals so that, it just looks like a parameter...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896375#M1327231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T06:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896376#M1327232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of your ans are realy helpful. Could you please provide example for no extension  and no interval so that it will look like parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: J. Bakshi on Jul 14, 2009 8:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896376#M1327232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T06:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896377#M1327233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used select option insted of parameter with following code:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: P_PCBUS FOR MARA-ZZPC_BUSINESS,&lt;/P&gt;&lt;P&gt;                P_PCBUS1 FOR MARA-ZZPC_BUS_SUB1,&lt;/P&gt;&lt;P&gt;                P_PLNFMT FOR MARA-ZZPLNG_FORMAT,&lt;/P&gt;&lt;P&gt;                P_PRDB FOR MARA-ZZPROD_BRAND,&lt;/P&gt;&lt;P&gt;                P_SEASCD FOR MARA-ZZSEASON_CODE,&lt;/P&gt;&lt;P&gt;                P_SNP FOR MARA-ZZSUP_NET_PATH,&lt;/P&gt;&lt;P&gt;                P_MAT_DC FOR MARA-MATNR,&lt;/P&gt;&lt;P&gt;                P_MAT_MG FOR MARA-MATNR NO-EXTENSION NO INTERVALS.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK B2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But even after using NO extension and no intervals, selection screen does not look like parameter. Each fields comes up with low and high value.&lt;/P&gt;&lt;P&gt;Any suggestion how to make it look like a paremetr screen ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 06:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896377#M1327233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T06:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896378#M1327234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It got resolved use following code and now it is showing up as parameter :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: P_PCBUS FOR MARA-ZZPC_BUSINESS NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_PCBUS1 FOR MARA-ZZPC_BUS_SUB1 NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_PLNFMT FOR MARA-ZZPLNG_FORMAT NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_PRDB FOR MARA-ZZPROD_BRAND NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_SEASCD FOR MARA-ZZSEASON_CODE NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_SNP FOR MARA-ZZSUP_NET_PATH NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_MAT_DC FOR MARA-MATNR NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_MAT_MG FOR MARA-MATNR NO-EXTENSION NO INTERVALS.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK B2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 07:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896378#M1327234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T07:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896379#M1327235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even after using select-option along with IN statement in where clause , it did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used following selection screen defination :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: P_PCBUS FOR MARA-ZZPC_BUSINESS NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_PCBUS1 FOR MARA-ZZPC_BUS_SUB1 NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_PLNFMT FOR MARA-ZZPLNG_FORMAT NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_PRDB FOR MARA-ZZPROD_BRAND NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_SEASCD FOR MARA-ZZSEASON_CODE NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_SNP FOR MARA-ZZSUP_NET_PATH NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_MAT_DC FOR MARA-MATNR NO-EXTENSION NO INTERVALS,&lt;/P&gt;&lt;P&gt;                P_MAT_MG FOR MARA-MATNR NO-EXTENSION NO INTERVALS.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK B2.&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;and SQL statement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT ZZPC_BUSINESS&lt;/P&gt;&lt;P&gt;      FROM ZTB_RTL_TO_WHS&lt;/P&gt;&lt;P&gt;      INTO TABLE TA_ZZPCBUS&lt;/P&gt;&lt;P&gt;      WHERE ZZPC_BUSINESS =  P_PCBUS&lt;/P&gt;&lt;P&gt;      AND  ZZPC_BUS_SUB1  IN  P_PCBUS1&lt;/P&gt;&lt;P&gt;      AND   ZZPROD_BRAND   IN  P_PRDB&lt;/P&gt;&lt;P&gt;      AND  ZZPLNG_FORMAT   IN  P_PLNFMT&lt;/P&gt;&lt;P&gt;      AND  ZZSEASON_CODE   IN  P_SEASCD&lt;/P&gt;&lt;P&gt;      AND  ZZSUP_NET_PATH  IN  P_SNP&lt;/P&gt;&lt;P&gt;      AND  ZZD_MATNR       IN  P_MAT_DC&lt;/P&gt;&lt;P&gt;      AND  ZZM_MATNR       IN  P_MAT_MG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While executing program, I only enterd value for the field P_PCBUS. Though record present for that value, I rcvd SY-SUBRC = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANy Idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: J. Bakshi on Jul 14, 2009 10:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 08:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896379#M1327235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T08:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896380#M1327236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use select option, why you want to go for parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2009 08:14:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-for-custom-table/m-p/5896380#M1327236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-14T08:14:51Z</dc:date>
    </item>
  </channel>
</rss>

