<?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/1945834#M389847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you going to use BDCs or BAPI's?  I'm sure it can be done using a BDC, however it would be very complicated.  I would recommend writing a BAPI and link the BAPI to the LSMW by generating an ALE interface (Tcode: BAPI).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2007 18:04:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-19T18:04:22Z</dc:date>
    <item>
      <title>LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945832#M389845</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 want to use LSMW to upload HR Benefits data.&lt;/P&gt;&lt;P&gt;For wach employee, I want to check if a record in IT 0171 exists. If not, then create a 0171 record and then move on to create record for IT 0377.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If for an employee a record in IT 0171exists, then move on to creation of record in IT 0377.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible with LSMW?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vaishali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 15:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945832#M389845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T15:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945833#M389846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it in two steps.&lt;/P&gt;&lt;P&gt;1&amp;gt; check if a record in IT 0171 exists. If not, then create a 0171 record&lt;/P&gt;&lt;P&gt;2&amp;gt; check if a record in IT 0171 exists. If yes, then create record for IT 0377&lt;/P&gt;&lt;P&gt;However,these have to be two seperate "Objects".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 16:37:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945833#M389846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T16:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945834#M389847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you going to use BDCs or BAPI's?  I'm sure it can be done using a BDC, however it would be very complicated.  I would recommend writing a BAPI and link the BAPI to the LSMW by generating an ALE interface (Tcode: BAPI).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 18:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945834#M389847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-19T18:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945835#M389848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be done very easily in 1 LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create 2 recordings one for 171 one for 377. (Make 171 come before 377)&lt;/P&gt;&lt;P&gt;Attach your source structure to both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When defining your field mappings use this code to determine if they need a 171.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*verify 171 exist for EE.&lt;/P&gt;&lt;P&gt;select single pernr from pa0171 &lt;/P&gt;&lt;P&gt;                               into pa0171-pernr &lt;/P&gt;&lt;P&gt;                               where pernr = main-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;if the record exist skip 171 creation and move to 377. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  skip_record.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach the rest of your source fields in the appropriate places. If lables are done correctly (CTRL&lt;EM&gt;SHIFT&lt;/EM&gt;F3) should automatically assign them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 22:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1945835#M389848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T22:54:24Z</dc:date>
    </item>
  </channel>
</rss>

