<?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: INDX table - how the data is fetched from INDX table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233170#M1525082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP Best Practice is to use INDX as a model to create your own table, or as SAP says "INDX-like" table.  You export data from your internal table(s) to the INDX-like table, setting specific values at the time of export.  Another process/program can then import that data from your INDX-like table into an internal table of the same type used for the export statement, using same data values.  You supply values at runtime to export and therefore use the same values to import (they're static, not dynamic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's documentation for how to do this...search SCN and SAP HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Aug 2010 19:41:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-23T19:41:49Z</dc:date>
    <item>
      <title>INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233166#M1525078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, there is a standard code which fetches the attributes of Sales organization from INDX table. Code is below.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IMPORT attrib_ext   TO attrib_ext
       seldate      TO l_sdate
       FROM DATABASE indx(p/) ID l_indx_srtfd.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;But if i give the id l_indx_srtfd in table INDX (SE11) i am unable to see those attributes (ATTRIB_EXT) in the table output. How can i know the related data base tables associated with INDX table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 12:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233166#M1525078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-20T12:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233167#M1525079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i give the id l_indx_srtfd in table INDX (SE11) i am unable to see those attributes (ATTRIB_EXT) in the table output.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as you use &lt;EM&gt;data browser&lt;/EM&gt; tool (se16) or &lt;EM&gt;DDIC&lt;/EM&gt; (se11) you won't be able to see any fields apart for standard [structure of all INDX tables|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3c12358411d1829f0000e829fbfe/frameset.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is because the data you are extracting are compressed and stored in DB in raw format. That's why you need specific statement &lt;EM&gt;IMPORT FROM DATABASE...&lt;/EM&gt; in order the system could extract and return specific data objects (i.e. ATTRIB_EXT) store in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i know the related data base tables associated with INDX table ?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't quite understand this question, could you be more specific.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 13:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233167#M1525079</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-08-20T13:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233168#M1525080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The database INDX is a cluster database, read first some documentation at [Structure of a Cluster Database|http://help.sap.com/saphelp_470/helpdata/en/fc/eb3c12358411d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mapping of key between IMPORT FROM/EXPORT  TO DATABSE between parameters of the statement and actual key of the database table are explained in [Saving Data Objects in Cluster Databases|http://help.sap.com/saphelp_470/helpdata/en/fc/eb3c2c358411d1829f0000e829fbfe/frameset.htm] and [Reading Data Objects From Cluster Databases|http://help.sap.com/saphelp_470/helpdata/en/fc/eb3c46358411d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 13:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233168#M1525080</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-08-20T13:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233169#M1525081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For one record i am able to get the data related to ATTRIB_EXT using IMPORT FROM DB statement and for other record i am not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my intention is to know why i am unable to pic the ATTRIB_EXT data from INDX table for other record. See below the  output of the INDX table for those two records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;220	P/	SALE    O 50014189	0			20.08.2010	RNIJJAR	000338	20.08.2010	20.08.2010	176	FF0602010202800034313033000000006D010000121F9D0219331F0303038B059060E062C0021C1942803088C193C189219EC1952102C85B0BD1B3004C89AD02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the above record i am unable to get the ATTRIB_EXT details.&lt;/P&gt;&lt;P&gt;but for below record, yes i am able to get the Organization attribute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;220	P/	SALE    O 50027367	0			20.08.2010	RNIJJAR	000230	20.08.2010	20.08.2010	467	FF0602010202800034313033000000000F410000121F9D02B46B2EAB09035118FEBDD04229D6854897D227A837AA4B4D821582829762BBC9ABD5ADA04F50F5CD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i want to know where was the problem.&lt;/P&gt;&lt;P&gt;&lt;U&gt;How can i know the related data base tables associated with INDX table ?&lt;/U&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other tables are linked to INDX table (like check tables) so that in run time it will fetch the data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how can convert the compressed DATA (LRAW) from INDX table into string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kishore Kumar Vemula on Aug 20, 2010 8:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 15:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233169#M1525081</guid>
      <dc:creator>kishorekumar_vemula</dc:creator>
      <dc:date>2010-08-20T15:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233170#M1525082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP Best Practice is to use INDX as a model to create your own table, or as SAP says "INDX-like" table.  You export data from your internal table(s) to the INDX-like table, setting specific values at the time of export.  Another process/program can then import that data from your INDX-like table into an internal table of the same type used for the export statement, using same data values.  You supply values at runtime to export and therefore use the same values to import (they're static, not dynamic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's documentation for how to do this...search SCN and SAP HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2010 19:41:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233170#M1525082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-23T19:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233171#M1525083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no problem, you just can only IMPORT what was EXPORTed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;- 1 - EXPORT a b c d e TO DATABASE  indx(p/) ID id1&lt;/P&gt;&lt;P&gt;- 2 - EXPORT a b d e TO DATABASE  indx(p/) ID id2&lt;/P&gt;&lt;P&gt;You will never be able to IMPORT field  c from databse for id id2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no other database table behind the cluster database, the information on which fields, structures and internal table are stored in a record (it may vary from record to record) is stored in the cluster of data in an hexadecimal way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you export many or large data, there will be multiple records for a single id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 09:01:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233171#M1525083</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-08-24T09:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233172#M1525084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the detailed info. &lt;/P&gt;&lt;P&gt;You said the data will be stored in Hexadecimal  format. Do we have ny conversion FM to see the data in CHAR format. In INDX table there is a field CLUSTD which holds the data in LRAW-2886 format. How can i convert this ? Do we have any Function modules for conversion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 10:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233172#M1525084</guid>
      <dc:creator>kishorekumar_vemula</dc:creator>
      <dc:date>2010-08-24T10:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233173#M1525085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't directly convert this HEX data to char as these are in compressed format. Similary as you would want to translate zipped file to some MS word format, it doesn't really make sense. This is why you need to use IMPORT/EXPORT and list the data objects stored in this underlying clusters so the system can mapp it to their data with corresponing structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 10:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233173#M1525085</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2010-08-24T10:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: INDX table - how the data is fetched from INDX table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233174#M1525086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know any such FM. I suppose there is some C code behind EXPORT TO/IMPORT FROM DATABASE, but i don't care perform some reverse engineering on SAP copyrighted code &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 11:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indx-table-how-the-data-is-fetched-from-indx-table/m-p/7233174#M1525086</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-08-24T11:00:57Z</dc:date>
    </item>
  </channel>
</rss>

