<?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: ssf_function _ module _name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981749#M703971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FM_NAME            TYPE RS38L_FNAM.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your formular&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;lt;b&amp;gt;    FORMNAME           = 'Z_TEST'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    FM_NAME            = FM_NAME&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    NO_FORM            = 1&lt;/P&gt;&lt;P&gt;    NO_FUNCTION_MODULE = 2&lt;/P&gt;&lt;P&gt;    OTHERS             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION FM_NAME&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* look in the FM via se37&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* look in the FM via se37&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      FORMATTING_ERROR   = 1&lt;/P&gt;&lt;P&gt;      INTERNAL_ERROR     = 2&lt;/P&gt;&lt;P&gt;      SEND_ERROR         = 3&lt;/P&gt;&lt;P&gt;      USER_CANCELED      = 4&lt;/P&gt;&lt;P&gt;      OTHERS             = 5.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2007 13:09:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-26T13:09:30Z</dc:date>
    <item>
      <title>ssf_function _ module _name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981745#M703967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus&lt;/P&gt;&lt;P&gt;i have detsiled functiuonality of this FM     ssf_function _ module _name&lt;/P&gt;&lt;P&gt;what are the parameters passed to it in details&lt;/P&gt;&lt;P&gt;try to send ASAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;baskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 12:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981745#M703967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T12:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: ssf_function _ module _name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981746#M703968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply look at the parameters of this function module via SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 12:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981746#M703968</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-10-26T12:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: ssf_function _ module _name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981747#M703969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say i have a program in which I have called the smartform in direct method by using the function module generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I change that smartform so much, sometimes a new function module will be generated. or if I delete that smartform and create a new one with same name, a new function module will be generated. Then I need to go and change all programs that call this smartform directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the two step process, it is not necessary. Everytime the function module related to a smart form changes, the SSF_FUNCTION_MODULE_NAME fetches the latest. So we dont need to update our report programs each time we manipulate the smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FORMNAME = '&amp;lt;form name&amp;gt;'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;FM_NAME = fm_name&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;NO_FORM = 1&lt;/P&gt;&lt;P&gt;NO_FUNCTION_MODULE = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this Smartforms steps document.&lt;/P&gt;&lt;P&gt;&lt;A href="http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html" target="test_blank"&gt;http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html&lt;/A&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;refer program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_phone(10) type n.&lt;/P&gt;&lt;P&gt;v_po_no type ekpo-ebeln.&lt;/P&gt;&lt;P&gt;data it_itab type standard table of ekpo with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : po_no like v_po_no,&lt;/P&gt;&lt;P&gt;p_form type tdsfname.&lt;/P&gt;&lt;P&gt;data fm_name type rs38l_fnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ekpo into table it_itab&lt;/P&gt;&lt;P&gt;where ebeln = po_no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*'/1BCDWB/SF00000184'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;formname = p_form&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VARIANT = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DIRECT_CALL = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;fm_name = fm_name&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;no_form = 1&lt;/P&gt;&lt;P&gt;no_function_module = 2&lt;/P&gt;&lt;P&gt;others = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function fm_name&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX = ARCHIVE_INDEX&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX_TAB = ARCHIVE_INDEX_TAB&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_PARAMETERS = ARCHIVE_PARAMETERS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CONTROL_PARAMETERS = CONTROL_PARAMETERS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_APPL_OBJ = MAIL_APPL_OBJ&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_RECIPIENT = MAIL_RECIPIENT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_SENDER = MAIL_SENDER&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OUTPUT_OPTIONS = OUTPUT_OPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_SETTINGS = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;date = sy-datum&lt;/P&gt;&lt;P&gt;phone = v_phone&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DOCUMENT_OUTPUT_INFO = DOCUMENT_OUTPUT_INFO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_INFO = JOB_OUTPUT_INFO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;it_itab = it_itab&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;formatting_error = 1&lt;/P&gt;&lt;P&gt;internal_error = 2&lt;/P&gt;&lt;P&gt;send_error = 3&lt;/P&gt;&lt;P&gt;user_canceled = 4&lt;/P&gt;&lt;P&gt;others = 5&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 12:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981747#M703969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T12:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: ssf_function _ module _name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981748#M703970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;U just follow the link&lt;/P&gt;&lt;P&gt;u can get more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html" target="test_blank"&gt;http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;usha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 13:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981748#M703970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: ssf_function _ module _name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981749#M703971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FM_NAME            TYPE RS38L_FNAM.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Your formular&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;lt;b&amp;gt;    FORMNAME           = 'Z_TEST'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    FM_NAME            = FM_NAME&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    NO_FORM            = 1&lt;/P&gt;&lt;P&gt;    NO_FUNCTION_MODULE = 2&lt;/P&gt;&lt;P&gt;    OTHERS             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION FM_NAME&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* look in the FM via se37&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* look in the FM via se37&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      FORMATTING_ERROR   = 1&lt;/P&gt;&lt;P&gt;      INTERNAL_ERROR     = 2&lt;/P&gt;&lt;P&gt;      SEND_ERROR         = 3&lt;/P&gt;&lt;P&gt;      USER_CANCELED      = 4&lt;/P&gt;&lt;P&gt;      OTHERS             = 5.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 13:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981749#M703971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T13:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: ssf_function _ module _name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981750#M703972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;some more info about that function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Integrating the Smart Form into the Application&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;You trigger form printing by calling only two function modules. The first module uses the name of the form to determine the name of the generated function module. Then you call this module.&lt;/P&gt;&lt;P&gt;The name of the generated function module is unique only within one system.&lt;/P&gt;&lt;P&gt;Therefore, you must always call the function module first that uses the form name to determine the current name of the generated module.&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;You defined the form interface in your form and activated the form.&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;1. In the Form Builder call the function Environment -&amp;gt; Name of the function module and use STRG-Y and STRG-C to copy its name.&lt;/P&gt;&lt;P&gt;2. In the data retrieval program define a variable of type rs281_fnam for the name of the generated function module:&lt;/P&gt;&lt;P&gt;data fm_name type rs38l_fnam.&lt;/P&gt;&lt;P&gt;You can call the Smart Form in other parts of the application program as well.&lt;/P&gt;&lt;P&gt;However, in this case you must make sure that the system can access the data to be passed from that place. We recommend to encapsulate the data retrieval in a&lt;/P&gt;&lt;P&gt;function module as well.&lt;/P&gt;&lt;P&gt;3. If desired, you can call the function module SSF_FIELD_LIST. It returns a list of the form parameters actually used in the form. You can use this information to limit data selection, if necessary.&lt;/P&gt;&lt;P&gt;4. Call function module SSF_FUNCTION_MODULE_NAME. It returns the name of the generated&lt;/P&gt;&lt;P&gt;function module:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FORMNAME = '&amp;lt;form name&amp;gt;'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;FM_NAME = fm_name&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;NO_FORM = 1&lt;/P&gt;&lt;P&gt;NO_FUNCTION_MODULE = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&amp;lt;error handling&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;5. Call the generated function module. To do this, use the Insert statement function for CALL FUNCTION in the ABAP Editor and use the name you copied in step 1. (to avoid having to copy all interface parameters manually). Then replace the function module name with the variable fm_name defined in step 2.&lt;/P&gt;&lt;P&gt;CALL FUNCTION fm_name&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_PARAMETERS =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CONTROL_PARAMETERS =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_APPL_OBJ =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_RECIPIENT =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_SENDER =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OUTPUT_OPTIONS =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_SETTINGS = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;G_CARRID = &amp;lt;variable&amp;gt;&lt;/P&gt;&lt;P&gt;G_CONNID = &amp;lt;variable&amp;gt;&lt;/P&gt;&lt;P&gt;G_FLDATE = &amp;lt;variable&amp;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;LI level="1" type="ul"&gt;&lt;P&gt;DOCUMENT_OUTPUT_INFO =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_INFO =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_OPTIONS =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;GT_SBOOK = &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;FORMATTING_ERROR = 1&lt;/P&gt;&lt;P&gt;INTERNAL_ERROR = 2&lt;/P&gt;&lt;P&gt;SEND_ERROR = 3&lt;/P&gt;&lt;P&gt;USER_CANCELED = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&amp;lt;error handling&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;In this example, three variables and an internal table are passed. The parameters&lt;/P&gt;&lt;P&gt;G_CARRID, G_CONNID, G_FLDATA, and GT_SBOOK have been defined before in the form interface.&lt;/P&gt;&lt;P&gt;6. In the interface pass all data you want to transfer to the form.&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;The generated function module processes the form logic defined in the Smart Form. Its output is sent to the printer spool for processing.&lt;/P&gt;&lt;P&gt;As long as you do not change the form interface, you can make any changes to the form. When you activate it again, the system generates the current version of the form as soon as you call the function module. Only if you change the form interface, you must adapt the interface in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Usha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 13:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ssf-function-module-name/m-p/2981750#M703972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T13:09:57Z</dc:date>
    </item>
  </channel>
</rss>

