<?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: how to make input parameter with multiple values in function module? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043685#M1172656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ronny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;how to make input parameter for material as it can take multiple material number at the time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you need to have a range table for Material No.(MATNR). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP has provided a range table for MATNR - RANGE_T_MATNR(Range Table for Data Element MATNR). You can define your input parameter for material as import param:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;R_MATNR TYPE RANGE_T_MATNR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2009 07:54:36 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2009-01-14T07:54:36Z</dc:date>
    <item>
      <title>how to make input parameter with multiple values in function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043680#M1172651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a function module which takes input as material number.&lt;/P&gt;&lt;P&gt;but how to make input parameter for material as it can take multiple material number at the time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;RH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043680#M1172651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-14T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to make input parameter with multiple values in function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043681#M1172652</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 like the following and from the extension button you can give multiple values, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: soregio FOR kna1-regio NO INTERVALS OBLIGATORY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replay if any Problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Faisal Altaf on Jan 14, 2009 12:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043681#M1172652</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-14T07:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to make input parameter with multiple values in function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043682#M1172653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: r_matnr TYPE RANGE OF mara-matnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043682#M1172653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-14T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to make input parameter with multiple values in function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043683#M1172654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use TABLES Parameter instead of IMPORT Parameter for multiple input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043683#M1172654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-14T07:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to make input parameter with multiple values in function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043684#M1172655</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;For more detail about the select option have a look at the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: kna1.

SELECT-OPTIONS: soregio FOR kna1-regio NO INTERVALS OBLIGATORY.

data: it_kan1 like STANDARD TABLE OF kna1 WITH HEADER LINE,
      wa_it_kna1 like kna1.

select * from kna1
  into CORRESPONDING FIELDS OF TABLE it_kan1
  WHERE regio in soregio. "if you will give two region using the extension buttion it will select the all records have these two regions&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043684#M1172655</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-14T07:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to make input parameter with multiple values in function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043685#M1172656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ronny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;how to make input parameter for material as it can take multiple material number at the time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you need to have a range table for Material No.(MATNR). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP has provided a range table for MATNR - RANGE_T_MATNR(Range Table for Data Element MATNR). You can define your input parameter for material as import param:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;R_MATNR TYPE RANGE_T_MATNR&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043685#M1172656</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-14T07:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to make input parameter with multiple values in function module?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043686#M1172657</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;Declare and fill the range as under and then pass it to function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ranges: rkunnr for kna1-kunnr.
rkunnr-sign = 'I'. rkunnr-option = 'EQ'.
  select kunnr from zsdo into rkunnr-low
     append rkunnr to rkunnr.
  endselect.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use it just like Select-Option &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * from kna1
  into CORRESPONDING FIELDS OF TABLE it_kan1
  WHERE kunnr in rkunnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define this Range in the "Tables" Tab in Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;King Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Faisal Altaf on Jan 14, 2009 2:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 07:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-input-parameter-with-multiple-values-in-function-module/m-p/5043686#M1172657</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-01-14T07:56:49Z</dc:date>
    </item>
  </channel>
</rss>

