<?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: SMARTFORMS: how to pass a parameter ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206673#M472119</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;&lt;/P&gt;&lt;P&gt;just copy the function module name by executing the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call that function module using pattern in the ABAP editor, u will get the interface parameters to be passed to the function module.&lt;/P&gt;&lt;P&gt;Just pass the required parameters to the function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2007 06:21:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-01T06:21:12Z</dc:date>
    <item>
      <title>SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206668#M472114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can we pass a parameter through the ABAP program to smartform,the parameter is in the form interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sachin soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206668#M472114</guid>
      <dc:creator>sachin_soni</dc:creator>
      <dc:date>2007-05-01T06:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206669#M472115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOTO &amp;lt;b&amp;gt;Global settings -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; Form interface&amp;lt;/b&amp;gt; double-click in this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add your own parameter interfaces...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward all helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206669#M472115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206670#M472116</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;Declare that variable in the &amp;lt;b&amp;gt;FORM INTERFACE&amp;lt;/b&amp;gt; of the Smartform, with a &amp;lt;b&amp;gt;dictionary reference or with predefined data type&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when u call the FM of this smartform in ur program u will get this parameter as export parameter of the Function module.. here u can give the value or the variable which contains the required value ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206670#M472116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206671#M472117</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;as the required parameter is already specified in the form interface, u just need to call the function module generated by the form.&lt;/P&gt;&lt;P&gt;u can pass the parameter to that function module in the ABAP program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:14:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206671#M472117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206672#M472118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gentlemen i think u did not undertood wat i said:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to do it on the form side but i need the wayout in print program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz let me know the soln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206672#M472118</guid>
      <dc:creator>sachin_soni</dc:creator>
      <dc:date>2007-05-01T06:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206673#M472119</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;&lt;/P&gt;&lt;P&gt;just copy the function module name by executing the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call that function module using pattern in the ABAP editor, u will get the interface parameters to be passed to the function module.&lt;/P&gt;&lt;P&gt;Just pass the required parameters to the function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206673#M472119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206674#M472120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the SAP SMARTFORMS, in the global settings we can add fields to the form interface, from the print program, we can call the generated function module from the SE38 programs, there we can pass the parameters. if you have put the field in the import of the form interface, then in the se38 function module that will become export parameters&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206674#M472120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206675#M472121</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;First activate the smartform. and then Goto   ENVIRONMENT --&amp;gt; Funtion module.&lt;/P&gt;&lt;P&gt;you will get a function module name in a window as information message...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copy that function module name and .. go to SE38.. create a program ..&lt;/P&gt;&lt;P&gt;Create a variable which is of same type as u declared in FORM INTERFACE.. !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give some value to it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use the PATTERN button to call the function module ..&lt;/P&gt;&lt;P&gt;call the function module that u have copied there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in EXPORT parameters of the function module.. u can see that parameter defined in Form interface.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now assign the variable that u have defined in the program to this parameter.. this value will be passed to the smartform .. thats it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when u want to print the value of this variable in SMARTFORM u should not write(hardcode) the name of this variable.. but u need to use the Drag an Drop property here !!&lt;/P&gt;&lt;P&gt;hope u know abt this !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all helpful answers !!  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:29:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206675#M472121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206676#M472122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I have understood ur query, I believe you want a ready made interface written out saying Importing -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;   Exporting -&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can call the function mentioned below first:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&amp;lt;/b&amp;gt;&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;&lt;/P&gt;&lt;P&gt;This would find out which function module your smartform runs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There after we call the function module like this  without mentioning the name of the function module :&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;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;But who is to write all the lengthy interface.. So we act smart and go to 'PATTERN'&lt;/P&gt;&lt;P&gt;in the editor and this would give u somethign like this:&amp;lt;/b&amp;gt;CALL FUNCTION 'function name abc'&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;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just delete tht name of function module written there say abc and write fname in place .&lt;/P&gt;&lt;P&gt;How to find out the name of the function module i guess by now you would have to come to  know from 'environment'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;or go to smartform of yours and execute by F8..se37 opens with the name of the function module&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also refer to this for the full picture:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful buddy !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shweta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        shweta  soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206676#M472122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206677#M472123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS EVERYONE !,sudheer understood my problem and that particular requirement is done now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206677#M472123</guid>
      <dc:creator>sachin_soni</dc:creator>
      <dc:date>2007-05-01T06:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: SMARTFORMS: how to pass a parameter ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206678#M472124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEY SHWETA I LIKE UR STYLE AND THATS WHY U GET THE POINTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-how-to-pass-a-parameter/m-p/2206678#M472124</guid>
      <dc:creator>sachin_soni</dc:creator>
      <dc:date>2007-05-01T06:48:57Z</dc:date>
    </item>
  </channel>
</rss>

