<?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: script and smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763045#M905353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If we create a script in one client, that script is present in that client only it is not available in other client. Suppose you make any changes to a script in that client, you cannot view the change in other clients. You have to copy it to the client number you need and then view.--Client dependant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of smartforms, you create a smartform or make changes to a smartform in one client, it is available across all clients same time.--Client independant.&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;Amrita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 09:22:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T09:22:50Z</dc:date>
    <item>
      <title>script and smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763043#M905351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;why script is client dependent and smartform client independent&lt;/P&gt;&lt;P&gt;please tell me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 10:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763043#M905351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T10:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: script and smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763044#M905352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scripts are Client Dependent bcoz client dependent objects r those objects whose  records &lt;/P&gt;&lt;P&gt;entered in one client for a client dependent table the same &lt;/P&gt;&lt;P&gt;record is not visible for in any other client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPscript are CLient Dependent, SmartForms are Client Independent. The reason why SmartForms are client independent is because when you activate a SMartForm, SAP actually generates a Function Module (which as you know is client independent). The Print Program (or as SAP likes to refer to them these days - Application Program) calls your generated FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "smartforms" transaction, when you are viewing a smartform, you can go to the Environment-&amp;gt;Function Module Name menu path to see the FM name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the "Application Program" for the Invoice SmartForm (RLB_INVOICE):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;determine smartform function module for invoice &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;&lt;/P&gt;&lt;P&gt;variant = ' ' &lt;/P&gt;&lt;P&gt;direct_call = ' ' &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;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call smartform invoice &lt;/P&gt;&lt;P&gt;CALL FUNCTION lf_fm_name&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;archive_index = toa_dara&lt;/P&gt;&lt;P&gt;archive_parameters = arc_params&lt;/P&gt;&lt;P&gt;control_parameters = ls_control_param&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mail_appl_obj = &lt;/P&gt;&lt;P&gt;mail_recipient = ls_recipient&lt;/P&gt;&lt;P&gt;mail_sender = ls_sender&lt;/P&gt;&lt;P&gt;output_options = ls_composer_param&lt;/P&gt;&lt;P&gt;user_settings = space&lt;/P&gt;&lt;P&gt;is_bil_invoice = ls_bil_invoice&lt;/P&gt;&lt;P&gt;is_nast = nast&lt;/P&gt;&lt;P&gt;is_repeat = repeat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;importing document_output_info = &lt;/P&gt;&lt;P&gt;job_output_info = &lt;/P&gt;&lt;P&gt;job_output_options = &lt;/P&gt;&lt;P&gt;EXCEPTIONS 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;[/code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sagar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me points if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 10:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763044#M905352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T10:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: script and smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763045#M905353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If we create a script in one client, that script is present in that client only it is not available in other client. Suppose you make any changes to a script in that client, you cannot view the change in other clients. You have to copy it to the client number you need and then view.--Client dependant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of smartforms, you create a smartform or make changes to a smartform in one client, it is available across all clients same time.--Client independant.&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;Amrita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 09:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763045#M905353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T09:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: script and smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763046#M905354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Sapscripts are saved in ITF format as text in client dependant tables STXH and STXL. smartforms are not saved in client dependant tables and visible across clients.&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;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 10:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script-and-smartform/m-p/3763046#M905354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T10:35:41Z</dc:date>
    </item>
  </channel>
</rss>

