<?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 MD01 User-exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/md01-user-exit/m-p/5273037#M1217198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having some difficulties understanding the user-exit for transaction MD01. My colleague has created a new user exit key Z01, and now we would like to add to the user parameter a &lt;STRONG&gt;list of MRP's&lt;/STRONG&gt;, not only one.&lt;/P&gt;&lt;P&gt;As stated in the code example, i can start by adding to the user-exit the following (for one MRP):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CLEAR: NO_PLANNING, STOP_PLANNING.
  CASE USER_KEY.

   WHEN 'Z01'.
      UXPAR = USER_PAR.
      CONDENSE UXPAR.
      WRITE UXPAR+0(3) TO DISPO.
      IF DISPO IS INITIAL.
        EXIT.
      ENDIF.
      IF MT61D-DISPO &amp;lt;&amp;gt; DISPO.
        NO_PLANNING = 'X'.
      ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I believe that in this piece of code, the MRP is passed to variable DISPO and that's it. But what if instead of choosing one MRP, i want 3 or 4, added to user parameter like this:&lt;/P&gt;&lt;P&gt;100,200,300,400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                           Thank you in advance to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                 Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2009 10:43:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-03T10:43:51Z</dc:date>
    <item>
      <title>MD01 User-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/md01-user-exit/m-p/5273037#M1217198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having some difficulties understanding the user-exit for transaction MD01. My colleague has created a new user exit key Z01, and now we would like to add to the user parameter a &lt;STRONG&gt;list of MRP's&lt;/STRONG&gt;, not only one.&lt;/P&gt;&lt;P&gt;As stated in the code example, i can start by adding to the user-exit the following (for one MRP):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CLEAR: NO_PLANNING, STOP_PLANNING.
  CASE USER_KEY.

   WHEN 'Z01'.
      UXPAR = USER_PAR.
      CONDENSE UXPAR.
      WRITE UXPAR+0(3) TO DISPO.
      IF DISPO IS INITIAL.
        EXIT.
      ENDIF.
      IF MT61D-DISPO &amp;lt;&amp;gt; DISPO.
        NO_PLANNING = 'X'.
      ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I believe that in this piece of code, the MRP is passed to variable DISPO and that's it. But what if instead of choosing one MRP, i want 3 or 4, added to user parameter like this:&lt;/P&gt;&lt;P&gt;100,200,300,400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                           Thank you in advance to all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                                 Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 10:43:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/md01-user-exit/m-p/5273037#M1217198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T10:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: MD01 User-exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/md01-user-exit/m-p/5273038#M1217199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it on my own.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 08:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/md01-user-exit/m-p/5273038#M1217199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T08:28:06Z</dc:date>
    </item>
  </channel>
</rss>

