<?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: Material Master Conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-master-conversion/m-p/1365471#M180824</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;Standard object RMDATIND has no source field as LVORM hence you cannot delete a material in that case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would suggest you is to write your own code at the field mapping level, so that if LVORM eq 'X', once the LSMW object processing is done, call bapi 'BAPI_MATERIAL_DELETE' to delete the material at client level. ( basically this bapi is calling MM06 transaction)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2006 11:39:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-19T11:39:19Z</dc:date>
    <item>
      <title>Material Master Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-master-conversion/m-p/1365470#M180823</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;Currently i am developing a material master convesion thru LSMW.&lt;/P&gt;&lt;P&gt;Below are its object attributes.&lt;/P&gt;&lt;P&gt;Object: 0020&lt;/P&gt;&lt;P&gt;Method:0000&lt;/P&gt;&lt;P&gt;Program Name:RMDATIND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is:&lt;/P&gt;&lt;P&gt;The target SAP field MARA-LVORM(Flag Material for Deletion at Client Level)is also to be populated, but there are not field in LSMW structure where the value for field LVORM can be specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can the field LVORM be populated by LSMW direct input method?  If not pls suggest any other proedure by which this can be achived.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra notes:&lt;/P&gt;&lt;P&gt;MM06 transaction is used to assign value to LVORM field for a material.&lt;/P&gt;&lt;P&gt;In my program the input file has a source field called LVORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 11:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-master-conversion/m-p/1365470#M180823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T11:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Material Master Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-master-conversion/m-p/1365471#M180824</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;Standard object RMDATIND has no source field as LVORM hence you cannot delete a material in that case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would suggest you is to write your own code at the field mapping level, so that if LVORM eq 'X', once the LSMW object processing is done, call bapi 'BAPI_MATERIAL_DELETE' to delete the material at client level. ( basically this bapi is calling MM06 transaction)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 11:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-master-conversion/m-p/1365471#M180824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T11:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Material Master Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/material-master-conversion/m-p/1365472#M180825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think,we cant put this flag while creating Material thru LSMW.So create the material in the normal way &amp;amp; use bapi to delete it or modify the table with LVORM = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So proceed in creating material without this field LVORM &amp;amp; then follow as given below, to update LVORM value in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;based the value present in the input file for the material call the BAPI "BAPI_MATERIAL_DELETE".&lt;/P&gt;&lt;P&gt;This code you have to write at END OF TRANSACTION EVENT in the "FIELD MAPPING &amp;amp; CONVERSION RULES".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF INPUTFILE-LVORM = 'X'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_MATERIAL_DELETE'.&lt;/P&gt;&lt;P&gt;ENDIF.&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;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>Fri, 19 May 2006 11:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/material-master-conversion/m-p/1365472#M180825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T11:49:17Z</dc:date>
    </item>
  </channel>
</rss>

