<?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: Copying the data from table given a reference record. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088392#M433880</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;we can retieve the data in lsmw step 5 (maintain field mapping). &lt;/P&gt;&lt;P&gt;here we are having dofferent blocks like &lt;/P&gt;&lt;P&gt;Global data (just like the Global declarations in report program)&lt;/P&gt;&lt;P&gt;Begin of processing (Initialization)&lt;/P&gt;&lt;P&gt;begin of Transaction(it is executed fopr every transaction.If there are any header and item data, it will be executed for only header records).&lt;/P&gt;&lt;P&gt;begin of record (will be executed for every record)&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;u can write the abap code in any of the block by double clicking it.&lt;/P&gt;&lt;P&gt;in any block u can retrieve the data from data base table using the select statement same as in ABAP reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it will helps U.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 08:23:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T08:23:19Z</dc:date>
    <item>
      <title>Copying the data from table given a reference record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088391#M433879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help me if we can copy the data from a table for some particular records using an LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rajesh Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 09:22:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088391#M433879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T09:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Copying the data from table given a reference record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088392#M433880</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;we can retieve the data in lsmw step 5 (maintain field mapping). &lt;/P&gt;&lt;P&gt;here we are having dofferent blocks like &lt;/P&gt;&lt;P&gt;Global data (just like the Global declarations in report program)&lt;/P&gt;&lt;P&gt;Begin of processing (Initialization)&lt;/P&gt;&lt;P&gt;begin of Transaction(it is executed fopr every transaction.If there are any header and item data, it will be executed for only header records).&lt;/P&gt;&lt;P&gt;begin of record (will be executed for every record)&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;u can write the abap code in any of the block by double clicking it.&lt;/P&gt;&lt;P&gt;in any block u can retrieve the data from data base table using the select statement same as in ABAP reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think it will helps U.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 08:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088392#M433880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T08:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Copying the data from table given a reference record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088393#M433881</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 will explain you further . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose in table of material master there is entry "D10897".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i give this entry, is there any method in LSMW that it will go to the material master table and fetch the value in each field of the table corresponding to material "D10897".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:32:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088393#M433881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T10:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copying the data from table given a reference record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088394#M433882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, as suggested in the above post, you will have to code in the ABAP block for &lt;/P&gt;&lt;P&gt;select from mara where matnr = 'xxx'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088394#M433882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T10:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Copying the data from table given a reference record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088395#M433883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudha ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it means i need to write the code for each field individually and get the data accumulated into internal table forst and then transfer it to excel sheet . Is this what you mean ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 12:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088395#M433883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T12:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Copying the data from table given a reference record.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088396#M433884</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 a query that when we write the code how will the value related to the particular field gets copied and where it needs to be stored ...do i need to define the internal table also ..... if yes then how ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2007 09:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-the-data-from-table-given-a-reference-record/m-p/2088396#M433884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-11T09:51:15Z</dc:date>
    </item>
  </channel>
</rss>

