<?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: FUNC_LOCATION_HIERARCHY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335486#M799370</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;Iwant to display the functional location hierarchy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u give any functional location as specifying &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHENNAI  then it have to show T.NAGAR which was declared below the CHENNAI in the transaction IL01 and it have to show the functional location above chennai also such as TAMILNADU &amp;amp; INDIA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2008 09:45:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-25T09:45:29Z</dc:date>
    <item>
      <title>FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335464#M799348</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;I'm using the FUNC_LOCATION_HIERARCHY Fm to get hierarchy of a functional location can u give me a sampel coding on this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;along with internal tables declaration plz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 14:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335464#M799348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T14:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335465#M799349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code for displaying hierarchy of Functional locations - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code* Get the List of Func Locs.&lt;/P&gt;&lt;P&gt;SELECT TPLNR&lt;/P&gt;&lt;P&gt;FROM IFLOT&lt;/P&gt;&lt;P&gt;INTO TABLE T_FLOC&lt;/P&gt;&lt;P&gt;WHERE TPLNR IN S_TPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE S515(IL).&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the Functional Location Hierarchy List. &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FUNC_LOCATION_HIERARCHY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;INCLUDING_ROOT = TRUE&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;ROOT_TAB = T_FLOC "Starting Point &lt;/P&gt;&lt;P&gt;IFLO_TAB = T_IFLOT " returned Hierarchy tab.&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ROOT_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;READ_ERROR = 2&lt;/P&gt;&lt;P&gt;STRUCTURE_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;SORT T_IFLOT BY TPLNR.&lt;/P&gt;&lt;P&gt;ENDIF.[/code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 14:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335465#M799349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T14:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335466#M799350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mrutyun &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your coding  i have seen this coding earlier only but my problem is what is S_TPLNR how it is comparing values?? Do it selected any values before this select statement??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes plz provide that coding also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is T_IFLOT here from where it is getting the values??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz provide me the complete coding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335466#M799350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335467#M799351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz reply me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335467#M799351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335468#M799352</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;Gurus plz provide me coding for Functional Hierarchy &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335468#M799352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335469#M799353</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;plz respond me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335469#M799353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335470#M799354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA : BEGIN OF T_FLOC OCCURS 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TPLNR TYPE TPLNR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF T_FLOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : T_IFLOT TYPE IFLOT OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check the Functional Locations.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;SELECT TPLNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM IFLOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTO TABLE T_FLOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE TPLNR IN S_TPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE S515(IL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the Functional location hierarchy for the selected Ones.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FUNC_LOCATION_HIERARCHY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDING_ROOT = TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROOT_TAB = T_FLOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IFLO_TAB = T_IFLOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROOT_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_ERROR = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRUCTURE_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT T_IFLOT BY TPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335470#M799354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335471#M799355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SKC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is this S_TPLNR??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have u used this coding in Bapi or in any FM to call it?????&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;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335471#M799355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335472#M799356</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;I got two errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The IN operator with "S_TPLNR" is followed neither by an internal table nor by a Value list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i commented the S_TPLNR as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT TPLNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM IFLOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTO TABLE T_FLOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*WHERE TPLNR IN S_TPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Field "TRUE"  is unknown. It is neither  one of the specified tables  nor  defined by a  "DATA" statement. "DATA" statement.&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;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:49:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335472#M799356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335473#M799357</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;plz help me in correcting my errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 15:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335473#M799357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T15:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335474#M799358</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;Any body there to help me out in this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 16:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335474#M799358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T16:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335475#M799359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz help me in solving this issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 17:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335475#M799359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T17:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335476#M799360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz help me in solving this issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 19:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335476#M799360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T19:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335477#M799361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i put the coding like this to fetch the data of all other functional locations??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If t_floc-tplnr = iflot-tplma &lt;/P&gt;&lt;P&gt;select tplnr tplma from iflot into corresponding fields of table t_floc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else can any one plz provide me the complete coding details of a function module which fetches the functional location hierarchy??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 06:10:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335477#M799361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T06:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335478#M799362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its the SELECT-OPTIONS (appears in the selection screen of the report ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syantax is - &lt;/P&gt;&lt;P&gt;tables : iflot.&lt;/P&gt;&lt;P&gt;select-options : s_tplnr for iflot-tplnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 06:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335478#M799362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T06:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335479#M799363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SKC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then what is this TRUE option over there as i said earlier it was showing an error  that it hasnt declared previously can i put as 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335479#M799363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335480#M799364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SKC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was my complete coding it was not fetching any values. I mean it was showing only one functional location which i had declared and its superior functional location but i want more functional locations but it should not be restricted to one functional location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u check it plz &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF T_FLOC OCCURS 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TPLNR TYPE TPLNR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF T_FLOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : T_IFLOT TYPE IFLOT OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : iflot.&lt;/P&gt;&lt;P&gt;select-options : s_tplnr for iflot-tplnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check the Functional Locations.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT TPLNR TPLMA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM IFLOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTO TABLE T_FLOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE TPLNR IN S_TPLNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*MESSAGE S515(IL).&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*LEAVE LIST-PROCESSING.&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;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the Functional location hierarchy for the selected Ones.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FUNC_LOCATION_HIERARCHY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDING_ROOT = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROOT_TAB = T_FLOC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IFLO_TAB = T_IFLOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROOT_NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_ERROR = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRUCTURE_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT T_IFLOT BY TPLNR.&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;WRITE: T_FLOC,&lt;/P&gt;&lt;P&gt;       T_IFLOT-TPLNR,&lt;/P&gt;&lt;P&gt;       T_IFLOT-TPLMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: nanda kishore on Jan 25, 2008 9:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335480#M799364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T08:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335481#M799365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nanda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF T_FLOC OCCURS 0,&lt;/P&gt;&lt;P&gt;TPLNR TYPE TPLNR,&lt;/P&gt;&lt;P&gt;TPLMA TYPE TPLMA,&lt;/P&gt;&lt;P&gt;END OF T_FLOC.&lt;/P&gt;&lt;P&gt;DATA : T_IFLOT TYPE IFLOT OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;tables : iflot.&lt;/P&gt;&lt;P&gt;select-options : s_tplnr for iflot-tplnr.&lt;/P&gt;&lt;P&gt;*Check the Functional Locations.&lt;/P&gt;&lt;P&gt;SELECT TPLNR TPLMA&lt;/P&gt;&lt;P&gt;FROM IFLOT&lt;/P&gt;&lt;P&gt;INTO TABLE T_FLOC&lt;/P&gt;&lt;P&gt;WHERE TPLNR IN S_TPLNR.&lt;/P&gt;&lt;P&gt;*IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;*MESSAGE S515(IL).&lt;/P&gt;&lt;P&gt;*LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;*ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Get the Functional location hierarchy for the selected Ones.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FUNC_LOCATION_HIERARCHY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    INCLUDING_ROOT         = 'X'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    ROOT_TAB               = T_FLOC&lt;/P&gt;&lt;P&gt;    IFLO_TAB               = T_IFLOT&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    ROOT_NOT_FOUND         = 1&lt;/P&gt;&lt;P&gt;    READ_ERROR             = 2&lt;/P&gt;&lt;P&gt;    STRUCTURE_NOT_POSSIBLE = 3&lt;/P&gt;&lt;P&gt;    OTHERS                 = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT T_IFLOT BY TPLNR.&lt;/P&gt;&lt;P&gt;  LOOP AT T_IFLOT.&lt;/P&gt;&lt;P&gt;    WRITE:/ T_IFLOT-TPLNR.&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;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 08:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335481#M799365</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2008-01-25T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335482#M799366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laxman &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I had already tried with the loop eventhough it was fetching only two values . i.e., the value which i specified as HYD and its superior functional location AP. Thats it but i want two more functional locations one functional location is above AP i.e., INDIA and other functional location which is below HYD which i specified as B in that so can you provide me coding according to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335482#M799366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: FUNC_LOCATION_HIERARCHY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335483#M799367</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;Plz help me in solving this issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 09:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/func-location-hierarchy/m-p/3335483#M799367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-25T09:29:37Z</dc:date>
    </item>
  </channel>
</rss>

