<?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: regarding the table type to retrive data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808669#M346876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read table i_tab into itab_str index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_party like table of i_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at wa_party into i_tab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; write:/ wa_party-ADDRESS_DATA-country .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endloop .&lt;/P&gt;&lt;P&gt;it is  showing me a error that wa_party has no header line&lt;/P&gt;&lt;P&gt;pls i hope i making blender mistake .&lt;/P&gt;&lt;P&gt;thanking you &lt;/P&gt;&lt;P&gt;sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 10:04:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T10:04:50Z</dc:date>
    <item>
      <title>regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808663#M346870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;i want to retrive data from a variable country , this is in the following heirarchy &lt;/P&gt;&lt;P&gt;I_tab-item-shipfrom_locationadress_data-country .&lt;/P&gt;&lt;P&gt;wher itab is a structure ,&lt;/P&gt;&lt;P&gt;item is a table type ,&lt;/P&gt;&lt;P&gt;shipfrom_location is structure ,&lt;/P&gt;&lt;P&gt;country is variable &lt;/P&gt;&lt;P&gt;i just want to retrive data from variable ,&lt;/P&gt;&lt;P&gt;if it is structure i can just give &lt;/P&gt;&lt;P&gt;I_tab-item-shipfrom_locationadress_data-country .&lt;/P&gt;&lt;P&gt;but as item is table type ,i dont no to retrive data , pls send some suggestion with example .&lt;/P&gt;&lt;P&gt;thanking you &lt;/P&gt;&lt;P&gt;ssridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808663#M346870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T08:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808664#M346871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can declare a variable of the table type of the ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA  :  IT_ITEMTABLE type (Same as that of ITEM column in ITAB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_ITEMTABLE = I_TAB-ITAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_ITEMTABLE INTO WA_ITEMTABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Process the data&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;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful ansewrs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808664#M346871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T08:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808665#M346872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wa_item like i_tab-item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at I_TAB-ITEM INTO WA_ITEM.&lt;/P&gt;&lt;P&gt;write : WA_ITEM-shipfrom_locationadress_data-country.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 08:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808665#M346872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T08:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808666#M346873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is showing a error , the type wa_item cannot be conveted into to the type  I_TAB-ITEM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808666#M346873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808667#M346874</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_tab-item is your table type.&lt;/P&gt;&lt;P&gt;you create an internal table wa_item using this code --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_item like table of i_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now try retrieving data from the internal table using loop statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at wa_itam into i_tab.&lt;/P&gt;&lt;P&gt;write: ....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808667#M346874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808668#M346875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you give the code and declarations here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808668#M346875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808669#M346876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read table i_tab into itab_str index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_party like table of i_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at wa_party into i_tab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; write:/ wa_party-ADDRESS_DATA-country .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endloop .&lt;/P&gt;&lt;P&gt;it is  showing me a error that wa_party has no header line&lt;/P&gt;&lt;P&gt;pls i hope i making blender mistake .&lt;/P&gt;&lt;P&gt;thanking you &lt;/P&gt;&lt;P&gt;sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808669#M346876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T10:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808670#M346877</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;data wa_party like line of i_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_tab into wa_party.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ wa_party-ADDRESS_DATA-country .&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;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jayanthi Jayaraman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808670#M346877</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-12-05T10:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808671#M346878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;declare an internal table with header line and move th content into it in this way.&lt;/P&gt;&lt;P&gt;data: itab1 like item with header line.&lt;/P&gt;&lt;P&gt;itab1[] = I_tab-item[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_struct like shipfrom_locationadress_data.&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;x_struct = itab1-shipfrom_locationadress_data.&lt;/P&gt;&lt;P&gt;write:/ x_struct-country.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808671#M346878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T10:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808672#M346879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: ordid_str type /SCMB/DM_ORDID_str,&lt;/P&gt;&lt;P&gt;       ordid_tab type /SCMB/DM_ORDID_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: i_party type /SCMB/DM_PARTY_str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT grid1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table gt_po_detl index 1 .&lt;/P&gt;&lt;P&gt;move gt_po_detl-ordid to ordid_str-ordid.&lt;/P&gt;&lt;P&gt;append ordid_str to ordid_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD grid1-&amp;gt;READ_BY_IDS&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_CTRL      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IV_ORTYPE    = gt_po_detl-ortype&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IV_LOCKFLG   = /SCMB/CL_C_ORDER=&amp;gt;GC_FALSE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IV_NOADDRESS = /SCMB/CL_C_ORDER=&amp;gt;GC_FALSE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IV_MAPID     = /SCMB/CL_C_ORDER=&amp;gt;GC_FALSE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IV_DUEQUAN   = /SCMB/CL_C_ORDER=&amp;gt;GC_FALSE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IT_ORDERID   = ordid_tab&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    ET_ORDERS    = i_tab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ET_PROT      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table i_tab into itab_str index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_party like table of itab_str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at   wa_party into itab_str .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;write:/ wa_party-ADDRESS_DATA-country .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; break-point .&lt;/P&gt;&lt;P&gt;endloop this is coding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808672#M346879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T10:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: regarding the table type to retrive data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808673#M346880</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;go for speed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols:&lt;/P&gt;&lt;P&gt;  &amp;lt;f1&amp;gt; type any,&lt;/P&gt;&lt;P&gt;  &amp;lt;f2&amp;gt; type any.&lt;/P&gt;&lt;P&gt;loop at I_tab-item assigning &amp;lt;f1&amp;gt;.&lt;/P&gt;&lt;P&gt;  assign component 'COUNTRY' of structure &amp;lt;f1&amp;gt; to &amp;lt;f2&amp;gt;.&lt;/P&gt;&lt;P&gt;  write: / 'Country for this item ''s shipfrom_locationadress:', &amp;lt;f2&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also this valuable link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3605358411d1829f0000e829fbfe/content.htm"&amp;gt;Access Using Field Symbols&amp;lt;/a&amp;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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-the-table-type-to-retrive-data/m-p/1808673#M346880</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-12-05T11:16:20Z</dc:date>
    </item>
  </channel>
</rss>

