<?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: smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191499#M467226</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;using Kartavya Kaushik 's method u can get FM name in program and then call function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2007 07:03:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-27T07:03:34Z</dc:date>
    <item>
      <title>smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191495#M467222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created one smartform and I want to call that form through Zprogram. How I will call that form. Anybody can give me code for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 06:58:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191495#M467222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T06:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191496#M467223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the FM SSF_FUNCTION_MODULE_NAME in ur program&lt;/P&gt;&lt;P&gt;and pass on the value of ur smartform in lf_formname.&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  formname           = lf_formname&lt;/P&gt;&lt;P&gt;         IMPORTING  fm_name            = lf_fm_name&lt;/P&gt;&lt;P&gt;         EXCEPTIONS 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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 07:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191496#M467223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T07:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191497#M467224</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 simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after activation then Smartform, u will get a FM name ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur pprogram simply run that FM like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SF_FM_NAME'.&lt;/P&gt;&lt;P&gt;parameters...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like normal funciton...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it helps....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 07:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191497#M467224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T07:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191498#M467225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;When you create a smartform a function module will be generated. You can call this function module using CALL FUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you could use the SSF_FUNCTION_MODULE_NAME where you can pass the smartform name and get the function module name generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer &lt;A href="https://wiki.sdn.sap.com/wiki/display/ABAP/Smartforms" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/ABAP/Smartforms&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Wenceslaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 07:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191498#M467225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T07:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191499#M467226</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;using Kartavya Kaushik 's method u can get FM name in program and then call function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 07:03:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191499#M467226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T07:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191500#M467227</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;chk this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_control_parameters TYPE ssfctrlop. "occurs 0 with header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_output_options-TDCOPIES = 3. "number of copies.&lt;/P&gt;&lt;P&gt;p_output_options-tddest = 'LP01'. "def&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_control_parameters-no_dialog = 'X'. "no dilog box&lt;/P&gt;&lt;P&gt;p_control_parameters-preview = 'X'. "no preview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : v_form_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;P&gt;formname = 'Z_PETS_CIL_DOCUMENT_DETAILS'&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 = v_form_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;&lt;/P&gt;&lt;P&gt;CALL FUNCTION v_form_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;/UL&gt;&lt;P&gt;control_parameters = p_control_parameters&lt;/P&gt;&lt;UL&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;/UL&gt;&lt;P&gt;output_options = p_output_options&lt;/P&gt;&lt;P&gt;user_settings = ' '&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;in_cashinlieu = int_cil-cashinlieu&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;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;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;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 07:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191500#M467227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T07:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191501#M467228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abahay,&lt;/P&gt;&lt;P&gt;                call the fisrt FM written below.pass the smart form name and get the smartform function name.then call that smartformsFM that u got from first function. &lt;/P&gt;&lt;P&gt;use this piece of code in ur program&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;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     FM_NAME                  = P_FUNCTION&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 P_FUNCTION&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&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_INDEX_TAB          =&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;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;      D_VBRK                     = IT_VBRK&lt;/P&gt;&lt;P&gt;      D_VBRP                     = IT_VBRP&lt;/P&gt;&lt;P&gt;      D_LIKP                       = IT_LIKP&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 07:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191501#M467228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T07:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191502#M467229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;First u need to call the function module SSF_FUNCTION_MODULE_NAME&lt;/P&gt;&lt;P&gt;By exporting formname and u have to import the name of the func. Module.&lt;/P&gt;&lt;P&gt;Next u have to call this func. Module by passing the internal tables, variables&lt;/P&gt;&lt;P&gt;Which has values.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 08:58:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2191502#M467229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T08:58:10Z</dc:date>
    </item>
  </channel>
</rss>

