<?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: Programming in LSMW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283516#M1531837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say to write your code between begin of transaction event and end of transaction event on the field you want to check.You can even attch the errors in a internal table which can be displayed in the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Sep 2010 06:11:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-17T06:11:39Z</dc:date>
    <item>
      <title>Programming in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283511#M1531832</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;I have created an LSMW to post customers thorugh FD01 which works great. However, I would like to enter an IF statement somewhere to avoid duplicate postings. Does anyone know if this is possible and where I could enter the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Stephanie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 15:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283511#M1531832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-13T15:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283512#M1531833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add code to any particular field mapping. Here it would make sense to add code to the customer number conversion, checking if an entry in KNA1 already exists, then use "skip_transaction".&lt;/P&gt;&lt;P&gt;This is the simple scenario, it can get more complex if you have internal numbering or multiple company codes or sales areas per customer.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 15:59:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283512#M1531833</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-09-13T15:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283513#M1531834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. This would be Step number 5 correct? And I would like to base this off of the Customers Previous Account Number (ALTKN) Right now this is all it shows on the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 ZCUSTPAY-ALTKN = ZAR_CUSTOMERS-ALTKN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it here I need to add the IF statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your time and help&lt;/P&gt;&lt;P&gt;Stephanie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283513#M1531834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-13T16:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283514#M1531835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step 5, yes. You would add a SELECT on KNB1-ALTKN, and if entry found, use code line "skip_transaction". Please check with a local ABAPer, as this is very basic coding, and I might get smacked by a moderator if I'd give you the complete code &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also check LSMW documentation for "skip_transaction" and similar macros.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:25:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283514#M1531835</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-09-13T16:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283515#M1531836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thomas &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283515#M1531836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-13T16:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Programming in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283516#M1531837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say to write your code between begin of transaction event and end of transaction event on the field you want to check.You can even attch the errors in a internal table which can be displayed in the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 06:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programming-in-lsmw/m-p/7283516#M1531837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T06:11:39Z</dc:date>
    </item>
  </channel>
</rss>

