<?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: Help in bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi/m-p/3301962#M790563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u say me some modifications in my code plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 11:42:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-28T11:42:17Z</dc:date>
    <item>
      <title>Help in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi/m-p/3301961#M790562</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;here i'm getiing all the values perfectly except for one field. Actually i have a requirement like this. I have to fetch the funclocation from a custom table and its related description from other table so i made a join query between those tables now everything is getting fine but i'm getting the description of 1st location only but i want to get all details for every functional location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES: zfuncloc,iflotx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA BEGIN OF iflot_l OCCURS 0.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE ifloth.&lt;/P&gt;&lt;P&gt;  DATA END OF iflot_l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF pltxu OCCURS 0,&lt;/P&gt;&lt;P&gt;        pltxu TYPE iflotx-pltxu,&lt;/P&gt;&lt;P&gt;        tplnr TYPE iflotx-tplnr,&lt;/P&gt;&lt;P&gt;        END OF pltxu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: l_hilev LIKE impth-hilev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT b&lt;SUB&gt;funcloc a&lt;/SUB&gt;pltxu&lt;/P&gt;&lt;P&gt; INTO CORRESPONDING FIELDS OF TABLE t_floc&lt;/P&gt;&lt;P&gt; FROM iflotx AS a&lt;/P&gt;&lt;P&gt; INNER JOIN zfuncloc AS b&lt;/P&gt;&lt;P&gt; ON a&lt;SUB&gt;tplnr = b&lt;/SUB&gt;funcloc&lt;/P&gt;&lt;P&gt; WHERE user_id = user.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM t_floc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECT FUNCLOC  FROM ZFUNCLOC INTO&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLE  T_FLOC WHERE USER_ID = USER.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*delete adjacent duplicates from t_floc.&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;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FUNC_LOCATION_HIERARCHY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      tabstructure           = 'IFLOTH'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      level_found            = l_hilev&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               = iflot_l&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SORT iflot_l BY tplnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PERFORM  PLTEXT TABLES PLTEXT LIKE IFLOTX-PTXT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                      USING  T_FLOC-PLTEXT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT iflot_l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE: iflot_l-tplnr TO t_floc-funcloc,&lt;/P&gt;&lt;P&gt;            iflot_l-tplma TO t_floc-sfuncloc,&lt;/P&gt;&lt;P&gt;            iflot_l-hilev TO t_floc-hilev,&lt;/P&gt;&lt;P&gt;            iflot_l-rbnr  TO t_floc-rbnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND t_floc.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&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>Mon, 28 Jan 2008 11:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi/m-p/3301961#M790562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T11:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi/m-p/3301962#M790563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u say me some modifications in my code plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 11:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi/m-p/3301962#M790563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help in bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi/m-p/3301963#M790564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved by own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 13:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-bapi/m-p/3301963#M790564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T13:05:38Z</dc:date>
    </item>
  </channel>
</rss>

