<?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: Is it possible to create a Functional module dynamically? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722490#M631614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have given comments for most used paramters&lt;/P&gt;&lt;P&gt;you can get the type of the parameters from SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 exporting                                                                                
funcname                      = '/TEST40P/FB_TEST_EVE99'    " Function module name                            
    function_pool                 = 'CRAS1'  "Function group name                                                 
*   INTERFACE_GLOBAL              = ' '                                                     
*   REMOTE_CALL                   = ' '                                                     
    short_text                    = 'TEST Anlage FB'       "Shorttext from the Function module                                 
   suppress_corr_check           = ' '              " To supress any request for Transport reuqest  popup                                                  
   update_task                   = '1'                                                      
*   corrnum                       = 'B20K8A0V3F'                                            
   namespace                     = '/TEST40P/'   " This is optional and used to supply the namespace                                            
*   suppress_language_check       = 'X'                                                     
*   AUTHORITY_CHECK               = 'X'                                                     
*    save_active                   = ' '                                                    
    new_source                    = it_report[]   " If alreayd existing FM new source code for it                                           
* IMPORTING                                                                                
*   FUNCTION_INCLUDE              =      " Function module include that gets generated                                                   
*   CORRNUM_E                     =                                                         
 tables                                                                                
import_parameter              = if_import     " Function moduels import paramters                                           
   export_parameter              = if_export     " export paramters                                           
   tables_parameter              = if_tables     " Tables parameteers of the FM to be generated                                           
   changing_parameter            = if_change    "changing parameters                                            
   exception_list                = if_except        " Exception list                                        
   parameter_docu                = if_docu_tab   " Documentation of the paramters                                           
*   SOURCE                        =  " Table containing the Source code of the FM to be generated                                                        
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2007 09:22:50 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-08-10T09:22:50Z</dc:date>
    <item>
      <title>Is it possible to create a Functional module dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722487#M631611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any one know whether is it possible to create a FM dynamically and write some code in it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 09:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722487#M631611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T09:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create a Functional module dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722488#M631612</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;Yes it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this FM to create a function module on the fly programatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RS_FUNCTIONMODULE_INSERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example &lt;/P&gt;&lt;P&gt;Here an example how to call it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call function 'RS_FUNCTIONMODULE_INSERT'                                                    
  exporting                                                                                
funcname                      = '/TEST40P/FB_TEST_EVE99'                                
    function_pool                 = 'CRAS1'                                                 
*   INTERFACE_GLOBAL              = ' '                                                     
*   REMOTE_CALL                   = ' '                                                     
    short_text                    = 'TEST Anlage FB'                                        
   suppress_corr_check           = ' '                -----------------&amp;gt; means with transport popup                                                  
   update_task                   = '1'                                                      
*   corrnum                       = 'B20K8A0V3F'                                            
   namespace                     = '/TEST40P/'                                              
*   suppress_language_check       = 'X'                                                     
*   AUTHORITY_CHECK               = 'X'                                                     
*    save_active                   = ' '                                                    
    new_source                    = it_report[]                                             
* IMPORTING                                                                                
*   FUNCTION_INCLUDE              =                                                         
*   CORRNUM_E                     =                                                         
 tables                                                                                
import_parameter              = if_import                                                
   export_parameter              = if_export                                                
   tables_parameter              = if_tables                                                
   changing_parameter            = if_change                                                
   exception_list                = if_except                                                
   parameter_docu                = if_docu_tab                                              
*   SOURCE                        =                                                         
 exceptions                                                                                
double_task                   = 1                                                        
   error_message                 = 2                                                        
   function_already_exists       = 3                                                        
   invalid_function_pool         = 4                                                        
   invalid_name                  = 5                                                        
   too_many_functions            = 6                                                        
   no_modify_permission          = 7                                                        
   no_show_permission            = 8                                                        
   enqueue_system_failure        = 9                                                        
   canceled_in_corr              = 10                                                       
   others                        = 11.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 09:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722488#M631612</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-10T09:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create a Functional module dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722489#M631613</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;Could you please explain me a little bit about parameters.&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;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 09:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722489#M631613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T09:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create a Functional module dynamically?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722490#M631614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have given comments for most used paramters&lt;/P&gt;&lt;P&gt;you can get the type of the parameters from SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 exporting                                                                                
funcname                      = '/TEST40P/FB_TEST_EVE99'    " Function module name                            
    function_pool                 = 'CRAS1'  "Function group name                                                 
*   INTERFACE_GLOBAL              = ' '                                                     
*   REMOTE_CALL                   = ' '                                                     
    short_text                    = 'TEST Anlage FB'       "Shorttext from the Function module                                 
   suppress_corr_check           = ' '              " To supress any request for Transport reuqest  popup                                                  
   update_task                   = '1'                                                      
*   corrnum                       = 'B20K8A0V3F'                                            
   namespace                     = '/TEST40P/'   " This is optional and used to supply the namespace                                            
*   suppress_language_check       = 'X'                                                     
*   AUTHORITY_CHECK               = 'X'                                                     
*    save_active                   = ' '                                                    
    new_source                    = it_report[]   " If alreayd existing FM new source code for it                                           
* IMPORTING                                                                                
*   FUNCTION_INCLUDE              =      " Function module include that gets generated                                                   
*   CORRNUM_E                     =                                                         
 tables                                                                                
import_parameter              = if_import     " Function moduels import paramters                                           
   export_parameter              = if_export     " export paramters                                           
   tables_parameter              = if_tables     " Tables parameteers of the FM to be generated                                           
   changing_parameter            = if_change    "changing parameters                                            
   exception_list                = if_except        " Exception list                                        
   parameter_docu                = if_docu_tab   " Documentation of the paramters                                           
*   SOURCE                        =  " Table containing the Source code of the FM to be generated                                                        
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 09:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-create-a-functional-module-dynamically/m-p/2722490#M631614</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-10T09:22:50Z</dc:date>
    </item>
  </channel>
</rss>

