<?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/1446719#M211943</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 have to pass the values form the calling program. then you can use them in smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare variables in 'FORM INTERFACE'. and pass these from calling program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
       EXPORTING
            formname           = 'ZWA_FI_AG'
       IMPORTING
            fm_name            = fm_name
       EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.

  IF sy-subrc &amp;lt;&amp;gt; 0.
*   &amp;lt;error handling&amp;gt;
  ENDIF.

  CALL FUNCTION fm_name

    TABLES

      itab_post                     = itab_post.&lt;/CODE&gt;&lt;/PRE&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;Wasim Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2006 05:20:54 GMT</pubDate>
    <dc:creator>dani_mn</dc:creator>
    <dc:date>2006-07-17T05:20:54Z</dc:date>
    <item>
      <title>smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446716#M211940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Can you please explain how to upload the data in smart forms.Case is, I have to get the value of document number for a particular g/l account and where to write the conditions,declarations,constants.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:13:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446716#M211940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T05:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446717#M211941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u  have  to make  the driver  program  or that  where  u  capture  all  the require  value  in interna table ....&lt;/P&gt;&lt;P&gt;and   rpint  the   smartform.&lt;/P&gt;&lt;P&gt;paas  this  internal table  to smartform  and  display  value  a  ur required format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attech  smartform and  driver  programm to output  type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446717#M211941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T05:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446718#M211942</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; Go through the link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_srm40/helpdata/en/c9/452f2d33ca11d5b697006094192fe3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_srm40/helpdata/en/c9/452f2d33ca11d5b697006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446718#M211942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T05:19: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/1446719#M211943</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 have to pass the values form the calling program. then you can use them in smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare variables in 'FORM INTERFACE'. and pass these from calling program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
       EXPORTING
            formname           = 'ZWA_FI_AG'
       IMPORTING
            fm_name            = fm_name
       EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.

  IF sy-subrc &amp;lt;&amp;gt; 0.
*   &amp;lt;error handling&amp;gt;
  ENDIF.

  CALL FUNCTION fm_name

    TABLES

      itab_post                     = itab_post.&lt;/CODE&gt;&lt;/PRE&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;Wasim Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446719#M211943</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-07-17T05:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446720#M211944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to select the value of the document number from the database table in an internal table in the print program.In that print program you will have to call your smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the form you have to create windows for displaying the values.There is condition tab in the smartform window there you can put the conditions.In types tab of the smartform you can declare all your types and the internal table.Constants you can declare in the global definitions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446720#M211944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T05:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446721#M211945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what are all I have to do in print program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446721#M211945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T05:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446722#M211946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do one two things in the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Select the record from the database tables to the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Call smartform and pass your internal tables in the tables parameter of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest will be done in the smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT matnr &lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE i_mseg&lt;/P&gt;&lt;P&gt;         FROM mseg&lt;/P&gt;&lt;P&gt;         WHERE mblnr = wa_mkpf-mblnr.&lt;/P&gt;&lt;P&gt;DATA : g_fm_name TYPE rs38l_fnam,&lt;/P&gt;&lt;P&gt;       g_form TYPE tdsfname VALUE 'ZPRINT',&lt;/P&gt;&lt;P&gt;         g_output  TYPE ssfcompop,&lt;/P&gt;&lt;P&gt;         g_control TYPE ssfctrlop.&lt;/P&gt;&lt;P&gt; LOOP AT i_mseg INTO wa_mseg.&lt;/P&gt;&lt;P&gt;*Calling Smartform&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           = g_form&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        fm_name            = g_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 g_fm_name&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          control_parameters = g_control&lt;/P&gt;&lt;P&gt;          output_options     = g_output&lt;/P&gt;&lt;P&gt;          user_settings      = ' '&lt;/P&gt;&lt;P&gt;          g_matnr            = wa_mseg-matnr&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;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write this code in the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the form create a window,in the text element write &amp;amp;wa_mseg-matnr&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: mukesh kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446722#M211946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T05:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446723#M211947</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;1. Select the required data from Table and have it in ITAB.&lt;/P&gt;&lt;P&gt;2. Pass this Itab to the smartform thru SSF_Function_module_name&lt;/P&gt;&lt;P&gt;3.In trhe smartform get this itab by initialing in the Form interface.&lt;/P&gt;&lt;P&gt;4.Display this Itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 05:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/1446723#M211947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-17T05:33:17Z</dc:date>
    </item>
  </channel>
</rss>

