<?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 over view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308218#M792321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go thru these links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html" target="test_blank"&gt;http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html&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;check this linkls------&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/collaboration" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/collaboration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2008 04:33:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-23T04:33:28Z</dc:date>
    <item>
      <title>smartforms over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308213#M792316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please send me some documents for smartforms overview to give seminor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 04:26:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308213#M792316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T04:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308214#M792317</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;refer this link: &lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and below things are overview of samrt forms&lt;/P&gt;&lt;P&gt;overview:&lt;/P&gt;&lt;P&gt;1) Hierarchical Structure(Pages,Windows, etc)&lt;/P&gt;&lt;P&gt;2) Context Area (Attributes)&lt;/P&gt;&lt;P&gt;3) Tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ease of use for changing and maintaining forms&lt;/P&gt;&lt;P&gt;Market analysis: Why are form changes so time consuming?&lt;/P&gt;&lt;P&gt;20% layout design&lt;/P&gt;&lt;P&gt;60% form logic and test&lt;/P&gt;&lt;P&gt;20% documentation, training&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Graphical Tool for creating and maintaining Forms &lt;/P&gt;&lt;P&gt;Web publishing (XML output)&lt;/P&gt;&lt;P&gt;Translation process is  supported&lt;/P&gt;&lt;P&gt;Reuse of form components &lt;/P&gt;&lt;P&gt;      Eg : Smart Styles can be used   across Smart Forms&lt;/P&gt;&lt;P&gt;Encapsulate data retrieval and form logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Smart Forms replace SAPscript as SAP's form printing solution&lt;/P&gt;&lt;P&gt;Users can create and adjust forms in half the time - significant reduction of implementation costs&lt;/P&gt;&lt;P&gt;Web publishing (XML output)&lt;/P&gt;&lt;P&gt;Encapsulate data retrieval and form logic &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Smart form is called by an ABAP program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Smart form has a functional module interface with standard import and export parameters and exceptions (output options, Mail, archiving etc..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form Logic is entirely represented in the Smart Form and the logic can be adjusted using the graphical tool.&lt;/P&gt;&lt;P&gt;The data for the Smart Form is provided by theApplication program and passed using the Function Module interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the Smart Form is activated, it automatically generates a Function Module, which is processed at run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User interface (Create or change forms)&lt;/P&gt;&lt;P&gt;Graphical tools, hierarchy representation, drag&amp;amp;drop&lt;/P&gt;&lt;P&gt;Additional data selection within Smart Forms&lt;/P&gt;&lt;P&gt;Special objects: Tables (with header and footers, sorting, subtotals), structures, graphics, addresses&lt;/P&gt;&lt;P&gt;Upload your own GIF files (e.g Company logo, Background pictures etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Layout definitions:  Graphical Editor for Creation of all Forms&lt;/P&gt;&lt;P&gt;Components:&lt;/P&gt;&lt;P&gt; Pages&lt;/P&gt;&lt;P&gt; Windows&lt;/P&gt;&lt;P&gt; Text Elements&lt;/P&gt;&lt;P&gt; GIF Images ( Import GIF images thru trn SE78 -&amp;gt; Graphics -&amp;gt; &lt;/P&gt;&lt;P&gt;  Import&amp;#133;. )&lt;/P&gt;&lt;P&gt; Data Declarations&lt;/P&gt;&lt;P&gt; Header and Footer         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if its useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajasekhar  Reddy on Jan 23, 2008 10:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 04:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308214#M792317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T04:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308215#M792318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;these links could help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-press.com/downloads/h955_preview.pdf" target="test_blank"&gt;http://www.sap-press.com/downloads/h955_preview.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ossincorp.com/Black_Box/Black_Box_2.htm" target="test_blank"&gt;http://www.ossincorp.com/Black_Box/Black_Box_2.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 04:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308215#M792318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T04:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308216#M792319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it wil help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward if help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create a New smartfrom, it is having step by step procedure &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step by step good ex link is....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html" target="test_blank"&gt;http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a new smartforms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code SMARTFORMS &lt;/P&gt;&lt;P&gt;Create new smartforms call ZSMART&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Define looping process for internal table &lt;/P&gt;&lt;P&gt;Pages and windows &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Page -&amp;gt; Header Window (Cursor at First Page then click Edit -&amp;gt; Node -&amp;gt; Create) &lt;/P&gt;&lt;P&gt;Here, you can specify your title and page numbering &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGE&amp;amp; (Page 1) of &amp;amp;SFSY-FORMPAGES(Z4.0)&amp;amp; (Total Page) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main windows -&amp;gt; TABLE -&amp;gt; DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Loop section, tick Internal table and fill in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Define table in smartforms &lt;/P&gt;&lt;P&gt;Global settings : &lt;/P&gt;&lt;P&gt;Form interface &lt;/P&gt;&lt;P&gt;Variable name Type assignment Reference type &lt;/P&gt;&lt;P&gt;ITAB1 TYPE Table Structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global definitions &lt;/P&gt;&lt;P&gt;Variable name Type assignment Reference type &lt;/P&gt;&lt;P&gt;ITAB2 TYPE Table Structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. To display the data in the form &lt;/P&gt;&lt;P&gt;Make used of the Table Painter and declare the Line Type in Tabstrips Table &lt;/P&gt;&lt;P&gt;e.g. HD_GEN for printing header details, &lt;/P&gt;&lt;P&gt;IT_GEN for printing data details. &lt;/P&gt;&lt;P&gt;You have to specify the Line Type in your Text elements in the Tabstrips Output options. &lt;/P&gt;&lt;P&gt;Tick the New Line and specify the Line Type for outputting the data. &lt;/P&gt;&lt;P&gt;Declare your output fields in Text elements &lt;/P&gt;&lt;P&gt;Tabstrips - Output Options &lt;/P&gt;&lt;P&gt;For different fonts use this Style : IDWTCERTSTYLE &lt;/P&gt;&lt;P&gt;For Quantity or Amout you can used this variable &amp;amp;GS_ITAB-AMOUNT(12.2)&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Calling SMARTFORMS from your ABAP program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZSMARTFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Calling SMARTFORMS from your ABAP program. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Collecting all the table data in your program, and pass once to SMARTFORMS &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SMARTFORMS &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declare your table type in :- &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global Settings -&amp;gt; Form Interface &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global Definintions -&amp;gt; Global Data &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Main Window -&amp;gt; Table -&amp;gt; DATA &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&lt;A href="http://sapr3.tripod.com" target="test_blank"&gt;http://sapr3.tripod.com&lt;/A&gt; &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: MKPF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FM_NAME TYPE RS38L_FNAM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF INT_MKPF OCCURS 0. &lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE MKPF. &lt;/P&gt;&lt;P&gt;DATA: END OF INT_MKPF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR. &lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING MKPF TO INT_MKPF. &lt;/P&gt;&lt;P&gt;APPEND INT_MKPF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;At the end of your program. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Passing data to SMARTFORMS &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&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 = 'ZSMARTFORM' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VARIANT = ' ' &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DIRECT_CALL = ' ' &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;WRITE: / 'ERROR 1'. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function FM_NAME &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;/LI&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_INDEX_TAB = &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;LI level="1" type="ul"&gt;&lt;P&gt;USER_SETTINGS = 'X' &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DOCUMENT_OUTPUT_INFO = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_INFO = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_OPTIONS = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES &lt;/P&gt;&lt;P&gt;GS_MKPF = INT_MKPF &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;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;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;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smartform&lt;/P&gt;&lt;P&gt;you can check this link here you can see the steps and you can do it the same by looking at it..&lt;/P&gt;&lt;P&gt;&lt;A href="http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html" target="test_blank"&gt;http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SMARTFORMS STEPS.&lt;/P&gt;&lt;P&gt;1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.&lt;/P&gt;&lt;P&gt;2. Create Table type(t_struct) of stracture in se11.&lt;/P&gt;&lt;P&gt;3. In your program declare Internal table(Itab) type table of structure(struct).&lt;/P&gt;&lt;P&gt;4. Define work area(wa) like line of internal table.&lt;/P&gt;&lt;P&gt;5. Open Tcode Smartforms&lt;/P&gt;&lt;P&gt;6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).&lt;/P&gt;&lt;P&gt;7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).&lt;/P&gt;&lt;P&gt;8. In form pages and window, create Page node by default Page1 is available.&lt;/P&gt;&lt;P&gt;9. In page node you can create numbers of secondary window. But in form there is only one Main window.&lt;/P&gt;&lt;P&gt;10. By right click on page you can create windows or Go to Edit, Node, Create.&lt;/P&gt;&lt;P&gt;11. After creating the window right click on window create table for displaying the data that you are passing through internal table.&lt;/P&gt;&lt;P&gt;12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).&lt;/P&gt;&lt;P&gt;13. In table there are three areas Header, Main Area, Footer.&lt;/P&gt;&lt;P&gt;14. Right click on the Main area create table line by default line type1 is there select it.&lt;/P&gt;&lt;P&gt;15. Divide line into cells according to your need then for each cell create Text node.&lt;/P&gt;&lt;P&gt;16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.&lt;/P&gt;&lt;P&gt;17. Save form and activate it.&lt;/P&gt;&lt;P&gt;18. Then go to Environment, function module name, there you get the name of function module copy it.&lt;/P&gt;&lt;P&gt;19. In your program call the function module that you have copied from your form.&lt;/P&gt;&lt;P&gt;20. In your program in exporting parameter of function pass the internal table(itab).&lt;/P&gt;&lt;P&gt;SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms. &lt;/P&gt;&lt;P&gt;SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can &lt;/P&gt;&lt;P&gt;configure forms with data from an SAP System for the relevant business processes. &lt;/P&gt;&lt;P&gt;To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module. &lt;/P&gt;&lt;P&gt;You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output. &lt;/P&gt;&lt;P&gt;You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed. &lt;/P&gt;&lt;P&gt;SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired. &lt;/P&gt;&lt;P&gt;SAP Smart Forms also support postage optimizing. &lt;/P&gt;&lt;P&gt;Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C &lt;/P&gt;&lt;P&gt;What Transaction to start SAP Smart Forms? &lt;/P&gt;&lt;P&gt;Execute transaction SMARTFORMS to start SAP Smart Forms. &lt;/P&gt;&lt;P&gt;Key Benefits of SAP Smart Forms: &lt;/P&gt;&lt;P&gt;SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time. &lt;/P&gt;&lt;P&gt;You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics. &lt;/P&gt;&lt;P&gt;To make changes, use Drag &amp;amp; Drop, Copy &amp;amp; Paste, and select different attributes. &lt;/P&gt;&lt;P&gt;These actions do not include writing of coding lines or using a Script language. &lt;/P&gt;&lt;P&gt;Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one. &lt;/P&gt;&lt;P&gt;For Web publishing, the system provides a generated XML output of the processed form. &lt;/P&gt;&lt;P&gt;Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SmartForms System Fields &lt;/P&gt;&lt;P&gt;Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing. &lt;/P&gt;&lt;P&gt;System fields of Smart Forms &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-DATE&amp;amp; &lt;/P&gt;&lt;P&gt;Displays the date. You determine the display format in the user master record. &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-TIME&amp;amp; &lt;/P&gt;&lt;P&gt;Displays the time of day in the form HH:MM:SS. &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGE&amp;amp; &lt;/P&gt;&lt;P&gt;Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node. &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES&amp;amp; &lt;/P&gt;&lt;P&gt;Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output. &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-JOBPAGES&amp;amp; &lt;/P&gt;&lt;P&gt;Contains the total page number of all forms in the currently processed print request. &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-WINDOWNAME&amp;amp; &lt;/P&gt;&lt;P&gt;Contains the name of the current window (string in the Window field) &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGENAME&amp;amp; &lt;/P&gt;&lt;P&gt;Contains the name of the current page (string in the Page field) &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGEBREAK&amp;amp; &lt;/P&gt;&lt;P&gt;Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46]) &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-MAINEND&amp;amp; &lt;/P&gt;&lt;P&gt;Is set as soon as processing of the main window on the current page ends &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-EXCEPTION&amp;amp; &lt;/P&gt;&lt;P&gt;Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception &amp;lt;exception name &amp;gt;). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Forms Available in Standard SAP R/3 &lt;/P&gt;&lt;P&gt;SF_EXAMPLE_01 &lt;/P&gt;&lt;P&gt;Simple example; invoice with table output of flight booking for one customer &lt;/P&gt;&lt;P&gt;SF_EXAMPLE_02 &lt;/P&gt;&lt;P&gt;Similar to SF_EXAMPLE_01 but with subtotals &lt;/P&gt;&lt;P&gt;SF_EXAMPLE_03 &lt;/P&gt;&lt;P&gt;Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of SAP Smart Forms &lt;/P&gt;&lt;P&gt;SAP Smart Forms have the following advantages: &lt;/P&gt;&lt;P&gt;1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases. &lt;/P&gt;&lt;P&gt;2. Displaying table structures (dynamic framing of texts) &lt;/P&gt;&lt;P&gt;3. Output of background graphics, for form design in particular the use of templates which were scanned. &lt;/P&gt;&lt;P&gt;4. Colored output of texts &lt;/P&gt;&lt;P&gt;5. User-friendly and integrated Form Painter for the graphical design of forms &lt;/P&gt;&lt;P&gt;6. Graphical Table Painter for drawing tables &lt;/P&gt;&lt;P&gt;7. Reusing Font and paragraph formats in forms (Smart Styles) &lt;/P&gt;&lt;P&gt;8. Data interface in XML format (XML for Smart Forms, in short XSF) &lt;/P&gt;&lt;P&gt;9. Form translation is supported by standard translation tools &lt;/P&gt;&lt;P&gt;10. Flexible reuse of text modules &lt;/P&gt;&lt;P&gt;11. HTML output of forms (Basis release 6.10) &lt;/P&gt;&lt;P&gt;12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 04:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308216#M792319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T04:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308217#M792320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="451549"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 04:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308217#M792320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T04:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308218#M792321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shaik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go thru these links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html" target="test_blank"&gt;http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html&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;check this linkls------&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/collaboration" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/collaboration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 04:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308218#M792321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T04:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms over view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308219#M792322</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 this if this may help&lt;/P&gt;&lt;P&gt;What is SAP Smart Forms? &lt;/P&gt;&lt;P&gt;SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can  &lt;/P&gt;&lt;P&gt;configure forms with data from an SAP System for the relevant business processes. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Smart Forms also support postage optimizing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What Transaction to start SAP Smart Forms? &lt;/P&gt;&lt;P&gt;Execute transaction SMARTFORMS to start SAP Smart Forms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key Benefits of SAP Smart Forms: &lt;/P&gt;&lt;P&gt;SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make changes, use Drag &amp;amp; Drop, Copy &amp;amp; Paste, and select different attributes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These actions do not include writing of coding lines or using a Script language. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Web publishing, the system provides a generated XML output of the processed form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of SAP Smart Forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Smart Forms have the following advantages: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Displaying table structures (dynamic framing of texts) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Output of background graphics, for form design in particular the use of templates which were scanned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Colored output of texts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. User-friendly and integrated Form Painter for the graphical design of forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Graphical Table Painter for drawing tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Reusing Font and paragraph formats in forms (Smart Styles) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Data interface in XML format (XML for Smart Forms, in short XSF) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Form translation is supported by standard translation tools &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. Flexible reuse of text modules &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11. HTML output of forms (Basis release 6.10) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a new smartforms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code SMARTFORMS &lt;/P&gt;&lt;P&gt;Create new smartforms call ZSMART&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Define looping process for internal table  &lt;/P&gt;&lt;P&gt;          Pages and windows &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Page -&amp;gt; Header Window (Cursor at First Page then click Edit -&amp;gt; Node -&amp;gt; Create) &lt;/P&gt;&lt;P&gt;Here, you can specify your title and page numbering &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGE&amp;amp; (Page 1) of &amp;amp;SFSY-FORMPAGES(Z4.0)&amp;amp; (Total Page)  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main windows -&amp;gt; TABLE -&amp;gt; DATA  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Loop section, tick Internal table and fill in  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Define table in smartforms &lt;/P&gt;&lt;P&gt;           Global settings : &lt;/P&gt;&lt;P&gt;           Form interface &lt;/P&gt;&lt;P&gt;           Variable name    Type assignment   Reference type &lt;/P&gt;&lt;P&gt;           ITAB1               TYPE                  Table Structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           Global definitions &lt;/P&gt;&lt;P&gt;           Variable name    Type assignment   Reference type &lt;/P&gt;&lt;P&gt;           ITAB2               TYPE                  Table Structure  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. To display the data in the form  &lt;/P&gt;&lt;P&gt;    Make used of the Table Painter and declare the Line Type in Tabstrips Table &lt;/P&gt;&lt;P&gt;     e.g.  HD_GEN for printing header details, &lt;/P&gt;&lt;P&gt;             IT_GEN  for printing data details.  &lt;/P&gt;&lt;P&gt;     You have to specify the Line Type in your Text elements in the Tabstrips Output options. &lt;/P&gt;&lt;P&gt;      Tick the New Line and specify the Line Type for outputting the data. &lt;/P&gt;&lt;P&gt;      Declare your output fields in Text elements  &lt;/P&gt;&lt;P&gt;      Tabstrips - Output Options &lt;/P&gt;&lt;P&gt;      For different fonts use this Style : IDWTCERTSTYLE &lt;/P&gt;&lt;P&gt;      For Quantity or Amout you can used this variable &amp;amp;GS_ITAB-AMOUNT(12.2)&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Calling SMARTFORMS from your ABAP program  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference with SMARTFORMS vs. SapScript(SE71) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Following are the differences :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Multiple page formats are possible in smartforms which is not the case in SAPScripts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) It is possible to have a smartform without a main window . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) Labels cannot be created in smartforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) Routines can be written in smartforms tool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e) Smartforms generates a function module when activated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contributed by : SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was said that it was provided in CRM 3.0 version, but not available in R/3.  You can download smartforms into Local PC in a XML format.  In the same way you can upload this XML format into Smartform.  From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -&amp;gt; Download form). It will create a XML file and save it in the hard disk.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people.  What you can do is to create a Transport and then FTP down to your local harddisk.   When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server.  Finally, the Basis team, will tp it into your system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it.  Actually, there is something you can do about it.  By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.&lt;/P&gt;&lt;P&gt;Conversion of SAPSCRIPT to SMARTFORMS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP provides a conversion for SAPscript documents to SMARTforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is basically a function module, called FB_MIGRATE_FORM. You can  start this function module by hand (via SE37), or create a small ABAP which migrates all SAPscript forms automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do this one-by-one in transaction SMARTFORMS, under  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Utilities -&amp;gt; Migrate SAPscript form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also write a small batch program calling transaction SMARTFORMS and running the migration tool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SmartForms System Fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within a form you can use the field string SFSY with its system fields. During form processing  the system replaces these fields with the corresponding values. The field values come from the  SAP System or are results of the processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System fields of Smart Forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-DATE&amp;amp;  &lt;/P&gt;&lt;P&gt;Displays the date. You determine the display format in the user master record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-TIME&amp;amp;  &lt;/P&gt;&lt;P&gt;Displays the time of day in the form HH:MM:SS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGE&amp;amp;  &lt;/P&gt;&lt;P&gt;Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-FORMPAGES&amp;amp;  &lt;/P&gt;&lt;P&gt;Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-JOBPAGES&amp;amp;  &lt;/P&gt;&lt;P&gt;Contains the total page number of all forms in the currently processed print  request.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-WINDOWNAME&amp;amp;  &lt;/P&gt;&lt;P&gt;Contains the name of the current window (string in the Window field) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGENAME&amp;amp;  &lt;/P&gt;&lt;P&gt;Contains the name of the current page (string in the Page field) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGEBREAK&amp;amp;  &lt;/P&gt;&lt;P&gt;Is set to 'X' after a page break (either automatic [Page 7] or  command-controlled [Page 46]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-MAINEND&amp;amp;  &lt;/P&gt;&lt;P&gt;Is set as soon as processing of the main window on the current page ends &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-EXCEPTION&amp;amp; &lt;/P&gt;&lt;P&gt;Contains the name of the raised exception. You must trigger your own  exceptions, which you defined in the form interface, using the user_exception macro (syntax:  user_exception &amp;lt;exception name &amp;gt;).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example Forms Available in Standard SAP R/3 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SF_EXAMPLE_01  &lt;/P&gt;&lt;P&gt;Simple example; invoice with table output of flight booking for one customer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SF_EXAMPLE_02  &lt;/P&gt;&lt;P&gt;Similar to SF_EXAMPLE_01 but with subtotals &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SF_EXAMPLE_03  &lt;/P&gt;&lt;P&gt;Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the  form is called for each customer and all form outputs are included in an output request &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SmartForms Output to PDF &lt;/P&gt;&lt;P&gt;There is a way to download smartform in PDF format. &lt;/P&gt;&lt;P&gt;Please do the following: &lt;/P&gt;&lt;P&gt;1. Print the smartform to the spool. &lt;/P&gt;&lt;P&gt;2. Note the spool number. &lt;/P&gt;&lt;P&gt;3. Download a PDF file (Acrobat Reader) version of the spool by running Program RSTXPDFT4 and entering the &lt;/P&gt;&lt;P&gt;noted spool number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 04:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-over-view/m-p/3308219#M792322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T04:40:11Z</dc:date>
    </item>
  </channel>
</rss>

