<?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: problem with set parameter id in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/4329166#M1031496</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;looking at the source code of LSMW, not parameter ID is what you need, but memory id:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IMPORT /SAPDMC/LSMEMORY FROM MEMORY ID '/SAPDMC/LSMW'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    PROJECT = /SAPDMC/LSMEMORY-PROJECT.&lt;/P&gt;&lt;P&gt;    SUBPROJ = /SAPDMC/LSMEMORY-SUBPROJ.&lt;/P&gt;&lt;P&gt;    OBJECT = /SAPDMC/LSMEMORY-OBJECT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDIF.code}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use EXPORT TO MEMORY ... statement in your program acc. to the needs above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2008 09:45:07 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-08-25T09:45:07Z</dc:date>
    <item>
      <title>problem with set parameter id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/4329165#M1031495</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;i am using the below code to set the parameter id to project , subproject and object for the t-code in lsmw. but when it goes to lsmw &lt;/P&gt;&lt;P&gt;it does not take these values in lsmw . can anyone please check where i am going wrong? thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: project type /SAPDMC/LSSCREEN-PROJECT,&lt;/P&gt;&lt;P&gt;      subproj  type /SAPDMC/LSSCREEN-SUBPROJ,&lt;/P&gt;&lt;P&gt;      object  type /SAPDMC/LSSCREEN-OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      if sscrfields-ucomm eq 'CLI1'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     if p_up = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        data: project type c length 20 value 'SIVA',&lt;/P&gt;&lt;P&gt;              subproj type c length 20 value 'PRICING',&lt;/P&gt;&lt;P&gt;              object  type c length 20 value 'SD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     proj = 'SIVA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     subproj = 'PRICING'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     obj = 'SD'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            SET PARAMETER ID: PROJECT   FIELD   PROJECT,&lt;/P&gt;&lt;P&gt;                                            SUBPROJ   FIELD   SUBPROJ,&lt;/P&gt;&lt;P&gt;                                            OBJECT    FIELD   OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            call transaction 'LSMW' and skip first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*******************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saurabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2008 09:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/4329165#M1031495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-25T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem with set parameter id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/4329166#M1031496</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;looking at the source code of LSMW, not parameter ID is what you need, but memory id:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IMPORT /SAPDMC/LSMEMORY FROM MEMORY ID '/SAPDMC/LSMW'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    PROJECT = /SAPDMC/LSMEMORY-PROJECT.&lt;/P&gt;&lt;P&gt;    SUBPROJ = /SAPDMC/LSMEMORY-SUBPROJ.&lt;/P&gt;&lt;P&gt;    OBJECT = /SAPDMC/LSMEMORY-OBJECT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDIF.code}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use EXPORT TO MEMORY ... statement in your program acc. to the needs above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2008 09:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/4329166#M1031496</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-08-25T09:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem with set parameter id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/4329167#M1031497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried this method now and it has worked terrific. Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 09:29:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-set-parameter-id/m-p/4329167#M1031497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T09:29:29Z</dc:date>
    </item>
  </channel>
</rss>

