<?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: Problem in moving the data into final internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033054#M1170709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;assumption: some mistake in ur posting that, How belnr and date r same for both header records, so i guess, either one is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with AT NEW - ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT NEW belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here use looping, READing of ur itabs.---&amp;gt; so, u need to build couple of itabs to move forth and back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls. note that, when u use this AT NEW all the CHAR fileds of itab wuld show as STARS **.....so, this is the necessity behind building new itabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SAP ABAPer on Dec 30, 2008 6:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2008 17:22:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-30T17:22:55Z</dc:date>
    <item>
      <title>Problem in moving the data into final internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033052#M1170707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am stuck in apeculair situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a internal table having header record and a internal table having its line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header record ::    90006103  A   20080110   ALBERTA    3456&lt;/P&gt;&lt;P&gt;Detail   record ::    90006103  D2  2219CR1710441&lt;/P&gt;&lt;P&gt;                           90006103  D2  2219M11710443&lt;/P&gt;&lt;P&gt;                           90006103  D2  2219M21710442&lt;/P&gt;&lt;P&gt;                           &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                           90006103  A    20080115   ALBERTA    3456 &lt;/P&gt;&lt;P&gt;                           90006103  D2  2219CR1710441&lt;/P&gt;&lt;P&gt;                           90006103  D2  2219M11710443&lt;/P&gt;&lt;P&gt;                           90006103  D2  2219M21710442&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I collected the header record in one internal table and another internal table having all the line items.But the problem is when i am moving the values to the final inernal table i am getting the same payment date&lt;/P&gt;&lt;P&gt;20080110 (Date field in first record of header internal table) for all the line items .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement is that date should be 20080110 for the first 3 line items of first header record and similarly date should be 20080115 for all the line items of the next header record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 17:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033052#M1170707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T17:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving the data into final internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033053#M1170708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it is confusing i mean, your question is confusing. In your example, all item records showing the same values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have different records, then loop at header internal table and then loop at item table or loop at item table and then read header table to collect in new internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 17:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033053#M1170708</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2008-12-30T17:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving the data into final internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033054#M1170709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;assumption: some mistake in ur posting that, How belnr and date r same for both header records, so i guess, either one is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with AT NEW - ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT NEW belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here use looping, READing of ur itabs.---&amp;gt; so, u need to build couple of itabs to move forth and back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls. note that, when u use this AT NEW all the CHAR fileds of itab wuld show as STARS **.....so, this is the necessity behind building new itabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SAP ABAPer on Dec 30, 2008 6:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 17:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033054#M1170709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T17:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving the data into final internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033055#M1170710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As you can see i have different details record .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is there is no matching field between header and detail record which i can make as the key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 17:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033055#M1170710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving the data into final internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033056#M1170711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Actually it is nor BELNR.It is some ID number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is i am not able to match my header records with my details record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i am looping my details table and reading the header table the first date field is getting reflected in all my line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But ideally only the first 3 line items should have the date corresponding to the header record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 17:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033056#M1170711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T17:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in moving the data into final internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033057#M1170712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2009 21:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-moving-the-data-into-final-internal-table/m-p/5033057#M1170712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-08T21:19:11Z</dc:date>
    </item>
  </channel>
</rss>

