<?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 Function Module to get storage Location Based on Plant in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658143#M613077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wanna to fatch storage location based on plant  in the function module.&lt;/P&gt;&lt;P&gt;in the function module  import parameter is &lt;/P&gt;&lt;P&gt;field id = 'plant'&lt;/P&gt;&lt;P&gt;table itab.&lt;/P&gt;&lt;P&gt;it select all plant from table T001W.&lt;/P&gt;&lt;P&gt;i want to storage location based on Plant in Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2007 10:41:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-20T10:41:20Z</dc:date>
    <item>
      <title>Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658143#M613077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wanna to fatch storage location based on plant  in the function module.&lt;/P&gt;&lt;P&gt;in the function module  import parameter is &lt;/P&gt;&lt;P&gt;field id = 'plant'&lt;/P&gt;&lt;P&gt;table itab.&lt;/P&gt;&lt;P&gt;it select all plant from table T001W.&lt;/P&gt;&lt;P&gt;i want to storage location based on Plant in Function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 10:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658143#M613077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T10:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658144#M613078</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 fech all the storage location for a plant from table &amp;lt;b&amp;gt;T001L&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if hlepful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 10:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658144#M613078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658145#M613079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use this code, it will display only selected data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In POV (Process on value request)&lt;/P&gt;&lt;P&gt;field 'plant' module get_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and write module like below.&lt;/P&gt;&lt;P&gt;select sloc from t001w into corresponding fields of table itab where plant eq &amp;lt;plant&amp;gt;.&lt;/P&gt;&lt;P&gt;  SELECT * FROM zgpack INTO CORRESPONDING FIELDS OF TABLE izgpack.&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     RETFIELD    = 'TEST'&lt;/P&gt;&lt;P&gt;     DYNPPROG    = SY-REPID&lt;/P&gt;&lt;P&gt;     DYNPNR      = SY-DYNNR&lt;/P&gt;&lt;P&gt;     DYNPROFIELD = 'TEST'&lt;/P&gt;&lt;P&gt;     VALUE_ORG   = 'S'&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     VALUE_TAB   = itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 10:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658145#M613079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T10:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658146#M613080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rashmi,&lt;/P&gt;&lt;P&gt;For this there is no need to use a separate FM, just write a simple select query to table T001L. You can observe T001L will have all storage locations maintined against the plants.&lt;/P&gt;&lt;P&gt;Example : &lt;/P&gt;&lt;P&gt;Select werks lgort &lt;/P&gt;&lt;P&gt;  from T001L&lt;/P&gt;&lt;P&gt;  into table i_t001l&lt;/P&gt;&lt;P&gt;  where werks eq &amp;lt;i&amp;gt;Plant&amp;lt;/i&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this use appropriate Read Table statement to validate or to use data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALL THE VERY BEST.&lt;/P&gt;&lt;P&gt;- Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 10:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658146#M613080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T10:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658147#M613081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for ur Response,&lt;/P&gt;&lt;P&gt;but my quary is that.in my function module i am geting plant data from table t100w. but in the function module how the user select plant and get storage location.&lt;/P&gt;&lt;P&gt;do i use Read statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code: for Plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  werks name1 spras  FROM    t001w  INTO it.&lt;/P&gt;&lt;P&gt; it-field_id = 'PLANT'.&lt;/P&gt;&lt;P&gt;APPEND it.&lt;/P&gt;&lt;P&gt;      CLEAR it.&lt;/P&gt;&lt;P&gt;    ENDSELECT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code for  storage location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  lgort lgobe&lt;/P&gt;&lt;P&gt;    FROM    t001l INTO  itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it fatching all storage location.&lt;/P&gt;&lt;P&gt;i want to use where condition for storage location.&lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658147#M613081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658148#M613082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try fn module&lt;/P&gt;&lt;P&gt;LOCATION_READ_T001L&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(i am in 4.7 version)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 11:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658148#M613082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658149#M613083</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;   Try FM   &amp;lt;b&amp;gt;LOCATION_READ_T001L&amp;lt;/b&amp;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>Mon, 20 Aug 2007 11:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658149#M613083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to get storage Location Based on Plant</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658150#M613084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Shiba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should i take one more  import parameter as werks_id.&lt;/P&gt;&lt;P&gt;i want to use existing selected plant.&lt;/P&gt;&lt;P&gt;can u help me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 12:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-get-storage-location-based-on-plant/m-p/2658150#M613084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-20T12:12:50Z</dc:date>
    </item>
  </channel>
</rss>

