<?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: FI: Company code. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149860#M992399</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;SKA1 and SKB1 are the tables for G/L account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SKB1 is having company code field BUKRS. by using this u can join both tables and you can get G/L'S data.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 10:03:45 GMT</pubDate>
    <dc:creator>venkatasriram_mygapula</dc:creator>
    <dc:date>2008-07-14T10:03:45Z</dc:date>
    <item>
      <title>FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149857#M992396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts ,&lt;/P&gt;&lt;P&gt;                  Based on Company code. how to get G/L accounts. i need information regarding this. &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;Sunita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 09:56:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149857#M992396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149858#M992397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can get this info from table SKB1.&lt;/P&gt;&lt;P&gt;Give the company code, you will get GL accounts for tht company code.&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;Regards,&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 09:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149858#M992397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T09:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149859#M992398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SKB1 table you will get field company code as BUKRS and G/L account as SAKNR.it will give you g/l number by company code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 10:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149859#M992398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149860#M992399</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;SKA1 and SKB1 are the tables for G/L account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SKB1 is having company code field BUKRS. by using this u can join both tables and you can get G/L'S data.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 10:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149860#M992399</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-14T10:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149861#M992400</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;Goto T-Code &lt;STRONG&gt;FS10N&lt;/STRONG&gt; here u get the &lt;STRONG&gt;company code&lt;/STRONG&gt; and &lt;STRONG&gt;G/L&lt;/STRONG&gt; wise &lt;STRONG&gt;Opening balance&lt;/STRONG&gt; and &lt;STRONG&gt;Closing balance&lt;/STRONG&gt; for &lt;STRONG&gt;a Year&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are u got the solution for &lt;STRONG&gt;Alv-grid column width&lt;/STRONG&gt; thread.&lt;/P&gt;&lt;P&gt;If u got the solution, closed that thread.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.....&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;&lt;/P&gt;&lt;P&gt;Durai.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 10:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149861#M992400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T10:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149862#M992401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES:
  skb1.

SELECT-OPTIONS :
  s_bukrs FOR skb1-bukrs.

DATA :
   t_skb1 LIKE
 STANDARD TABLE
       OF skb1.

DATA :
  fs_skb1 LIKE LINE OF t_skb1.

TOP-OF-PAGE.

  WRITE :/10 'Company Code' COLOR 7,
        30 'G/L Account Number' COLOR 7.

START-OF-SELECTION.

  SELECT bukrs
         saknr
    FROM skb1
    INTO CORRESPONDING FIELDS OF TABLE t_skb1
   WHERE bukrs IN s_bukrs.

  SORT t_skb1 BY bukrs .

  LOOP AT t_skb1 INTO fs_skb1.

    AT NEW bukrs.

      WRITE :/  fs_skb1-bukrs UNDER 'Company Code' COLOR 1.

    ENDAT.

    WRITE :/ fs_skb1-saknr UNDER 'G/L Account Number' COLOR 2.

  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will &lt;STRONG&gt;accept a range of company codes&lt;/STRONG&gt; on the selection-screen and &lt;STRONG&gt;fetches all the G/L Account numbers&lt;/STRONG&gt; based on the given input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 11:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149862#M992401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T11:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149863#M992402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  As told by others the table for G/L account master for company code is SKB1.&lt;/P&gt;&lt;P&gt;  and the value table for G/L account is SKA1 which is the &lt;/P&gt;&lt;P&gt;G/L Account master ( chart of account ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 11:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149863#M992402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T11:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: FI: Company code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149864#M992403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field which represents the company code is &lt;STRONG&gt;"BUKRS"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To establish certain relationship between "Company Code" and "G/L Accounts", you can understand by checking the structure - BAPI3006_0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a standard BAPI for General Ledger Account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this structure, we have BUKRS - Company code and SAKNR - G/L Account Numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, a relation can be established between these two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I again, Suggest you to use - BAPI for G/L Account: BAPI_GL_ACC_GETLIST - List of G/L Accounts per Company Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This makes it better to understand the relationships and code it in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make the best choice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping it to be usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 12:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-company-code/m-p/4149864#M992403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T12:46:23Z</dc:date>
    </item>
  </channel>
</rss>

