<?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: driver program for smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648905#M1094072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Continue doing your changes in ZRETAIL_INVOICE using the transaction SMARTFORMS. Don't do the changes in /1BCDWB/SF00000005 because that's a MANDT dependant name, so when you later transport the order, the changes don't carry across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, there's no guarantee that in another mandt /1BCDWB/SF00000005 will still be called /1BCDWB/SF00000005, so there's no point in making changes to it. If you do the changes to ZRETAIL_INVOICE they will be shown in this mandt as /1BCDWB/SF00000005, but you don't know how they will be called when you transport it. That's why you need to call SSF_FUNCTION_MODULE_NAME in your code and call the smartform with the name resulting from that function call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2008 13:37:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-15T13:37:55Z</dc:date>
    <item>
      <title>driver program for smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648900#M1094067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear gurus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My smartform name is zretail_invoice&lt;/P&gt;&lt;P&gt;when executed it gives the function module /1BCDWB/SF00000005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program i callef function ssf_function_module_name &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                 = 'ZRETAIL_INVOICE'&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;  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;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and again i called the function module /1BCDWB/SF00000005&lt;/P&gt;&lt;P&gt;it calls the smartform now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i do changes in that it's not accepting...&lt;/P&gt;&lt;P&gt;let me help that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 12:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648900#M1094067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T12:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: driver program for smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648901#M1094068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we need to use both the function modules ; i.e.the function module which is generated and SSF_function module also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are you trying to tell? i dint get you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 12:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648901#M1094068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T12:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: driver program for smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648902#M1094069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, I suggest you to make the changes in smartform transaction and not in the FM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this sample code to call the smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname           = 'Z_BOOK'
    IMPORTING
      fm_name            = l_smart_name
    EXCEPTIONS
      no_form            = 1
      no_function_module = 2
      OTHERS             = 3.

  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid
    TYPE sy-msgty
    NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

  CALL FUNCTION l_smart_name
    TABLES
      tab_smart        = it_table
    EXCEPTIONS
      formatting_error = 1
      internal_error   = 2
      send_error       = 3
      user_canceled    = 4
      OTHERS           = 5.

  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid
    TYPE sy-msgty
    NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 12:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648902#M1094069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T12:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: driver program for smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648903#M1094070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you call sencond function module instead of /1BCDWB/SF00000005 use variable FM_NAME.&lt;/P&gt;&lt;P&gt;i.e CALL FUNCTION FM_NAME.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 12:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648903#M1094070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T12:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: driver program for smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648904#M1094071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;partially solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 13:26:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648904#M1094071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T13:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: driver program for smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648905#M1094072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Continue doing your changes in ZRETAIL_INVOICE using the transaction SMARTFORMS. Don't do the changes in /1BCDWB/SF00000005 because that's a MANDT dependant name, so when you later transport the order, the changes don't carry across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, there's no guarantee that in another mandt /1BCDWB/SF00000005 will still be called /1BCDWB/SF00000005, so there's no point in making changes to it. If you do the changes to ZRETAIL_INVOICE they will be shown in this mandt as /1BCDWB/SF00000005, but you don't know how they will be called when you transport it. That's why you need to call SSF_FUNCTION_MODULE_NAME in your code and call the smartform with the name resulting from that function call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2008 13:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/driver-program-for-smartform/m-p/4648905#M1094072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-15T13:37:55Z</dc:date>
    </item>
  </channel>
</rss>

