<?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 passing structure in PERFORM ... Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685752#M301971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have learned that you can not pass a structure as a variable into a perform.  How I have gotten around it is just make the structure variable (wa_msg) a global and then do the work as you are doing.  Without passing the variable to the perform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kori Benton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Nov 2006 14:40:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-14T14:40:48Z</dc:date>
    <item>
      <title>Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685749#M301968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following perform statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PERFORM fill_segment using wa_msg g_simulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM fill_segment using p_ msg p_simulate.   &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  wa_xr-country = p_msg-country.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dataobjct p_msg has no structure and therefore no component called country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition of wa_msg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_msg  TYPE zemsgs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zemsgs is a transparent table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685749#M301968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685750#M301969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the FORM definition to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM fill_segment USING p_msg LIKE wa_msg
                                        p_simulate.

ENDFORM
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685750#M301969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685751#M301970</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;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM fill_segment using &amp;lt;b&amp;gt;structure p_ msg&amp;lt;/b&amp;gt; p_simulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685751#M301970</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-14T14:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685752#M301971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have learned that you can not pass a structure as a variable into a perform.  How I have gotten around it is just make the structure variable (wa_msg) a global and then do the work as you are doing.  Without passing the variable to the perform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kori Benton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685752#M301971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685753#M301972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM fill_segment using p_msg type zemsgs
                                      p_simulate.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also need to TYPE the p_SIMULATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685753#M301972</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-14T14:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685754#M301973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See my response.  You absolutely can pass a structure to a form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685754#M301973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685755#M301974</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;perform fill_segment p_msg1 p_simulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM fill_segment USING p_msg1 LIKE wa_msg1&lt;/P&gt;&lt;P&gt;                                        p_simulate.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;m.srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685755#M301974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with passing structure in PERFORM ... Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685756#M301975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved. thx.  I figured I had to "type" it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2006 14:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-passing-structure-in-perform-statement/m-p/1685756#M301975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-14T14:52:03Z</dc:date>
    </item>
  </channel>
</rss>

