<?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: AT FIRST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960408#M394890</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;in control events the values after the field is being referred will be ***** like this or zeroes will be there &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to over come this declare a variable and perform the operation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF COMPANIES OCCURS 20,&lt;/P&gt;&lt;P&gt;        NAME(30),&lt;/P&gt;&lt;P&gt;        PRODUCT(20),&lt;/P&gt;&lt;P&gt;        SALES TYPE I,&lt;/P&gt;&lt;P&gt;      END   OF COMPANIES.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;LOOP AT COMPANIES.&lt;/P&gt;&lt;P&gt;  AT NEW NAME.&lt;/P&gt;&lt;P&gt;    NEW-PAGE.&lt;/P&gt;&lt;P&gt;    WRITE / COMPANIES-NAME.&lt;/P&gt;&lt;P&gt;  ENDAT.&lt;/P&gt;&lt;P&gt;  WRITE: / COMPANIES-PRODUCT, COMPANIES-SALES.&lt;/P&gt;&lt;P&gt;  AT END OF NAME.&lt;/P&gt;&lt;P&gt;    SUM.&lt;/P&gt;&lt;P&gt;    WRITE: / COMPANIES-NAME, COMPANIES-SALES.&lt;/P&gt;&lt;P&gt;  ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AT statements refer to the field COMPANIES-NAME &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2007 05:12:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-23T05:12:38Z</dc:date>
    <item>
      <title>AT FIRST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960405#M394887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose i have a internal table which contains 5 fields and let suppose it contains 100 records. and i want to use AT NEW event &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;At New Field1. (key field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is displaying the value of field1 only and rest of the fields which of type 'C' and 'V' is replaced by 0 and spaces. How to overcome this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 04:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960405#M394887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T04:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: AT FIRST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960406#M394888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: l_index type sy-index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;l_index = sy-index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at new Field1.&lt;/P&gt;&lt;P&gt;read table itab into wa_itab index l_index.&lt;/P&gt;&lt;P&gt;*here you will get values for all the fields in work area wa_itab. &lt;/P&gt;&lt;P&gt;endat.&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;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if u find any problem in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 05:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960406#M394888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T05:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: AT FIRST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960407#M394889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;DO LIKE THIS.&lt;/P&gt;&lt;P&gt;First sort the internal table by the Key field.&lt;/P&gt;&lt;P&gt;Sort itab by F1 F2 F3 ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at Itab.&lt;/P&gt;&lt;P&gt;  at new F1.&lt;/P&gt;&lt;P&gt;    write.....&lt;/P&gt;&lt;P&gt;  endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   write:...&amp;lt; other fields&amp;gt;&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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 05:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960407#M394889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T05:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: AT FIRST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960408#M394890</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;in control events the values after the field is being referred will be ***** like this or zeroes will be there &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to over come this declare a variable and perform the operation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF COMPANIES OCCURS 20,&lt;/P&gt;&lt;P&gt;        NAME(30),&lt;/P&gt;&lt;P&gt;        PRODUCT(20),&lt;/P&gt;&lt;P&gt;        SALES TYPE I,&lt;/P&gt;&lt;P&gt;      END   OF COMPANIES.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;LOOP AT COMPANIES.&lt;/P&gt;&lt;P&gt;  AT NEW NAME.&lt;/P&gt;&lt;P&gt;    NEW-PAGE.&lt;/P&gt;&lt;P&gt;    WRITE / COMPANIES-NAME.&lt;/P&gt;&lt;P&gt;  ENDAT.&lt;/P&gt;&lt;P&gt;  WRITE: / COMPANIES-PRODUCT, COMPANIES-SALES.&lt;/P&gt;&lt;P&gt;  AT END OF NAME.&lt;/P&gt;&lt;P&gt;    SUM.&lt;/P&gt;&lt;P&gt;    WRITE: / COMPANIES-NAME, COMPANIES-SALES.&lt;/P&gt;&lt;P&gt;  ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AT statements refer to the field COMPANIES-NAME &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 05:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960408#M394890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T05:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: AT FIRST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960409#M394891</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;If u use AT NEW f1or ant event like AT END xxx&lt;/P&gt;&lt;P&gt;As soon as this reads the ne filed it will make the entire row into like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the numeric filed will be dispalyed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab into wa.

AT NEW f1.
take the values from wa, or
read the values from the itab.

ENDAT.
ENDLOOP&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoep thisis clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 05:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-first/m-p/1960409#M394891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-23T05:21:52Z</dc:date>
    </item>
  </channel>
</rss>

