<?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: Calling a Subroutine dynamically (PERFORM xxxx IN PROGRAM yyyy) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385962#M1238327</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;You cannot give the Formname dynamically where as you can give the program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM CALL_549B IN PROGRAM (PROGNAM)
                  USING BACK
                        STATUS
                        STRUC_CONTENT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2009 06:38:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-25T06:38:09Z</dc:date>
    <item>
      <title>Calling a Subroutine dynamically (PERFORM xxxx IN PROGRAM yyyy)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385961#M1238326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to work with this. I'm trying to call a subroutine to a particularly program, but I want it to be flexible/reusable. I tried using field-symbols to pass the name of subroutine and program, but can't make it. Here's the details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 paramaters:&lt;/P&gt;&lt;P&gt;PARAMETERS: &lt;/P&gt;&lt;P&gt;prognam  LIKE  tnapr-pgnam,&lt;/P&gt;&lt;P&gt;formnam(50).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside my program, Iwant to make this PERFORM statement to be dynamic:&lt;/P&gt;&lt;P&gt;PERFORM formname IN PROGRAM prognam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I don't need to crete several perform statements. Any help is very very much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 06:34:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385961#M1238326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T06:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Subroutine dynamically (PERFORM xxxx IN PROGRAM yyyy)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385962#M1238327</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;You cannot give the Formname dynamically where as you can give the program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PERFORM CALL_549B IN PROGRAM (PROGNAM)
                  USING BACK
                        STATUS
                        STRUC_CONTENT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 06:38:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385962#M1238327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T06:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Subroutine dynamically (PERFORM xxxx IN PROGRAM yyyy)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385963#M1238328</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;PARAMETERS:&lt;/P&gt;&lt;P&gt;prognam LIKE tnapr-pgnam,&lt;/P&gt;&lt;P&gt;formnam(50).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM (formnam) IN PROGRAM (prognam).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 06:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385963#M1238328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T06:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Subroutine dynamically (PERFORM xxxx IN PROGRAM yyyy)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385964#M1238329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bingo! Yes, this what I want. Many many thanks for a great help from you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 06:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine-dynamically-perform-xxxx-in-program-yyyy/m-p/5385964#M1238329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T06:48:46Z</dc:date>
    </item>
  </channel>
</rss>

