<?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/ Bapi to get cost center group. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-to-get-cost-center-group/m-p/2066625#M427658</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;Can anybody please tell me the function module/ Bapi to get cost center group when the input parameter would be cost center .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is there a table in which I can find the cost center group and all the cost centers which are there in that cost center group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 15:07:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T15:07:24Z</dc:date>
    <item>
      <title>Function module/ Bapi to get cost center group.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-to-get-cost-center-group/m-p/2066625#M427658</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;Can anybody please tell me the function module/ Bapi to get cost center group when the input parameter would be cost center .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is there a table in which I can find the cost center group and all the cost centers which are there in that cost center group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ankit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-to-get-cost-center-group/m-p/2066625#M427658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Function module/ Bapi to get cost center group.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-to-get-cost-center-group/m-p/2066626#M427659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Also is there a table in which I can find the cost center group and all the cost centers which are there in that cost center group.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the table SETHEADER and SETLEAF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_kostl TYPE TABLE OF bapi1112_values WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;           it_kstar TYPE TABLE OF bapi1113_values WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;           it_nodes1 TYPE TABLE OF bapiset_hier,&lt;/P&gt;&lt;P&gt;           it_nodes2 TYPE TABLE OF bapiset_hier,&lt;/P&gt;&lt;P&gt;           it_messages1 LIKE bapiret2,&lt;/P&gt;&lt;P&gt;           it_messages2 LIKE bapiret2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF s_kostl[] IS INITIAL AND&lt;/P&gt;&lt;P&gt;     NOT p_ccgrp IS INITIAL.&lt;/P&gt;&lt;P&gt;    CLEAR it_kostl.&lt;/P&gt;&lt;P&gt;    REFRESH : it_kostl .&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_COSTCENTERGROUP_GETDETAIL'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              controllingarea = 'ERC'&lt;/P&gt;&lt;P&gt;              groupname       = p_ccgrp&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              return          = it_messages1&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              hierarchynodes  = it_nodes1&lt;/P&gt;&lt;P&gt;              hierarchyvalues = it_kostl.&lt;/P&gt;&lt;P&gt;    CLEAR it_kostl.&lt;/P&gt;&lt;P&gt;    LOOP AT it_kostl.&lt;/P&gt;&lt;P&gt;      s_kostl-sign = 'I'.&lt;/P&gt;&lt;P&gt;      s_kostl-option = 'BT'.&lt;/P&gt;&lt;P&gt;      s_kostl-low = it_kostl-valfrom.&lt;/P&gt;&lt;P&gt;      s_kostl-high = it_kostl-valto.&lt;/P&gt;&lt;P&gt;      APPEND s_kostl.&lt;/P&gt;&lt;P&gt;      CLEAR s_kostl.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-to-get-cost-center-group/m-p/2066626#M427659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function module/ Bapi to get cost center group.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-to-get-cost-center-group/m-p/2066627#M427660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;Also is there a table in which I can find the cost center group and all the cost centers which are there in that cost center group.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;There is a bapi &lt;/P&gt;&lt;P&gt;-BAPI_COSTCENTERGROUP_GETDETAIL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-bapi-to-get-cost-center-group/m-p/2066627#M427660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:12:13Z</dc:date>
    </item>
  </channel>
</rss>

