<?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: how to write code in smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873195#M367443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;   check out this link.&lt;/P&gt;&lt;P&gt;   &lt;A href="http://sap.niraj.tripod.com/id67.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id67.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sathiya kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2007 06:47:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-17T06:47:36Z</dc:date>
    <item>
      <title>how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873190#M367438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abapers,&lt;/P&gt;&lt;P&gt;I am new to smartform.I dont know where to declare internal tables,Data fetchings(selection queries) for headers and line items from database. what to declare in &amp;lt;b&amp;gt;form interface&amp;lt;/b&amp;gt; and in &amp;lt;b&amp;gt;global definitions&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Please Give your valuable sugeestions to me.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873190#M367438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873191#M367439</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; Give ur mail id . I will send a document .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873191#M367439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873192#M367440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi.&lt;/P&gt;&lt;P&gt;   Define all ur structures in types tab.&lt;/P&gt;&lt;P&gt;   declare the internal tables, work areas in  the initialization.&lt;/P&gt;&lt;P&gt;   declare all the variables used in global definitions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873192#M367440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873193#M367441</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;If you are going to pass parameters fro driver program,declare those variable in form interface.If it is table,declare it in form interface-&amp;gt;tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the variables are used inside only in smartform,then declare it in global definitions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873193#M367441</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-01-17T06:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873194#M367442</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 thru these urls:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smartform-tutorial.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smartform-tutorial.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html" target="test_blank"&gt;http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF" target="test_blank"&gt;http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR MORE INFO please go thru this SDN postiing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2616349"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873194#M367442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873195#M367443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;   check out this link.&lt;/P&gt;&lt;P&gt;   &lt;A href="http://sap.niraj.tripod.com/id67.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id67.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sathiya kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873195#M367443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873196#M367444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi maruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.In form interface you have to give the variables or structures or tables...which you wanto pass form ur driver program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in the &amp;lt;b&amp;gt;global difination--&amp;gt;globaldata&amp;lt;/b&amp;gt; you can declare data vartibles or structures ot tablei which u want to use in you smartforms..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. if u want to write code in the smartform &lt;DEL&gt;&amp;lt;b&amp;gt;global defination&lt;/DEL&gt;&amp;gt;initialization&amp;lt;/b&amp;gt; you can wrinte select querys and code wht ever u want.. but you have to pass the varibles in inputparameters and output rprameters which u use them inside the initialization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Close this thread.. when u r problem is solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Naresh Reddy K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:49:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873196#M367444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873197#M367445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Form interface you can declare structures as well as tables. In Import Tab you can declare sturcutres &amp;amp; in tables tab you can declare tables. this data should be populated from your print program. Call the smartform in your Print program &amp;amp; pass the data to declared structures &amp;amp; tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tables you declares in smartforms you can use loop &amp;amp; use the data of table.&lt;/P&gt;&lt;P&gt;For reading line item of table you need to use loop.&lt;/P&gt;&lt;P&gt;Right click on window  &amp;amp; select Create then Flow logic &amp;amp; Loop.&lt;/P&gt;&lt;P&gt;in this loop provide you internal table name &amp;amp; work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For writing code in smartform follow this:&lt;/P&gt;&lt;P&gt;Right click on window  &amp;amp; select Create then Flow logic &amp;amp; Program lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873197#M367445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873198#M367446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maruti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For writing the code in your smartform you need to have that table in the global declaration for the smartform..... you can create a structure for that or else you can declare the structure in the smartform itself in the '&amp;lt;b&amp;gt;types&amp;lt;/b&amp;gt;' tab of &amp;lt;b&amp;gt;'global declaration'&amp;lt;/b&amp;gt; .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that please write click where you have to write the code and then goto &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Flow Logic -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; &amp;gt;  Program Lines&amp;lt;/b&amp;gt;   for writing the code ... then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drag and drop the same field for getting the desired output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The form inteface tab --- &amp;gt; table contains all the tables which you are importing from the driver program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the global interface part you can declare the workareas of the type of the tables which you are importing in the internal table... work areais basically beacuse in the table for printing the details you have to loop at the internal table using some workarea .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. also if you are a new learner then please start with the smartforms using ....... parameters.....i.e pass only one value for which you want to get the output and try to print the basic report then try for other functionalities of teh msartforms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        JAYANT KUMAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 06:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873198#M367446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T06:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to write code in smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873199#M367447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi maruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can declare all ur work areas and internal table in global data section of  global definitions.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in types section of global definitions u can declare all ur user-defined structures....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in initialization section of global definitions u can give all ur select queries..&lt;/P&gt;&lt;P&gt;mentioning all ur importing and exporting parameters...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in form painter u can create the layout as designed by ...&lt;/P&gt;&lt;P&gt;that is u can place windows on ur form painter and customize the window height, length manually by dragging the window corners...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can create window, graphic, address or text for ur window created....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can also create a table for ur window...by mentioning the header fields , main area fields and footer section for ur table look like to be displayed in the layout of ur smartform...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ur smartform can be executed using driver program or just by using a function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in form interface u can  declare if u r using any parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter name - pr_vebeln&lt;/P&gt;&lt;P&gt;type assignment - type&lt;/P&gt;&lt;P&gt;assoiciated type - vbak-vbeln&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 07:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-code-in-smartforms/m-p/1873199#M367447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T07:25:15Z</dc:date>
    </item>
  </channel>
</rss>

