<?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: Friends need help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/friends-need-help/m-p/2325073#M510884</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;Yes..there are two options..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) use LIKP-VKORG to get the company code from the table TVKO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM TVKO WHERE VKORG = LIKP-VKORG.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  WRITE: / 'Company code', TVKO-BUKRS.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;2) Use the table MSEG to get the company code for that material document.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM MKPF WHERE XBLNR = LIKP-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM MSEG WHERE MBLNR = MKPF-MBLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / 'Company code', MSEG-BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 04:48:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T04:48:22Z</dc:date>
    <item>
      <title>Friends need help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/friends-need-help/m-p/2325072#M510883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to fetch company code for outbound movement of material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently I am picking up LIKP-KKBER for that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But sometimes its not mainted so I am not getting Company code. So is there any other table from which I can get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please not its only for movement types 601, 901, and 931&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 04:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/friends-need-help/m-p/2325072#M510883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T04:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Friends need help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/friends-need-help/m-p/2325073#M510884</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;Yes..there are two options..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) use LIKP-VKORG to get the company code from the table TVKO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM TVKO WHERE VKORG = LIKP-VKORG.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  WRITE: / 'Company code', TVKO-BUKRS.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;2) Use the table MSEG to get the company code for that material document.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM MKPF WHERE XBLNR = LIKP-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM MSEG WHERE MBLNR = MKPF-MBLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE: / 'Company code', MSEG-BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 04:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/friends-need-help/m-p/2325073#M510884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T04:48:22Z</dc:date>
    </item>
  </channel>
</rss>

