<?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: APPEND in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495930#M840829</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;APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appends a line or multiple lines to the end of an index table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;line&amp;gt;|LINES OF &amp;lt;jtab&amp;gt; TO &amp;lt;itab&amp;gt;&lt;/P&gt;&lt;P&gt;       [ASSIGNING &amp;lt;FS&amp;gt; | REFERENCE INTO &amp;lt;dref&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A line &amp;lt;line&amp;gt; or multiple lines of an internal table &amp;lt;jtab&amp;gt; are appended to index table &amp;lt;itab&amp;gt;. If you use ASSIGNING or INTO REFERENCE, field symbol &amp;lt;FS&amp;gt; refers to the appended line or the relevant data reference is stored in &amp;lt;dref&amp;gt; after the state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 04:27:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-04T04:27:39Z</dc:date>
    <item>
      <title>APPEND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495926#M840825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; in the following code , I  want to make such criteria that code is able to defferntiate between two and accept them as different entries on basis of terminal ids e.g  4and 1 .&lt;/P&gt;&lt;P&gt;but it is accepting these entries as same and not able to defferinate b/t these two . what should i use with append  comparing ids .&lt;/P&gt;&lt;P&gt;00000166	20071110	115900	00000001	0004&lt;/P&gt;&lt;P&gt;00000168	20071110	115500	00000001	0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ DATASET PA_FILE INTO REC.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CLEAR WA_PUNCHES.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;clear wa_score .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_SCORE-PERNR = REC+0(8) .&lt;/P&gt;&lt;P&gt;    WA_SCORE-LDATE = REC+9(8) .&lt;/P&gt;&lt;P&gt;    WA_SCORE-LTIME = REC+18(6) .&lt;/P&gt;&lt;P&gt;    WA_SCORE-CANID = REC+25(8) .&lt;/P&gt;&lt;P&gt;     WA_SCORE-TERID = REC+34(4) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND WA_SCORE TO IT_SCORE.&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, 04 Mar 2008 04:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495926#M840825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495927#M840826</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;why don't create a new variable with the charcter length for all the numbers and concatenate all the numbers and move it to that variable and then compare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Arunprasad.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495927#M840826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495928#M840827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WA_SCORE-PERNR = REC+0(8) .&lt;/P&gt;&lt;P&gt;WA_SCORE-LDATE = REC+10(8) .&lt;/P&gt;&lt;P&gt;WA_SCORE-LTIME = REC+20(6) .&lt;/P&gt;&lt;P&gt;WA_SCORE-CANID = REC+28(8) .&lt;/P&gt;&lt;P&gt;WA_SCORE-TERID = REC+38(4) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try these changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495928#M840827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495929#M840828</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 are reading internal table with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"READ DATASET PA_FILE INTO REC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with no condition. so always it is expected that it will read the first record allways. if you want the second record to be read in the second time, use a variable as a counter and add it each time you go through do ...end do.&lt;/P&gt;&lt;P&gt;and modify your read as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ DATASET PA_FILE INTO REC index v_counter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should help you to solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not please let  me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lijo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495929#M840828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495930#M840829</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;APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appends a line or multiple lines to the end of an index table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;line&amp;gt;|LINES OF &amp;lt;jtab&amp;gt; TO &amp;lt;itab&amp;gt;&lt;/P&gt;&lt;P&gt;       [ASSIGNING &amp;lt;FS&amp;gt; | REFERENCE INTO &amp;lt;dref&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A line &amp;lt;line&amp;gt; or multiple lines of an internal table &amp;lt;jtab&amp;gt; are appended to index table &amp;lt;itab&amp;gt;. If you use ASSIGNING or INTO REFERENCE, field symbol &amp;lt;FS&amp;gt; refers to the appended line or the relevant data reference is stored in &amp;lt;dref&amp;gt; after the state&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495930#M840829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: APPEND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495931#M840830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranjna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; First declare one structure like 'file lengths which you have '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ DATASET PA_FILE INTO your structure.&lt;/P&gt;&lt;P&gt;**Here all the data from file will get divided and will be moved into &lt;/P&gt;&lt;P&gt; concerned field of structur.Now compare with the structure-field to WA_SCORE-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your functionality here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append/m-p/3495931#M840830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:30:17Z</dc:date>
    </item>
  </channel>
</rss>

