<?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: array concept in abap in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195794#M468617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohit,&lt;/P&gt;&lt;P&gt;you can create an internal table and append data to that table. using the write statement you can display data what you have appended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 5, " Internal table&lt;/P&gt;&lt;P&gt;NAME(20) type 20,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-name = 'mohit'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-name = 'abc'.&lt;/P&gt;&lt;P&gt;append itab.&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;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;WRITE:/ ITAB-NAME.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code will display the data inserted by you.&lt;/P&gt;&lt;P&gt;reward all the helpful answers.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2007 05:47:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-23T05:47:16Z</dc:date>
    <item>
      <title>array concept in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195791#M468614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to know concept of table(array). i want to take name of 5 student from user and display on screen.how can i increment variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2007 09:16:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195791#M468614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-21T09:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: array concept in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195792#M468615</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;you use internal table to fetch the data from database and use it for further processing. this will help you decrease hitting the Database frequently and hence improve your performance.&lt;/P&gt;&lt;P&gt;in ur case:&lt;/P&gt;&lt;P&gt;REPORT  ZM1                                     .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,  " Internal table&lt;/P&gt;&lt;P&gt;        NAME(30),  " Char type&lt;/P&gt;&lt;P&gt;      END OF ITAB.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1.&lt;/P&gt;&lt;P&gt;PARAMETER: P_NAME LIKE ITAB-NAME.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;SELECT &amp;lt;field&amp;gt; &lt;/P&gt;&lt;P&gt;  FROM &amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;  INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;  WHERE &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;      WRITE:/ ITAB-NAME.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**reward if helpful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2007 09:22:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195792#M468615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-21T09:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: array concept in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195793#M468616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no , i do not want to  fetch data from database. i just want to save date in a internal table temporarly and want to display it on screen using write statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 05:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195793#M468616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T05:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: array concept in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195794#M468617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohit,&lt;/P&gt;&lt;P&gt;you can create an internal table and append data to that table. using the write statement you can display data what you have appended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 5, " Internal table&lt;/P&gt;&lt;P&gt;NAME(20) type 20,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-name = 'mohit'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-name = 'abc'.&lt;/P&gt;&lt;P&gt;append itab.&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;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;WRITE:/ ITAB-NAME.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code will display the data inserted by you.&lt;/P&gt;&lt;P&gt;reward all the helpful answers.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 05:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195794#M468617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T05:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: array concept in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195795#M468618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to solve my problem. hope we keep on going in future also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 06:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/array-concept-in-abap/m-p/2195795#M468618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T06:11:14Z</dc:date>
    </item>
  </channel>
</rss>

