<?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/1541218#M246553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN YOU WRITE A SELECT STATEMENT IN LSMW? IF YES EXPLAIN IT?&lt;/P&gt;&lt;P&gt;yes, you can write in   &amp;lt;b&amp;gt; Maintain Field Mapping and Conversion Rulesstep of LSMW.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR: V_FLAG,
       V_MATNR.
CONDENSE MATMAS_MRPVIEW-MATNR.
SELECT SINGLE MATNR
              INTO V_MATNR
             FROM MARC
               WHERE MATNR = MATMAS_MRPVIEW-MATNR
                AND  WERKS = MATMAS_MRPVIEW-WERKS.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  V_FLAG = 'X'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this code i am writing in BEGIN OF RECORD section,my intension here is to know material already created for that plant or not. if its been there,i go with MM02(material CHANGE) else with MM01(create).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO MAKE INPUT VALIDATION IN LSMW?&lt;/P&gt;&lt;P&gt; for this also, in the same step(as above), &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF not MATMAS_MRPVIEW-gewei is initial.
ZMMH1-GEWEI = MATMAS_MRPVIEW-gewei.
else.
ZMMH1-GEWEI = 'LB'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;here i am validating input file Weight UNIT is EMpty or not.If it is empty,then i am  populating LB as Default value to the LSMW target Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2006 14:57:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-29T14:57:02Z</dc:date>
    <item>
      <title>LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1541216#M246551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;1.WHAT ARE THE EVENTS IN LSMW?&lt;/P&gt;&lt;P&gt;2.CAN YOU WRITE A SELECT STATEMENT IN LSMW? IF YES EXPLAIN IT?&lt;/P&gt;&lt;P&gt;3.HOW TO MAKE INPUT VALIDATION IN LSMW?&lt;/P&gt;&lt;P&gt;4.HOW TO TRANSFER LEGACY DATA IN LSMW FOR TABLE VIEW CONTROL TRANSACTIONS LIKE VA01,XK01 AND FK01?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE SEND ANSWERS TO E-MAIL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;srnvsrnalluri@yahoo.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 14:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1541216#M246551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T14:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1541217#M246552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not open multiple threads for the same questions.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 14:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1541217#M246552</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-29T14:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1541218#M246553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN YOU WRITE A SELECT STATEMENT IN LSMW? IF YES EXPLAIN IT?&lt;/P&gt;&lt;P&gt;yes, you can write in   &amp;lt;b&amp;gt; Maintain Field Mapping and Conversion Rulesstep of LSMW.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR: V_FLAG,
       V_MATNR.
CONDENSE MATMAS_MRPVIEW-MATNR.
SELECT SINGLE MATNR
              INTO V_MATNR
             FROM MARC
               WHERE MATNR = MATMAS_MRPVIEW-MATNR
                AND  WERKS = MATMAS_MRPVIEW-WERKS.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
  V_FLAG = 'X'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;this code i am writing in BEGIN OF RECORD section,my intension here is to know material already created for that plant or not. if its been there,i go with MM02(material CHANGE) else with MM01(create).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW TO MAKE INPUT VALIDATION IN LSMW?&lt;/P&gt;&lt;P&gt; for this also, in the same step(as above), &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF not MATMAS_MRPVIEW-gewei is initial.
ZMMH1-GEWEI = MATMAS_MRPVIEW-gewei.
else.
ZMMH1-GEWEI = 'LB'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;here i am validating input file Weight UNIT is EMpty or not.If it is empty,then i am  populating LB as Default value to the LSMW target Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srikanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Kidambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2006 14:57:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1541218#M246553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-29T14:57:02Z</dc:date>
    </item>
  </channel>
</rss>

