<?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: error when inserting code in lsmw in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244453#M484312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the ISBN number as a field in the file which you are using for LSMW.&lt;/P&gt;&lt;P&gt;Then there is no need to write the selection screen code. &lt;/P&gt;&lt;P&gt;You can use the value passed in file to get the material number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 01:12:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-15T01:12:28Z</dc:date>
    <item>
      <title>error when inserting code in lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244452#M484311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello i need to retrieve material number from isbn number.i have written the following code&lt;/P&gt;&lt;P&gt;data:wa_isbn type jptidcdassign,&lt;/P&gt;&lt;P&gt;        wa_mara type jptidcdassign,&lt;/P&gt;&lt;P&gt;         it_isbn type standard table of jptidcdassign,&lt;/P&gt;&lt;P&gt;         it_mara type standard table of mara.&lt;/P&gt;&lt;P&gt;selection-screen: begin of block b1 with frame TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;parameters:p_isbn  type  ismidentcode.&lt;/P&gt;&lt;P&gt;selection-screen: end of block b1.&lt;/P&gt;&lt;P&gt;start-of-selection&lt;/P&gt;&lt;P&gt;select single matnr identcode from jptidcdassign into corresponding fields of wa_isbn where identcode  = p_isbn.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;write:/  wa_isbn_matnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;this code is working fine in abap editor but giving error  as selection-screen and  parameter is not allowed when i try to retrieve matnr while transfering legacy data.can any body help me as iam new to lsmw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 00:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244452#M484311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T00:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: error when inserting code in lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244453#M484312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the ISBN number as a field in the file which you are using for LSMW.&lt;/P&gt;&lt;P&gt;Then there is no need to write the selection screen code. &lt;/P&gt;&lt;P&gt;You can use the value passed in file to get the material number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 01:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244453#M484312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T01:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: error when inserting code in lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244454#M484313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello arith&lt;/P&gt;&lt;P&gt; the logic here is that isbn number  comes from legacy system  isbn number have corresponding matnr in sap data base .what i need to do is to populate matnr in matnr feild when flat file containing isbn number is uploaded .so please tell me how i should do this in lsmw.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 03:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244454#M484313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T03:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: error when inserting code in lsmw</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244455#M484314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write your piece of code in the tab "Maintain Fixed Values, Translations, User-Defined Routines" of the LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you can write a code to get the MATNR field from DB using ISBN number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you require furthe clarification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 03:56:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-inserting-code-in-lsmw/m-p/2244455#M484314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T03:56:09Z</dc:date>
    </item>
  </channel>
</rss>

