<?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 fetch records in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103138#M1508748</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 records in my internal table as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;a001  b001   abc  123  232  232 434 556
                     asd  343 454 454 545 898
                     sds  546 656 676 767 676
c002  d003   abc  256 896 459 789
                     asd 565 865 785 412
                     sds 865 265 554 023
r002  f003    abc  256 896 459 789
                     asd 565 865 785 412
                     sds 865 265 554 023&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to copy these records into another int. table. only the &lt;STRONG&gt;sds&lt;/STRONG&gt; records should be fetched records.&lt;/P&gt;&lt;P&gt;final int. table shoud be as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;a001  b001   sds  546 656 676 767 676
          c002  d003   sds 865 265 554 023
          r002  f003     sds 865 265 554 023&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 17:14:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-29T17:14:56Z</dc:date>
    <item>
      <title>fetch records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103138#M1508748</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 records in my internal table as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;a001  b001   abc  123  232  232 434 556
                     asd  343 454 454 545 898
                     sds  546 656 676 767 676
c002  d003   abc  256 896 459 789
                     asd 565 865 785 412
                     sds 865 265 554 023
r002  f003    abc  256 896 459 789
                     asd 565 865 785 412
                     sds 865 265 554 023&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to copy these records into another int. table. only the &lt;STRONG&gt;sds&lt;/STRONG&gt; records should be fetched records.&lt;/P&gt;&lt;P&gt;final int. table shoud be as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;a001  b001   sds  546 656 676 767 676
          c002  d003   sds 865 265 554 023
          r002  f003     sds 865 265 554 023&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 17:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103138#M1508748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T17:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: fetch records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103139#M1508749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loop at itab into wa1.&lt;/P&gt;&lt;P&gt;ifwa1- f1 is not initial.&lt;/P&gt;&lt;P&gt;wa2-f1 = wa1-f1.&lt;/P&gt;&lt;P&gt;wa2-f2 = wa1-f2.&lt;/P&gt;&lt;P&gt;wa2-f3 = wa1-f3.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if wa1-f4 is not initial.&lt;/P&gt;&lt;P&gt;move the remaining fields to wa2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if wa2-f1 is initial OR&lt;/P&gt;&lt;P&gt;  wa2-f2 is initial OR&lt;/P&gt;&lt;P&gt;remaining fields&lt;/P&gt;&lt;P&gt;wa2-f8 is initial.&lt;/P&gt;&lt;P&gt;CONTINUE.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;append wa2 to itab2.&lt;/P&gt;&lt;P&gt;CLEAR wa2.&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;Nikhil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nikhil V Kumar on Jul 29, 2010 11:37 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 18:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103139#M1508749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-29T18:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: fetch records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103140#M1508750</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;Int. table records are as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rbukrs	prctr	text	a01	a02	a03	a04	a05	a06	a07&lt;/P&gt;&lt;P&gt;2593	ZE0201	 Before Tax	0	100.00-	0	0	0	68.95-		                      Tax Rate	0	0	0	0	0			                      After Tax	0	0	0	0	0	0&lt;/P&gt;&lt;P&gt;2591	ZE0202	 Before Tax	0	100.00-	0	0	0	68.95-		                      Tax Rate	0	0	0	0	0			                      After Tax	0	0	0	0	0	0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want records in another int. table only the after tax record should be picked along with rbukrs and prctc values as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2593	ZE0201 After Tax	0	0	0	0	0	0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2591	ZE0202 After Tax	0	0	0	0	0	0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i do loop at itab with where cond'n as text = corporate tax i'm able to fill the itab2 but i'm not getting  rbukrs and prctr values .how to get bukrs and prctr values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 05:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103140#M1508750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T05:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: fetch records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103141#M1508751</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;int table is this way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;rbukrs	prctr	text	a01	a02	a03	a04	a05	a06	
2593	ZE0201	Before Tax	0	100.00-	0	0	0	68.95-		                     Tax Rate	0	0	0	0	0	0		                     afer Tax	0	0	0	0	0	0	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 05:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-records/m-p/7103141#M1508751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-30T05:24:36Z</dc:date>
    </item>
  </channel>
</rss>

