<?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: Vendor name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780043#M909556</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;Please note that it is a better practice to pick up vendor name from ADRC rather than LFA1 since in LFA1 it stores only 35 characters however in ADRC it stores 40 characters. Hence If Vendor name is more than 35 characters then If you use from LFA1 then it will pick up only first 35 characters of the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Single * from ekko where ebeln = w_ebeln. ( Your PO no )&lt;/P&gt;&lt;P&gt;Case sy-subrc.&lt;/P&gt;&lt;P&gt;        When 0.&lt;/P&gt;&lt;P&gt;        When Others. &lt;/P&gt;&lt;P&gt;                  Clear ekko.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;Select Single * from LFA1 where lifbr = ekko-lifnr.&lt;/P&gt;&lt;P&gt;Case sy-subrc.&lt;/P&gt;&lt;P&gt;        When 0.&lt;/P&gt;&lt;P&gt;        When Others.&lt;/P&gt;&lt;P&gt;                  Clear lfa1.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Select Single * from ADRC where ADDRNUMBER = lfa1-adrnr.&lt;/P&gt;&lt;P&gt;Case sy-subrc.&lt;/P&gt;&lt;P&gt;        When 0.&lt;/P&gt;&lt;P&gt;        When Others. &lt;/P&gt;&lt;P&gt;                 Clear adrc.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;w_vname = adrc-name1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 May 2008 10:49:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-08T10:49:19Z</dc:date>
    <item>
      <title>Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780036#M909549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Vendor name based on Purchase order number[ebeln].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Points wil be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 08:54:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780036#M909549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780037#M909550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jasmine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch the LIFNR value from EKKO table based on PO number.&lt;/P&gt;&lt;P&gt;Using LIFNR fetch vendor name from LFA1 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 08:57:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780037#M909550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T08:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780038#M909551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have LIFNR(vendor) from purchase order data and go with that LIFNR to LFA1 table and get the vendor name.&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;Madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 09:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780038#M909551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T09:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780039#M909552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ekko you have: EBELN (Purchase doc) and LIFNR (Vendor number), go to LFA1 (Vendor master) with LIFNR and you will get the name in field LFA1-NAME1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 09:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780039#M909552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T09:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780040#M909553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get lifnr from table ekko and den use table lfa1 field name1 to retrieve vendor name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 09:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780040#M909553</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2008-05-08T09:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780041#M909554</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;Fetch the LIFNR value from EKKO table based on PO number(EBELN).&lt;/P&gt;&lt;P&gt;Using this LIFNR fetch vendor name (Name1 field) from LFA1 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 09:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780041#M909554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T09:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780042#M909555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ekko,ekpo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat appijkona&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 09:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780042#M909555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Vendor name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780043#M909556</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;Please note that it is a better practice to pick up vendor name from ADRC rather than LFA1 since in LFA1 it stores only 35 characters however in ADRC it stores 40 characters. Hence If Vendor name is more than 35 characters then If you use from LFA1 then it will pick up only first 35 characters of the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Single * from ekko where ebeln = w_ebeln. ( Your PO no )&lt;/P&gt;&lt;P&gt;Case sy-subrc.&lt;/P&gt;&lt;P&gt;        When 0.&lt;/P&gt;&lt;P&gt;        When Others. &lt;/P&gt;&lt;P&gt;                  Clear ekko.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;Select Single * from LFA1 where lifbr = ekko-lifnr.&lt;/P&gt;&lt;P&gt;Case sy-subrc.&lt;/P&gt;&lt;P&gt;        When 0.&lt;/P&gt;&lt;P&gt;        When Others.&lt;/P&gt;&lt;P&gt;                  Clear lfa1.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Select Single * from ADRC where ADDRNUMBER = lfa1-adrnr.&lt;/P&gt;&lt;P&gt;Case sy-subrc.&lt;/P&gt;&lt;P&gt;        When 0.&lt;/P&gt;&lt;P&gt;        When Others. &lt;/P&gt;&lt;P&gt;                 Clear adrc.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;w_vname = adrc-name1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2008 10:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vendor-name/m-p/3780043#M909556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-08T10:49:19Z</dc:date>
    </item>
  </channel>
</rss>

