<?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 - Input &amp; Output Parameters of Program Lines in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438124#M1739981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shelwin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in smartform's generally you will be getting some sort of input from &lt;STRONG&gt;drive program&lt;/STRONG&gt; or from &lt;STRONG&gt;global data-initialization,&lt;/STRONG&gt; Depending on the input You will write custom logic according to the requirement of which you have print on form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the input fields/variables which are required to write custom logic are written in &lt;STRONG&gt;input parameters &lt;/STRONG&gt; and fields/variables which has to be changed or updated or newly inserted are to be written in &lt;STRONG&gt;output parameters&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; here &lt;STRONG&gt;gw_ekko-bukrs&lt;/STRONG&gt; is the input coming from work area &lt;STRONG&gt;gw_ekko &lt;/STRONG&gt;and &lt;STRONG&gt;gw_j_tmocomp&lt;/STRONG&gt; is the output field to be pretend in form.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/224237" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 May 2013 10:51:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-30T10:51:29Z</dc:date>
    <item>
      <title>SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438109#M1739966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I create a program line in my form, I need to add Input Parameters and Output Parameters in its General Attributes tab. I want to know what the standard of filling this two kinds of parameters is. Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 02:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438109#M1739966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T02:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438110#M1739967</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 can search for this on Google instead of asking this on SCN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 05:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438110#M1739967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T05:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438111#M1739968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried but unfortunately didn't get appropriate answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 05:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438111#M1739968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T05:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438112#M1739969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will appreciate it if you could tell me the answer.&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1495/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 05:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438112#M1739969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T05:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438113#M1739970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;program lines is to do your custom logic or any other requirement in it. Basically you enter what value you going to read in the input parameters and what is the value you going to change/update in the export parameters...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 06:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438113#M1739970</guid>
      <dc:creator>surajarafath</dc:creator>
      <dc:date>2013-05-30T06:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438114#M1739971</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;When you are creating a SMARTFORM, a function module wil be generated for it. A program line will be correspond to a form routine in your generated Function Module.&lt;/P&gt;&lt;P&gt;This program line can have Input and Output Parameters. You have to put in the input your global data from your SF you want to use in those lines. In the output simply put the same variables you put in the input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sam&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/224105" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 06:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438114#M1739971</guid>
      <dc:creator>former_member300076</dc:creator>
      <dc:date>2013-05-30T06:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438115#M1739972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sam! Thank you for your answer! But I can't understand why "In the output simply put the same variables you put in the input". Is it necessary that I copy &lt;STRONG&gt;all&lt;/STRONG&gt; parameters of Input Parameters to Output Parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 07:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438115#M1739972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T07:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438116#M1739973</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;Not necessarily , you have to put in the output only the variables that have been modified in your program line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 08:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438116#M1739973</guid>
      <dc:creator>former_member300076</dc:creator>
      <dc:date>2013-05-30T08:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438117#M1739974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Input parameters are will have data and output parameters will have the changed data for the smartform . Those are global variables which we can declare in Global Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can declare local variables also inside the program lines using DATA keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 08:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438117#M1739974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438118#M1739975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shelwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Program lines code, u need to have parameters as input and whatever processing u do, u can get them as output.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 pseudo codes below for your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A = 10. ( Global Variable as Input )&lt;/P&gt;&lt;P&gt;Add 10 to A.&lt;/P&gt;&lt;P&gt;Write A ( output )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**********************************&lt;/P&gt;&lt;P&gt;A = 10. ( Global Variable as Input )&lt;/P&gt;&lt;P&gt;Add 10 to A.&lt;/P&gt;&lt;P&gt;B = A.&lt;/P&gt;&lt;P&gt;Write B ( output )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert in case of issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Vivek &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438118#M1739975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T09:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438119#M1739976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Shelwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not necessary to have all the input parameters copied in the output parameters. Think of these like your import and export parameters. Since the program lilnes will create a local environment which can access variables and data present/defined inside the program lines. If you wish to access your global data in these program lines, then you need to define those in input parameters. Similarly, if you want to return your data from local environment to global, u need to define them in the output parameters. For, Eg, you based on the Material Number you want to check for some condition in ZABCD table. If condition is true you want to set V_FLAG 'X' else 'Y'. To access Material number inside program lines you will define V_MATNR(global variable) in the input parameters. Inside the program line you will select the data from ZABCD and according to condition set V_FLAG (this is global variable). Now this value wioll be reflected in the rest of the smartform only if you define this variable in the output parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clears your doubts.&lt;/P&gt;&lt;P&gt;Please revert if otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438119#M1739976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T09:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438120#M1739977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sam &amp;amp; Vivek &amp;amp; Deepak!&lt;/P&gt;&lt;P&gt;Sometimes I only put the global variable which is modified in the program line to the Input Parameters.&lt;/P&gt;&lt;P&gt;As is the same to Vivek's second pseudo code and illustrated below, the global variable &lt;EM&gt;gt_item&lt;/EM&gt; is modified by sorting but is not listed in Output Parameters. And it works! That is, sorted &lt;EM&gt;gt_item&lt;/EM&gt; is reflected in the rest of smartform! I thought &lt;EM&gt;gt_item&lt;/EM&gt; should be listed in Output Parameters. Could you tell me why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/224173" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438120#M1739977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T09:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438121#M1739978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello shelwin,&lt;/P&gt;&lt;P&gt;In program line we normally do our coding in with in the sf .in&amp;nbsp; Input Parameters we need to provid the vale which are going to use with in this programe line (like input value)and after any changes we need to show that value in some text node or in other way those fields are in output paramentr.&lt;/P&gt;&lt;P&gt;eg-if i select material text from mara,i need to pass Matnr as my input to the select qury so here in inputpara pass tablename-martnr and in output use internal tablename-maktx.if u not pass the correct input and output parameter its ll show syntex error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438121#M1739978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T09:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438122#M1739979</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;Though you must have got your answer till now, still for your reference please visit the below link. This will definetely give you a better idea. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1495/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/a3/80bae8dfd911d3b576006094192fe3/content.htm"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/a3/80bae8dfd911d3b576006094192fe3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://saptechnical.com/Tutorials/Smartforms/GlobalDefinitions/Define.htm"&gt;http://saptechnical.com/Tutorials/Smartforms/GlobalDefinitions/Define.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 09:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438122#M1739979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T09:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438123#M1739980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Shelwin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please check there is up-down arrow key next to the parameters field. you can only see two parameters but there can be more which you can see by scrolling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check and confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;DN,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 10:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438123#M1739980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T10:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438124#M1739981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shelwin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in smartform's generally you will be getting some sort of input from &lt;STRONG&gt;drive program&lt;/STRONG&gt; or from &lt;STRONG&gt;global data-initialization,&lt;/STRONG&gt; Depending on the input You will write custom logic according to the requirement of which you have print on form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the input fields/variables which are required to write custom logic are written in &lt;STRONG&gt;input parameters &lt;/STRONG&gt; and fields/variables which has to be changed or updated or newly inserted are to be written in &lt;STRONG&gt;output parameters&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; here &lt;STRONG&gt;gw_ekko-bukrs&lt;/STRONG&gt; is the input coming from work area &lt;STRONG&gt;gw_ekko &lt;/STRONG&gt;and &lt;STRONG&gt;gw_j_tmocomp&lt;/STRONG&gt; is the output field to be pretend in form.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/224237" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 10:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438124#M1739981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-30T10:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438125#M1739982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Deepak! Sorry for no response for such a long time. I confirm that there are no more parameters below in the Output Parameters. And it is my great confusion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 07:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438125#M1739982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-03T07:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438126#M1739983</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;In smartform - Program lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Primarily, The input and output parameters are the variables that are going to be used in the Program logic.&lt;/LI&gt;&lt;LI&gt;The Input and output parameters defeniton is the best practice in order to understand the logic if some one reads the code&lt;/LI&gt;&lt;LI&gt;The variables defined in both the section will works any way, ie the variables you are changing in the code, is not necessarly be defined in out parameters,&amp;nbsp; I can be in input parameters also.&lt;/LI&gt;&lt;LI&gt;However it is a best practice&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 07:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438126#M1739983</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2013-06-03T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438127#M1739984</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;The Global Parameters defined in the smart form interface passed into the smart form and used to pass data are visible across the form (Form interface &amp;amp; Global definitions). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, there is a scope to define parameters in smart forms apart from the Global Parameters. This can be done with data statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the program lines NODE is actually a subroutine when this Smart from is compiled hence the need to have Input and Output Parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/1c/f40c58ddf311d3b574006094192fe3/frameset.htm" title="http://help.sap.com/saphelp_470/helpdata/en/1c/f40c58ddf311d3b574006094192fe3/frameset.htm"&gt;http://help.sap.com/saphelp_470/helpdata/en/1c/f40c58ddf311d3b574006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 08:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438127#M1739984</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-06-03T08:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: SmartForms - Input &amp; Output Parameters of Program Lines</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438128#M1739985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does compile into a subroutine but if you look at the FM code you'll see that the routine actually doesn't have USING / CHANGING as one would expect. From what I've seen, these input/output parameters are just used in the syntax check. E.g. you can't use a variable if you don't put it in one of those (I'm pretty sure it doesn't even matter which side you put in). It's a good practice to put the read variables in input and changed variables in output, but it's not really enforced, from what I've seen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/226005" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/226006" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 20:15:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-input-output-parameters-of-program-lines/m-p/9438128#M1739985</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2013-06-03T20:15:54Z</dc:date>
    </item>
  </channel>
</rss>

