<?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 Multiple Files in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014597#M79665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Quick reply Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have header record in One file and Item records in another file, with Key same ( Sales Order #) . &lt;/P&gt;&lt;P&gt;Do i have to still use identifier ? Do i have to write any code for this kind too ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2005 13:26:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-18T13:26:39Z</dc:date>
    <item>
      <title>LSMW Multiple Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014595#M79663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have the records in the following pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Key Record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REC_KEY1        CLASS1    CHAR1 CHAR_VALUE1&lt;/P&gt;&lt;P&gt;                            CHAR2 CHAR_VALUE2&lt;/P&gt;&lt;P&gt;                  CLASS2    CHAR3 CHAR_VALUE1&lt;/P&gt;&lt;P&gt;                            CHAR4 CHAR_VALUE4&lt;/P&gt;&lt;P&gt; REC_KEY2         CLASS3    CHAR1 CHAR_VALUE1&lt;/P&gt;&lt;P&gt;                  CLASS4    CHAR1 CHAR_VALUE1&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; REC_KEY3          SPACE       SPACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; All these records are in a Single file. I have LSMW Structure as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   KEY&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     --- CLASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;            ___ CHAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; is there any way i can split the Above file and keep KEY VAlUE in Both the files and populate the LSMW Recorrs ? I know the way to use record identifier. Trying to use the way with Multiple fiels, One for Header with Key Value and 2nd with CLASS and CAHR Values. Please Help !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kalso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 13:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014595#M79663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-18T13:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Multiple Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014596#M79664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood your requirement correctly this is the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow these steps for processing multiple records in lsmw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume that you have one header line and multiple line items in the file and has a unique identifier. Let us say you have two nodes in lsmw called VBAK and VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally lsmw process one line of the file at a time. When lsmw reads the header line, process the VBAK node and use the 'transfer_record' command (this must be already there). When the second record is processed and if the unique identifier is same as the header then write a command called 'skip_record' in the '__BEGIN_OF_RECORD__' session of VBAK. If you do like this we will have one header and multiple line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 13:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014596#M79664</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-18T13:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Multiple Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014597#M79665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Quick reply Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have header record in One file and Item records in another file, with Key same ( Sales Order #) . &lt;/P&gt;&lt;P&gt;Do i have to still use identifier ? Do i have to write any code for this kind too ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 13:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014597#M79665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-18T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Multiple Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014598#M79666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I know you cannot have two source files at the same time. I think you need to merge both the files items after header, then use my logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly assign points if the answers were helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 13:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014598#M79666</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-18T13:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Multiple Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014599#M79667</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 define two files in 'specify files'. In next step 'assign files' you can assign file1 to header structure and file2 to positions structure(s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With your common key a 'loop where' should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 14:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014599#M79667</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-08-18T14:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Multiple Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014600#M79668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Christian, You are right, the loop works automatically. I Figured out a way for the file structure. thanks for the help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first file is in the following format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; KEY1  XXXX XXXXXXXXXX&lt;/P&gt;&lt;P&gt; KEY2  XXXX XXXXXXXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; KEY1  CLASS1  CHAR1 CHAR_VALUE1&lt;/P&gt;&lt;P&gt; KEY1  CLASS2  CHAR2 CHAR_VALUE2&lt;/P&gt;&lt;P&gt; KEY2  CLASS3  CHAR1 CHAR_VALUE1&lt;/P&gt;&lt;P&gt; KEY2  CLASS2  CHAR2 CHAR_VALUE2&lt;/P&gt;&lt;P&gt; KEY3  CLASS3  CHAR1 CHAR_VALUE1&lt;/P&gt;&lt;P&gt; KEY4  CLASS2  CHAR2 CHAR_VALUE2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LSMW Looped Internally&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 15:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014600#M79668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-18T15:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Multiple Files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014601#M79669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAP you have used ? Its not allowing me to use multiple files in ECC 6.0. If there is any other setting to be done, please do let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramgopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2006 20:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-multiple-files/m-p/1014601#M79669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-04T20:12:02Z</dc:date>
    </item>
  </channel>
</rss>

