<?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 Exporting a variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605952#M868570</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;I am using the transacction XD02, the user put the value on the bukrs field and goes to another dynpro, i need to use the bukrs value I use  EXPORT rf02d-bukrs TO MEMORY id 'X_BUKRS' , and in the second dynpro i put MPORT ls_bukrs FROM MEMORY ID 'X_BUKRS' but i can't obtain the value of the variable. I need help to get these value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2008 21:38:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-27T21:38:25Z</dc:date>
    <item>
      <title>Exporting a variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605952#M868570</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;I am using the transacction XD02, the user put the value on the bukrs field and goes to another dynpro, i need to use the bukrs value I use  EXPORT rf02d-bukrs TO MEMORY id 'X_BUKRS' , and in the second dynpro i put MPORT ls_bukrs FROM MEMORY ID 'X_BUKRS' but i can't obtain the value of the variable. I need help to get these value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 21:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605952#M868570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T21:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting a variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605953#M868571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a user exit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: l_text(50) value '(SAPMF02D)rf02d-bukrs'.
field-symbols &amp;lt;fs&amp;gt; type rf02d-bukrs 

Assign (l_text) to &amp;lt;fs&amp;gt;.
if sy-subrc EQ 0.
"do whatever you want with &amp;lt;fs&amp;gt;
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 21:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605953#M868571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T21:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting a variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605954#M868572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      Copy your code including the data declaration here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 21:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605954#M868572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T21:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting a variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605955#M868573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;her u need to use &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET PARAMETER ID pid FIELD f.&lt;/STRONG&gt; and &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GET PARAMETER ID pid FIELD f.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For XD02 transaction , BUKRS field has Parameter ID.&lt;/P&gt;&lt;P&gt; u need to get that value by using GET PARAMETER ID pid FIELD f. and set this value to another dynpro field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;to find the parameter ID of the field&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto XD02 transaction and place the cursor on Company code (BUKRS) field and press F1 button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u get the &lt;STRONG&gt;Performance Assistant&lt;/STRONG&gt; screen. here press &lt;STRONG&gt;Technical Information&lt;/STRONG&gt; push button on the top.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u will see &lt;STRONG&gt;Technical Information&lt;/STRONG&gt; pop up . In this u have the &lt;STRONG&gt;Parameter ID&lt;/STRONG&gt;  &lt;STRONG&gt;BUK&lt;/STRONG&gt; in Field Data box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this parameter ID to populate the value in another dynpro screen using above SYNTAX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2008 22:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exporting-a-variable/m-p/3605955#M868573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-27T22:00:34Z</dc:date>
    </item>
  </channel>
</rss>

