<?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 ABAP code - General question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078562#M730076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between the following statements? In what scenarios should we use these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.   CREATE DATA data_ref LIKE LINE OF xth_data.&lt;/P&gt;&lt;P&gt;     ASSIGN data_ref-&amp;gt;* TO &amp;lt;ls_data&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.   LOOP AT xth_data ASSIGNING &amp;lt;ls_data&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c.   LOOP AT xth_data INTO &amp;lt;ls_data&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2007 01:32:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-29T01:32:07Z</dc:date>
    <item>
      <title>ABAP code - General question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078562#M730076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between the following statements? In what scenarios should we use these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a.   CREATE DATA data_ref LIKE LINE OF xth_data.&lt;/P&gt;&lt;P&gt;     ASSIGN data_ref-&amp;gt;* TO &amp;lt;ls_data&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.   LOOP AT xth_data ASSIGNING &amp;lt;ls_data&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c.   LOOP AT xth_data INTO &amp;lt;ls_data&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 01:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078562#M730076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T01:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP code - General question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078563#M730077</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;Check the below links. &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/cynarad/reference_for_bps_programming.pdf" target="test_blank"&gt;http://www.geocities.com/cynarad/reference_for_bps_programming.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7c85d590-0201-0010-20b5-f9d0aa10c53f" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7c85d590-0201-0010-20b5-f9d0aa10c53f&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 01:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078563#M730077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T01:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP code - General question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078564#M730078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the documents. One of the document (Cyanard's BPS programming document) was informative to some extent.Still, nothing was mentioned about the differences between the 3 statements I mentioned about. Are there any How-To guides or links that can explain these concepts properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 02:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078564#M730078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-29T02:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP code - General question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078565#M730079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a. You are creating a variable data_ref which is a workarea of the type xth_data&lt;/P&gt;&lt;P&gt;and assigning that structure type to the field symbol &amp;lt;ls_data&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b. the field Symbol &amp;lt;ls_data&amp;gt; does not need to be assigned to any datatype&lt;/P&gt;&lt;P&gt;It will get assigned to the structure of xth_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c. It is assumed that your field-symbol &amp;lt;ls_data&amp;gt; has already been assigned to the xth_data type&lt;/P&gt;&lt;P&gt;this code simply loops into the table &lt;/P&gt;&lt;P&gt;note that if your field symbol is not assigned as yet, it will result in a GETWA_NOT_ASSIGNED short dump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 03:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-code-general-question/m-p/3078565#M730079</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-11-29T03:22:38Z</dc:date>
    </item>
  </channel>
</rss>

