<?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 Get data from Miro screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213811#M1716574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm implementing BADI MRM_HEADER_DEFAULT to change document type BLART in MIRO transaction, but I'm facing the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying to get "Purchasing Document", it is not visible in badi's parameters I_RBKPV and I_RM08M. Thne I tried to acess if using field-symbols:&lt;/P&gt;&lt;P&gt; field(25) &lt;SPAN class="L0S52"&gt;type &lt;SPAN class="L0S52"&gt;c &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'(SAPLMR1M)RM08M-EBELN' -&amp;gt; did not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Can anyone help me?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 19:06:57 GMT</pubDate>
    <dc:creator>flvia_s</dc:creator>
    <dc:date>2012-12-19T19:06:57Z</dc:date>
    <item>
      <title>Get data from Miro screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213811#M1716574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm implementing BADI MRM_HEADER_DEFAULT to change document type BLART in MIRO transaction, but I'm facing the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying to get "Purchasing Document", it is not visible in badi's parameters I_RBKPV and I_RM08M. Thne I tried to acess if using field-symbols:&lt;/P&gt;&lt;P&gt; field(25) &lt;SPAN class="L0S52"&gt;type &lt;SPAN class="L0S52"&gt;c &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'(SAPLMR1M)RM08M-EBELN' -&amp;gt; did not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Can anyone help me?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S33"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 19:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213811#M1716574</guid>
      <dc:creator>flvia_s</dc:creator>
      <dc:date>2012-12-19T19:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from Miro screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213812#M1716575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flávia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Importing parameter I_RM08M is a structure. I believe you want I_RM08M-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 19:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213812#M1716575</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2012-12-19T19:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from Miro screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213813#M1716576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this field is blank....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 19:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213813#M1716576</guid>
      <dc:creator>flvia_s</dc:creator>
      <dc:date>2012-12-19T19:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from Miro screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213814#M1716577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flávia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you want to do is to change the &lt;EM&gt;Details tab &amp;gt; Doc. Type&lt;/EM&gt; field according to the value the user has entered into the &lt;EM&gt;Purchasing Document&lt;/EM&gt; field. Is that right? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I've understood your requirement, MRM_HEADER_DEFAULT won't work for this because at the time its method is called, there is not yet a value for &lt;EM&gt;Purchasing Document&lt;/EM&gt;, hence the I_RM08M-EBELN field is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user enters a value for &lt;EM&gt;Purchasing Document&lt;/EM&gt; and hits the enter key, subroutine NEW_ASSIGNMENT in program SAPLMR1M is executed (set a break-point to verify this). What you could do is create an enhancement in this subroutine (you may want to check sy-dynnr is 6211 since the subroutine is called from multiple screens) to assign a value to RBKPV-BLART based on the value of RM08M-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Amy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 21:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-data-from-miro-screen/m-p/9213814#M1716577</guid>
      <dc:creator>amy_king</dc:creator>
      <dc:date>2012-12-19T21:17:57Z</dc:date>
    </item>
  </channel>
</rss>

