<?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 how to derive the location code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-derive-the-location-code/m-p/5407049#M1241763</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 my requirement they asked to derive the location code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location will be derived from the vendor number(LIFNR) in the vendor table EINA and location 0260 based on the part number from MSEG .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fetched vendors from EINA table based on part numbers from MSEG table.But i didnt understand how to derive the location code based on vendors as the following mapping given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Vendor Number = 100008954 then Location Code = LSPA03  (SONY REPAIR)&lt;/P&gt;&lt;P&gt;If the Vendor Number = 100036664 then Location Code = LSPA05  (FOXCONN REPAIR)&lt;/P&gt;&lt;P&gt;If the Vendor Number = 100036665 then Location Code = LSPA07  (QUANTA REPAIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neelima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Mar 2009 05:48:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-21T05:48:42Z</dc:date>
    <item>
      <title>how to derive the location code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-derive-the-location-code/m-p/5407049#M1241763</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 my requirement they asked to derive the location code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location will be derived from the vendor number(LIFNR) in the vendor table EINA and location 0260 based on the part number from MSEG .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fetched vendors from EINA table based on part numbers from MSEG table.But i didnt understand how to derive the location code based on vendors as the following mapping given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Vendor Number = 100008954 then Location Code = LSPA03  (SONY REPAIR)&lt;/P&gt;&lt;P&gt;If the Vendor Number = 100036664 then Location Code = LSPA05  (FOXCONN REPAIR)&lt;/P&gt;&lt;P&gt;If the Vendor Number = 100036665 then Location Code = LSPA07  (QUANTA REPAIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neelima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2009 05:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-derive-the-location-code/m-p/5407049#M1241763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-21T05:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to derive the location code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-derive-the-location-code/m-p/5407050#M1241764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your data, there is  one-to-one relationship with Vendor and Location Code. So you may find an unused field in Vendor Master (LFA1 or LFM1) and store this 6 CHAR data. Or, you may store in Info Record also (EINA).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2009 06:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-derive-the-location-code/m-p/5407050#M1241764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-21T06:01:53Z</dc:date>
    </item>
  </channel>
</rss>

