<?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: dynamic action in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255625#M777488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;perform (sname) IN PROGRAM (pname) [IF FOUND] &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 11:42:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T11:42:50Z</dc:date>
    <item>
      <title>dynamic action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255624#M777487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could u plz tell me in dynamic action how to use subroutines ?? ie. 'F'&lt;/P&gt;&lt;P&gt;plz tell me how the subroutine program should be???with an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;priya.s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 11:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255624#M777487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T11:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255625#M777488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;perform (sname) IN PROGRAM (pname) [IF FOUND] &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;Plzz reward points if it helps.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 11:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255625#M777488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T11:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255626#M777489</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;Dynamic Subroutines are Obsolete now I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can use normal subroutines:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A subroutine is a block of code introduced by FORM and concluded by ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM subr [USING     p1 TYPE type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     p2 LIKE field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     VALUE(p3) TYPE type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     VALUE(p4) LIKE field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     ...                 ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          [CHANGING { {VALUE(p1)}|{p1 [{TYPE type}|{LIKE field}]}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      {VALUE(p2)}|{p2 [{TYPE type}|{LIKE field}]}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                      ...                                        } ]&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;subr  is the name of the subroutine. The optional additions USING and CHANGING define the parameter interface. Like any other processing block, subroutines cannot be nested. You should therefore place your subroutine definitions at the end of the program, especially for executable programs. In this way, you eliminate the risk of non-executable statements occurring by mistake through a subroutine closing an event block at the wrong place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call the subroutine by the statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;formname&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information refer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/db976935c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/db976935c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls rewrad points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255626#M777489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T12:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic action</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255627#M777490</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;Example of Dyanamic Action which calls a FORM routine: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In View T588Z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0001 F GET_DATE(ZTEST)&lt;/P&gt;&lt;P&gt;0001 I INS, 19, 01&lt;/P&gt;&lt;P&gt;0001 W P00019-VTRMN = RP50D-DATe1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GET_DATE routine in program ZTEST calculates the date and enters DATE1 field via ''TABLES RP50D in ZTEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Archana.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-action/m-p/3255627#M777490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T12:30:31Z</dc:date>
    </item>
  </channel>
</rss>

