<?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: Getting **************** values in Internal Table fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930836#M1485744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass WA value to a TEMP_WA beforw AT END OF statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at IT_MSEG into WA_MSEG.
  wa_temp = wa_msg.
   at end of matnr.
     sum.
      append WA_MSEG to IT_COL1.
      clear wa_mseg.
  ENDAT.
* Use WA_TEMP for your further operations. Also shud clear WA_TEMP everytime
   endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 May 2010 07:31:58 GMT</pubDate>
    <dc:creator>agnihotro_sinha2</dc:creator>
    <dc:date>2010-05-14T07:31:58Z</dc:date>
    <item>
      <title>Getting **************** values in Internal Table fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930834#M1485742</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 have written code, my problem is After appending wa_mseg to it_col1 all the values in the fields are displaying as ************************ only Matnr and Mseg values are displaying correctly...&lt;/P&gt;&lt;P&gt;this problem is coming before diplay only...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;clear wa_mseg.
sort it_mseg by matnr.
 loop at IT_MSEG into WA_MSEG.
   at end of matnr.
     sum.
      append WA_MSEG to IT_COL1.
      clear wa_mseg.
  ENDAT.
   endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to solve this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Smitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 07:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930834#M1485742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T07:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting **************** values in Internal Table fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930835#M1485743</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;All non-char fields to the RIGHT of MATNR in the work area WA_MSEG will have  **************** &lt;STRONG&gt;within&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 AT END OF matnr.

ENDAT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 07:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930835#M1485743</guid>
      <dc:creator>antony_paul2</dc:creator>
      <dc:date>2010-05-14T07:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting **************** values in Internal Table fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930836#M1485744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass WA value to a TEMP_WA beforw AT END OF statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at IT_MSEG into WA_MSEG.
  wa_temp = wa_msg.
   at end of matnr.
     sum.
      append WA_MSEG to IT_COL1.
      clear wa_mseg.
  ENDAT.
* Use WA_TEMP for your further operations. Also shud clear WA_TEMP everytime
   endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 07:31:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930836#M1485744</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-05-14T07:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting **************** values in Internal Table fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930837#M1485745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the structure for it_col1.It should be same as wa_mseg or use move corresponding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 07:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930837#M1485745</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-05-14T07:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting **************** values in Internal Table fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930838#M1485746</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 break statements value of your waor area becomes **************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so before using AT statment copy your work area into temp workarea of same type.&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;Sarang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 07:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930838#M1485746</guid>
      <dc:creator>sarang_gujrati2</dc:creator>
      <dc:date>2010-05-14T07:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting **************** values in Internal Table fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930839#M1485747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="18" type="ul"&gt;&lt;P&gt; is coming becuase you have used the at end of matnr statement , it will keep only matnr open and rest all values will come in ********* form.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;To sum the values of same matnr, you can use one variable l_matnr = mseg-matnr in the loop and check in loop if&lt;/P&gt;&lt;P&gt;l_matnr = mseg-matnr , then keep on adding the values , if the matnr gets changed the change the value of l_matnr and in next time in loop it will again check the matnr , if the value is same then add else change the l_matnr.&lt;/P&gt;&lt;P&gt;It will solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 07:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-values-in-internal-table-fields/m-p/6930839#M1485747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T07:34:34Z</dc:date>
    </item>
  </channel>
</rss>

