<?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: Question about the code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009484#M957912</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; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: t_datapak_2000 type standard table of data_package_structure, 
"---&amp;gt; Internal table declaration of  type data_package_structure
t_datapak_2001 type standard table of data_package_structure.
"---&amp;gt; Internal table declaration of  type data_package_structure

data: s_datapak type data_package_structure.
"---&amp;gt; Work area declaration of  type data_package_structure &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2008 16:59:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-10T16:59:25Z</dc:date>
    <item>
      <title>Question about the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009480#M957908</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 am new to abap. So can any body explain me the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_datapak_2000 type standard table of data_package_structure,&lt;/P&gt;&lt;P&gt;      t_datapak_2001 type standard table of data_package_structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: s_datapak type data_package_structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at DATA_PACKAGE into s_datapak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 16:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009480#M957908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T16:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009481#M957909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that the code? O_o&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: t_datapak_2000 type standard table of data_package_structure,
"declare a table of structure data_package_structure
t_datapak_2001 type standard table of data_package_structure.
"declare another table with the same structure

data: s_datapak type data_package_structure.
"declase an structure, the same of the above tables

loop at DATA_PACKAGE into s_datapak.
"begins to loop at the contents of table data_package, the into adition is because every line of the table will go into this structure
"so you can use the data in each line, this is known as a work area

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 16:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009481#M957909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T16:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009482#M957910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;data: t_datapak_2000 type standard table of data_package_structure,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;t_datapak_2001 type standard table of data_package_structure.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;you are creating two internal tables like the structure data_package_structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: s_datapak type data_package_structure.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;you are creating a work area like the structure data_package_structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;loop at DATA_PACKAGE into s_datapak.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You are passing the header line of the internal table DATA_PACKAGE to the work area s_datapak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 16:58:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009482#M957910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T16:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009483#M957911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amrutha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is creating two internal tables t_datapak_2000 and t_datapak_2001 of type data_package_structure with out header lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_datapak is a structure of type  data_package_structure which can be used to as work area when working around about created internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looping the internal table DATA_PACKAGE by moving work area into s_datapak for each iteration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 16:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009483#M957911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T16:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009484#M957912</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; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: t_datapak_2000 type standard table of data_package_structure, 
"---&amp;gt; Internal table declaration of  type data_package_structure
t_datapak_2001 type standard table of data_package_structure.
"---&amp;gt; Internal table declaration of  type data_package_structure

data: s_datapak type data_package_structure.
"---&amp;gt; Work area declaration of  type data_package_structure &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 16:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-the-code/m-p/4009484#M957912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T16:59:25Z</dc:date>
    </item>
  </channel>
</rss>

