<?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: lsmw in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126550#M110469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot use gui_upload in lsmw, and you can create the two structures and map them in field mapping, while uploading the data you may need to write coding in event&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;__BEGIN_OF_RECORD__&amp;lt;/b&amp;gt;. but upload you cannot do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2006 05:21:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-19T05:21:48Z</dc:date>
    <item>
      <title>lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126545#M110464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,if i want to take  data from a single  file to two &lt;/P&gt;&lt;P&gt;different struture then how  should i go for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 04:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126545#M110464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T04:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126546#M110465</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;you can do it normal way as you are doing previously with one structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 04:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126546#M110465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T04:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126547#M110466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read the contents of the file into an internal table using WS_UPLOAD or GUI_UPLOAD and loop through the first internal table and move the rows to the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ps: Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 04:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126547#M110466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T04:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126548#M110467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      fld1 like ztab-fld1,&lt;/P&gt;&lt;P&gt;      fld2 like ztab-fld2,&lt;/P&gt;&lt;P&gt;      fld3 like ztab-fld3,&lt;/P&gt;&lt;P&gt;      fld4 like ztab-fld4,&lt;/P&gt;&lt;P&gt;      end of itab. &lt;/P&gt;&lt;P&gt;data: begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;      fld1 like ztab-fld1,&lt;/P&gt;&lt;P&gt;      fld2 like ztab-fld2,&lt;/P&gt;&lt;P&gt;      end of itab1.&lt;/P&gt;&lt;P&gt;data: begin of itab2 occurs 0,&lt;/P&gt;&lt;P&gt;      fld3 like ztab-fld3,&lt;/P&gt;&lt;P&gt;      fld4 like ztab-fld4,&lt;/P&gt;&lt;P&gt;      end of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;  itab  =  itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   itab1-fld1 = itab-fld1.&lt;/P&gt;&lt;P&gt;   itab1-fld2 = itab-fld2.&lt;/P&gt;&lt;P&gt;   append itab1.&lt;/P&gt;&lt;P&gt;   clear itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   itab2-fld3 = itab-fld3.&lt;/P&gt;&lt;P&gt;   itab2-fld4 = itab-fld4.&lt;/P&gt;&lt;P&gt;   append itab2.&lt;/P&gt;&lt;P&gt;   clear itab2.&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;if ur problem is solved pls reward for helpful answers, if not pls ask more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: chandrasekhar jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 04:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126548#M110467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T04:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126549#M110468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chandrasekar , sir i think this type of work can  be done  in BDC but in LSMW  i havent use concpet like  internal  table , where all this coding shoudl be done, &lt;/P&gt;&lt;P&gt;plese tell  me in detais.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 05:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126549#M110468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T05:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126550#M110469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot use gui_upload in lsmw, and you can create the two structures and map them in field mapping, while uploading the data you may need to write coding in event&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;__BEGIN_OF_RECORD__&amp;lt;/b&amp;gt;. but upload you cannot do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2006 05:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126550#M110469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-19T05:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126551#M110470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     In  Maintain field mapping and conversion rules step we get a detailed view of the field mapping. Here at the end of each structure you could see the statement transfer_record. This statement is something similar to ur append itab. Each of the structure denotes a loop. The hierarchy in the structure will be reflected in ur loop as well. Inside this loop ur data from file is retrieved record by record and transfer record denote the end of one record fetch. You can double click on the node and enter ur own code there. &lt;/P&gt;&lt;P&gt;     If u want to know how ur code becomes the part of the entire read and conversion program which actually get created in background, u need to include them in the lsmw steps. This can be done by checking the appropriate box in personal menu popup window. The personal  menu button is located in the application tool bar. Ofcourse u cannot edit the conversion prog but still u will be able to understand where ur coding comes into picture. &lt;/P&gt;&lt;P&gt;     If data for several structures is stored in one file the field Identifying field value has to be&lt;/P&gt;&lt;P&gt;maintained. This is done where u maintain ur source field.Maintain only one identifying field value per structure.&lt;/P&gt;&lt;P&gt;For fields of top hierarchy level structures, ID "selection parameter" can be set during Read/Convert&lt;/P&gt;&lt;P&gt;data. If you set this indicator, the corresponding field is made available as selection parameter when&lt;/P&gt;&lt;P&gt;reading or converting data. As a rule, this is used for testing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 12:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126551#M110470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T12:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126552#M110471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just define one source structure that matches your input file. In the mapping of the source structure assignment to target structure, assign the same source structure to both the target target structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that you will manipulate in your mapping of the fields as to which one goes to the first structure or which value goes to the other one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2006 12:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1126552#M110471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-08T12:44:08Z</dc:date>
    </item>
  </channel>
</rss>

