<?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: difference between funtion module and pre define function in abap in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081365#M97926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest use ABAP command, which is a part of ABAP Language. For Function Modules, you need check if it released, In many cases, they are not leased, which means it is not available for customer use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Oct 2005 09:00:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-23T09:00:47Z</dc:date>
    <item>
      <title>difference between funtion module and pre define function in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081362#M97923</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;CAN ANY ONE TELL ME WHAT IS DIFFERENCT BETWEEN FUNCTION MODULE AND&lt;/P&gt;&lt;P&gt;PREDEFINE FUNCITON IN ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN ORDER TO EXPLAIN U MY QUESTION I WILL GIVE U AN EXAMPLE OF COUNTING&lt;/P&gt;&lt;P&gt;THE NUMBER OF CHARACTERS IN A STRING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE FUNCITON MODULE FOR THIS OPERATION IS&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'STRING_LENGTH'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRING =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LENGTH =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND THE PREDEFINE FUNCTION FOR THIS OPERATON IS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STR_LEN = STRLEN( STRING ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I WANT TO KNOW WHAT IS DIFFERNECE BETWEEN ABOUT TWO FUNCTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: the fm itself is using that predefine function  and it is allowing us to use the predefine funtion also.&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;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAQSOOD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2005 06:26:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081362#M97923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-23T06:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: difference between funtion module and pre define function in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081363#M97924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Function Modules mostly will have upward capability . So suppose the syntax of STRLEN changes , the function module 'STRING_LENGTH' will have the updated version .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On WAS 620 the FM STRING_LENGTH conatins code -&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;class cl_abap_list_utilities definition load.&lt;/P&gt;&lt;P&gt;length = cl_abap_list_utilities=&amp;gt;dynamic_output_length( string ).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you are on a lower release ( 46B / 46C ) so you still see STRLEN in the Function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So STRLEN is a key word of ABAP whose syntax may change with upgrade . But the FM STRING_LENGTH would keep the functionality even on upgrades . So its better to use standard FMs if available for any functinality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2005 06:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081363#M97924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-23T06:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: difference between funtion module and pre define function in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081364#M97925</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 think different than Sanjay. I consider that it's safer to use one of ABAP standard syntax command than one of SAP function module. Syntax command can be in future marked as obsolete but should work also in future releases.&lt;/P&gt;&lt;P&gt;There is no such warranty for SAP FM. Unless it's BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krzys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2005 08:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081364#M97925</guid>
      <dc:creator>krzysztof_konitz4</dc:creator>
      <dc:date>2005-10-23T08:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: difference between funtion module and pre define function in abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081365#M97926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest use ABAP command, which is a part of ABAP Language. For Function Modules, you need check if it released, In many cases, they are not leased, which means it is not available for customer use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2005 09:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-funtion-module-and-pre-define-function-in-abap/m-p/1081365#M97926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-23T09:00:47Z</dc:date>
    </item>
  </channel>
</rss>

