<?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: Program Output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820632#M918876</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;STRONG&gt;select-options:s_matnr for mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you declare select-options a selection tables like &lt;/P&gt;&lt;P&gt;Internal table with 4 fields like SIGN,OPTION,LOW and High gets &lt;/P&gt;&lt;P&gt;created to store the multiple values that are entered in the &lt;/P&gt;&lt;P&gt;select -options.and and we use IN in where condition for &lt;/P&gt;&lt;P&gt;that s select-options field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;parameters:p_matnr like mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Parameters takes single value &lt;/P&gt;&lt;P&gt;and we use = in where condition for that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you declare select-options a selection tables like Internal table with 4 fields like SIGN,OPTION,LOW and High gets created to store the multiple values that are entered in the select -options.&lt;/P&gt;&lt;P&gt;and and we use IN in where condition for that s select-options field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz go through the below link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/difference-between-select-options-and-parameters.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/difference-between-select-options-and-parameters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 May 2008 02:54:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-24T02:54:34Z</dc:date>
    <item>
      <title>Program Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820630#M918874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please tell me the difference in output's of the below codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------" /&gt;&lt;P&gt;parameters:p_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;select * from mara into table i_mara from mara&lt;/P&gt;&lt;P&gt;            where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;loop at i_mara into wa_mara.&lt;/P&gt;&lt;P&gt;write:/ wa_mara-matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------" /&gt;&lt;P&gt;select-options:s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;select * from mara into table i_mara from mara&lt;/P&gt;&lt;P&gt;            where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;loop at i_mara into wa_mara.&lt;/P&gt;&lt;P&gt;write:/ wa_mara-matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now execute the two blocks of above code independently. Execute the program with out entering the materials and see the difference in outputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 00:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820630#M918874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-24T00:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Program Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820631#M918875</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; In the first select it displays the values where the material value is space. Since we are displaying only matnr so no output is being displayed ... Where as in the second select statement it picks up all the database values of matnr without any condition on it and displays material of it on the output  ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 02:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820631#M918875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-24T02:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Program Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820632#M918876</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;STRONG&gt;select-options:s_matnr for mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you declare select-options a selection tables like &lt;/P&gt;&lt;P&gt;Internal table with 4 fields like SIGN,OPTION,LOW and High gets &lt;/P&gt;&lt;P&gt;created to store the multiple values that are entered in the &lt;/P&gt;&lt;P&gt;select -options.and and we use IN in where condition for &lt;/P&gt;&lt;P&gt;that s select-options field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;parameters:p_matnr like mara-matnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Parameters takes single value &lt;/P&gt;&lt;P&gt;and we use = in where condition for that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you declare select-options a selection tables like Internal table with 4 fields like SIGN,OPTION,LOW and High gets created to store the multiple values that are entered in the select -options.&lt;/P&gt;&lt;P&gt;and and we use IN in where condition for that s select-options field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz go through the below link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/difference-between-select-options-and-parameters.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/difference-between-select-options-and-parameters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 May 2008 02:54:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820632#M918876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-24T02:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Program Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820633#M918877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Myself solved the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 03:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-output/m-p/3820633#M918877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T03:52:44Z</dc:date>
    </item>
  </channel>
</rss>

