<?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: help please in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913021#M379899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well u create a sub routine using form &amp;amp; end form ........2 call d subroutine u will use d perform keyword.&lt;/P&gt;&lt;P&gt;eg: Perform ABC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     form  abc&lt;/P&gt;&lt;P&gt;     statmnt 1.&lt;/P&gt;&lt;P&gt;     statmnt 2.&lt;/P&gt;&lt;P&gt;     endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 09:13:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-01T09:13:31Z</dc:date>
    <item>
      <title>help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913017#M379895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wat does perform keyword will do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913017#M379895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913018#M379896</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;It is used to define the SUBROUTINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913018#M379896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913019#M379897</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 is for defining a Subroutine which are principally for local modularization, that is, they are generally called from the program in which they are defined. You can use subroutines to write functions that are used repeatedly within a program. You can define subroutines in any ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you use it like.&lt;/P&gt;&lt;P&gt;perform &amp;lt;fname&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and later you have to define a form with the name fname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form &amp;lt;fname&amp;gt;.&lt;/P&gt;&lt;P&gt;// write your logic here.&lt;/P&gt;&lt;P&gt;endform&lt;/P&gt;&lt;P&gt;When you use this perform statment in your abap code, the control goes to the form and the code inside this form gets executed. once the control comes to endfrom, the control goes back to the next line of perform statemnt. it is just a modularization technique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913019#M379897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913020#M379898</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;&lt;/P&gt;&lt;P&gt;A Subroutine can only be called within a program, will be destroyed/out of scope at outside the program, cannot be called from any other program.&lt;/P&gt;&lt;P&gt;Where as a Function module is availabe in SAP repository and can used in any no. of programs. It is having Scope in entire SAP repository. It can be declared globally and can be used in any program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;Subroutines cannot be called in different server&lt;/P&gt;&lt;P&gt;where functional module can be remotely called in another server.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP contains the following kinds of procedures: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subroutines&lt;/P&gt;&lt;P&gt;Subroutines are principally for local modularization, that is, they are generally called from the program in which they are defined. You can use subroutines to write functions that are used repeatedly within a program. You can define subroutines in any ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Modules&lt;/P&gt;&lt;P&gt;Function modules are for global modularization, that is, they are always called from a different program. Function modules contain functions that are used in the same form by many different programs. They are important in the R/3 System for encapsulating processing logic and making it reusable. Function modules must be defined in a function group, and can be called from any program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods&lt;/P&gt;&lt;P&gt;Methods describe the functions and behavior of classes and their instances in ABAP Objects. Methods must be defined in classes. When you call them, you must observe certain special rules of object-oriented programming. &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;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 &amp;lt;subr&amp;gt; [USING ... [VALUE(]&amp;lt;pi&amp;gt;[)] [TYPE &amp;lt;t&amp;gt;|LIKE &amp;lt;f&amp;gt;]... ] &lt;/P&gt;&lt;P&gt;[CHANGING... [VALUE(]&amp;lt;pi&amp;gt;[)] [TYPE &amp;lt;t&amp;gt;|LIKE &amp;lt;f&amp;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;Subroutines are procedures that you can define in any ABAP program and also call from any program. Subroutines are normally called internally, that is, they contain sections of code or algorithms that are used frequently locally. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:13:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913020#M379898</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-03-01T09:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913021#M379899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well u create a sub routine using form &amp;amp; end form ........2 call d subroutine u will use d perform keyword.&lt;/P&gt;&lt;P&gt;eg: Perform ABC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     form  abc&lt;/P&gt;&lt;P&gt;     statmnt 1.&lt;/P&gt;&lt;P&gt;     statmnt 2.&lt;/P&gt;&lt;P&gt;     endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913021#M379899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913022#M379900</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 call subroutines from ABAP programs using the PERFORM statement.&lt;/P&gt;&lt;P&gt;Subroutines are introduced with the FORM statement and concluded with the ENDFORM statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 09:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913022#M379900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T09:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913023#M379901</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;in short and simple terms, i can u that Perform Formname statement is used to create subroutines which can be either internal or external.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shamim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 10:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1913023#M379901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T10:52:54Z</dc:date>
    </item>
  </channel>
</rss>

