<?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: regarding smart forms (really urgent) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535268#M850634</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Difference with SMARTFORMS vs. SapScript(SE71)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Following are the differences :-&lt;/STRONG&gt;&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;Hope this is useful...Reward points if helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ginni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2008 05:15:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-06T05:15:53Z</dc:date>
    <item>
      <title>regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535261#M850627</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;i am new to smartforms and i got report to make changes in the smart forms,plzz help me out as i know nothing about the smart forms by providing me it in easiest &amp;amp; simplest form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if find useful help will be deifnately rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ric .s on Mar 6, 2008 5:16 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 04:09:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535261#M850627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T04:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535262#M850628</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;STRONG&gt;Fetaures of Smartforms:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.SAP Smart Forms is used to create and maintain forms for mass printing in SAP Systems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.As output medium SAP Smart Forms support a printer, a fax,&lt;/P&gt;&lt;P&gt; e-mail, or the Internet (by using the generated XML output).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;4.SmartForms are easier to develop, maintain and transport than SAP Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SmartForms Vs SAP Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Multiple page formats are possible in smartforms which is not &lt;/P&gt;&lt;P&gt;the case in SAPScripts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.It is possible to have a smartform without a main window . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Labels cannot be created in smartforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Routines can be written in smartforms tool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.Smartforms generates a function module when activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAP Smart Forms offer the following advantages:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating and maintaining forms requiring half the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adapting forms without any programming knowledge due to entirely graphical user interface&lt;/P&gt;&lt;P&gt;Web Publishing using the generated XML output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The smart forms allow the user to execute simple modifications to the form and in the form logic&lt;/P&gt;&lt;P&gt;by using simple graphical tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;When activating the smart form the system automatically generates the function&lt;/P&gt;&lt;P&gt; module and at the runtime processes it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user designs the form using the graphical form painter and the graphical table painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The form logic is represented by the hierarchical structure that consists of individual nodes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make any changes we have to use the Drag&amp;amp;Drop, Cut &amp;amp; Paste. These actions do not include&lt;/P&gt;&lt;P&gt;writing of coding lines or using a script language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; We can insert static and dynamic tables. These include the line feeds in the individual table cells,&lt;/P&gt;&lt;P&gt; triggering events for table headings and subtotals and sorting data before output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The smart forms allow the user to include graphics, which can be displayed as a part of the form or as &lt;/P&gt;&lt;P&gt;background graphics. During printout the user can suppress the background graphic as and when necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The SAP Smart Forms has replaced the SAPscript forms. Migration of SAPscript forms into Smart Forms is supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of the new projects would be using this technology. Clients would increasingly demand smartforms to be used rather than sapscript . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pleasse reward if its helpful.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 04:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535262#M850628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T04:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535263#M850629</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;For Smart Forms u have to do 2 steps&lt;/P&gt;&lt;P&gt; 1. Use Smart Forms Transaction  to design ur screen&lt;/P&gt;&lt;P&gt;                     As it is a user friendly one, U can simply use it.&lt;/P&gt;&lt;P&gt; 2.A driver program to trigger our Smart form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  This i l help u thru code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
     Tables: likp,lips  .
DATA: W_FMODNAM TYPE RS38L_FNAM.

data : var type SSFCTRLOP.
 var-NO_DIALOG = 'X'.
 var-PREVIEW = 'X'.
PARAMETERS  :  P_VBELN like likp-vbeln obligatory..

data: wa_likp type ZCS_STRLIKP.
data: wa_lips type ZCS_STRLIPS.
data: it_likp type standard table of ZCS_STRLIKP with header line.
data: it_lips type standard table of ZCS_STRLIPS with header line.


SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-001 .

  parameters: smart  radiobutton group c.
  parameters: script  radiobutton group c.

SELECTION-SCREEN END   OF BLOCK b1.


            select single vbeln kunag kunnr vkbur prvbe bldat fkdat lifnr
                                          from likp
                                          into wa_likp
                                          where vbeln = p_vbeln.

            select posnr kdmat matnr arktx lfimg vrkme
                                      from lips
                                      into table it_lips
                                      where vbeln = wa_likp-vbeln.
if smart = 'X'.

              CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
                EXPORTING
                  FORMNAME                 = 'ZCS_SMRTFRM_276'
*                 VARIANT                  = ' '
*                 DIRECT_CALL              = ' '
               IMPORTING
                 FM_NAME                  = W_FMODNAM
*               EXCEPTIONS
*                 NO_FORM                  = 1
*                 NO_FUNCTION_MODULE       = 2
*                 OTHERS                   = 3
                        .




CALL FUNCTION '/1BCDWB/SF00000837'
  EXPORTING
*   ARCHIVE_INDEX              =
*   ARCHIVE_INDEX_TAB          =
*   ARCHIVE_PARAMETERS         =
   CONTROL_PARAMETERS         = var
*   MAIL_APPL_OBJ              =
*   MAIL_RECIPIENT             =
*   MAIL_SENDER                =
*   OUTPUT_OPTIONS             =
*   USER_SETTINGS              = 'X'
    WA_LIKP                    = wa_likp
* IMPORTING
*   DOCUMENT_OUTPUT_INFO       =
*   JOB_OUTPUT_INFO            =
*   JOB_OUTPUT_OPTIONS         =
  TABLES
    IT_LIPS                    = it_lips
* EXCEPTIONS
*   FORMATTING_ERROR           = 1
*   INTERNAL_ERROR             = 2
*   SEND_ERROR                 = 3
*   USER_CANCELED              = 4
*   OTHERS                     = 5
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&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;Karthik.T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 04:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535263#M850629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T04:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535264#M850630</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;This Smartform Information I read, really helped me out.&lt;/P&gt;&lt;P&gt;I think it would be of some good help to you too..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;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  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;Advantages of SAP Smart Forms &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;P&gt;A Simple Smartform Tutorial  &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;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;1. Create a new smartforms &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;2. Define looping process for internal table  &lt;/P&gt;&lt;P&gt;          Pages and windows &lt;/P&gt;&lt;P&gt;&amp;#149;	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;&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;&amp;#149;	Main windows -&amp;gt; TABLE -&amp;gt; DATA &lt;/P&gt;&lt;P&gt;&amp;#149;	In the Loop section, tick Internal table and fill in &lt;/P&gt;&lt;P&gt;&amp;#149;	ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2&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;           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;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;5. Calling SMARTFORMS from your ABAP program  &lt;/P&gt;&lt;P&gt;REPORT ZSMARTFORM.  &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;P&gt; &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES: MKPF.  &lt;/P&gt;&lt;P&gt;DATA: FM_NAME TYPE RS38L_FNAM.  &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;SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.  &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;ENDSELECT.  &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;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;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;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;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;Additional Fonts for your SMARTFORMS  &lt;/P&gt;&lt;P&gt;You can create additional fonts and style with transaction SMARTSTYLES &lt;/P&gt;&lt;P&gt;This can then be define in the paragraph and character formats, which you can then be assign to texts and fields in the Smart Form.  &lt;/P&gt;&lt;P&gt;The character formats includes effects such as superscript, subscript, barcode and font attributes. &lt;/P&gt;&lt;P&gt;Difference with SMARTFORMS vs. SapScript(SE71) &lt;/P&gt;&lt;P&gt;The Following are the differences :- &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;b) It is possible to have a smartform without a main window . &lt;/P&gt;&lt;P&gt;c) Labels cannot be created in smartforms. &lt;/P&gt;&lt;P&gt;d) Routines can be written in smartforms tool. &lt;/P&gt;&lt;P&gt;e) Smartforms generates a function module when activated. &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;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;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;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;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;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;FAQ on Migrating SAPscript to SmartForms &lt;/P&gt;&lt;P&gt;Is it possible to migrate a SAPscript form to a Smart Form?  &lt;/P&gt;&lt;P&gt;Smart Forms provides a migration tool for this purpose which migrates layout and texts of a SAPscript form to a Smart Form. It does not migrate SAPscript form logic of the print program. Using Smart Forms, this logic is described by the tree structure of the Form Builder. The effort involved in migrating it depends on the complexity of the print program.  &lt;/P&gt;&lt;P&gt;Which Basis Release do I need to use SAP Smart Forms?  &lt;/P&gt;&lt;P&gt;SAP Smart Forms is available as of R/3 Basis Release 4.6C.  &lt;/P&gt;&lt;P&gt;I have heard that Smart Forms replaces SAPscript. What does "replace" mean?  &lt;/P&gt;&lt;P&gt;It does not mean that SAPscript is removed from the Basis shipment. Even as of Basis Release 4.6C, SAPscript remains part of the SAP standard and there are no plans to remove it. Since Smart Forms is currently, and will continue to be, the tool for form maintenance for mySAP.com solutions, our further development efforts will focus on Smart Forms, not on SAPscript. &lt;/P&gt;&lt;P&gt;Do we have to migrate all SAPscript forms to Smart Forms?  &lt;/P&gt;&lt;P&gt;There is no point in migrating all SAPscript forms already in use. Since SAPscript can still be used and will be available in the future, there is no need to. If you plan to migrate a SAPscript form, it is recommended that you check whether benefit is worth the effort involved&lt;/P&gt;&lt;P&gt;Conversion of SAPSCRIPT to SMARTFORMS &lt;/P&gt;&lt;P&gt;SAP provides a conversion for SAPscript documents to SMARTforms. &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;You can also do this one-by-one in transaction SMARTFORMS, under  &lt;/P&gt;&lt;P&gt;Utilities -&amp;gt; Migrate SAPscript form. &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;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;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;Smart forms Frequently Asked Questions &lt;/P&gt;&lt;P&gt;Forcing a page break within table loop &lt;/P&gt;&lt;P&gt;Create a loop around the table. Put a Command node before the table in the loop that forces a NEWPAGE on whatever condition you want. Then only loop through a subset of the internal table (based on the conditions in the Command node) of the elements in the Table node.  &lt;/P&gt;&lt;P&gt;Font style and Font size &lt;/P&gt;&lt;P&gt;Goto Transaction SMARTSTYLES.  &lt;/P&gt;&lt;P&gt;There you can create Paragraph formats etc just like in sapscript.  &lt;/P&gt;&lt;P&gt;Then in your window under OUTPUT OPTIONS you include this SMARTSTYLE and use the Paragraph and character formats.  &lt;/P&gt;&lt;P&gt;Line in Smartform &lt;/P&gt;&lt;P&gt;Either you can use a window that takes up the width of your page and only has a height of 1 mm.  &lt;/P&gt;&lt;P&gt;Then you put a frame around it (in window output options).  &lt;/P&gt;&lt;P&gt;Thus you have drawn a box but it looks like a line.  &lt;/P&gt;&lt;P&gt;Or you can just draw "__" accross the page and play with the fonts so that it joins each UNDER_SCORE.  &lt;/P&gt;&lt;P&gt;Difference between 'forminterface' and 'global definitions' in global settings of smart forms &lt;/P&gt;&lt;P&gt;The Difference is as follows.  &lt;/P&gt;&lt;P&gt;To put it very simply:  &lt;/P&gt;&lt;P&gt;Form Interface is where you declare what must be passed in and out of the smartform (in from the print program to the smartform and out from the smartform to the print program).  &lt;/P&gt;&lt;P&gt;Global defs. is where you declare data to be used within the smartform on a global scope.  &lt;/P&gt;&lt;P&gt;ie: anything you declare here can be used in any other node in the form.  &lt;/P&gt;&lt;P&gt;Smartforms function module name  &lt;/P&gt;&lt;P&gt;Once you have activated the smartform, go to the environment -&amp;gt; function module name. There you can get the name of funtion module name.  &lt;/P&gt;&lt;P&gt;The key thing is the program that calls it. for instance, the invoice SMARTFORM LB_BIL_INVOICE is ran by the program RLB_INVOICE.  &lt;/P&gt;&lt;P&gt;This program uses another FM to determine the name of the FM to use itself. The key thing is that when it calls this FM (using a variable to store the actual name), that the parameters match the paramters in your smartform. &lt;/P&gt;&lt;P&gt;Another thing to note is that the FM name will change wherever the SF is transported to.  &lt;/P&gt;&lt;P&gt;So you need to use the FM to determine the name of the SF.  &lt;/P&gt;&lt;P&gt;Here is the code that can be use to determine the internal name of the function module:  &lt;/P&gt;&lt;P&gt;Code:  &lt;/P&gt;&lt;P&gt;    if sf_label(1) &amp;lt;&amp;gt; '/'.    " need to resolve by name  &lt;/P&gt;&lt;P&gt;      move sf_label to externalname.  &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           = externalname  &lt;/P&gt;&lt;P&gt;           importing  &lt;/P&gt;&lt;P&gt;                fm_name            = internalname  &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;      if sy-subrc &amp;lt;&amp;gt; 0.  &lt;/P&gt;&lt;P&gt;        message 'e427'.  &lt;/P&gt;&lt;P&gt;      endif.  &lt;/P&gt;&lt;P&gt;      move internalname to sf_label.  &lt;/P&gt;&lt;P&gt;    endif.  &lt;/P&gt;&lt;P&gt;It checks to see if the sf_label starts with a '/', which is how the internal names start. if it does, the name has already been converted. If not, it calls the FM and converts the name.  &lt;/P&gt;&lt;P&gt;You would then CALL FUNCTION sf_label. &lt;/P&gt;&lt;P&gt;Smartforms FAQ Part Two &lt;/P&gt;&lt;P&gt;Smartforms output difference &lt;/P&gt;&lt;P&gt;Problem with Smartforms: in a certain form for two differently configured printers, there seem to be a difference in the output of characters per inch (the distance between characters which gives a layout problem - text in two lines instead of one.                                      It happens when the two printers having different Printer Controls' if you go to SPAD Menu (Spool Administrator Menu) you can see the difference in the Printer Control and if you make the Printer control setting for both the printers as same. then it will be ok. and also u have to check what is the device type used for both the output devices.  &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 noted spool number. &lt;/P&gt;&lt;P&gt;  SmartForm Doublesided printing question  Your customer wants your PO SmartForm to be able to print "Terms and Conditinos" on the back side of each page. They don't want to purchase pre-printed forms with the company's logo on the front and terms &amp;amp; conditions on the back. Now this presents an interesting problem.  &lt;/P&gt;&lt;P&gt;Has anyone else ever had a request like this? If for example there was a 3 page PO to be printed,  they want 3 pieces of paper, the front side of each to containe the PO information (page 1, 2, and 3) and the back side of each piece of paper to containg the static "Terms &amp;amp; Conditions" information.  &lt;/P&gt;&lt;P&gt;Anyone have a clue how to force this out?  &lt;/P&gt;&lt;P&gt;Easy - page FRONT lists page CONTACTS as next page and CONTACTS lists FRONT as next page. Since CONTACTS does not contain a MAIN window, it will print the contacts info and then continue on to FRONT for the rest of the main items. Additionally, set print mode on FRONT to D (duplex) and set CONTACTS to 'blank' (for both resource name and print mode - this is the only way to get to the back of the page).  &lt;/P&gt;&lt;P&gt;  Transport Smart Forms &lt;/P&gt;&lt;P&gt;How does one transport SMARTFORM? SE01?   &lt;/P&gt;&lt;P&gt;How do you make sure that both, the SMARTFORM &amp;amp; it's function module gets transported? Or does the FM with same name gets generated automatically in the transported client?  &lt;/P&gt;&lt;P&gt;A smartform is transported no differently than any other object. if it is assigned to a development class that is atteched to a transport layer, it will be transported.  &lt;/P&gt;&lt;P&gt;The definition is transported, and when called, the function module is regenerated.  &lt;/P&gt;&lt;P&gt;This leads to an interetsing situation. On the new machine, it is very likely the function module name will be different than the name on the source system. Make sure, before you call the function module, you resolve the external name to the internal name using the 'SSF_FUNCTION_MODULE_NAME' function module.  &lt;/P&gt;&lt;P&gt;Typically, generate the SF, then use the pattern to being in the interface. Then change the call function to use the name you get back from the above function module.  &lt;/P&gt;&lt;P&gt;  Smartforms: protect lines in main window. &lt;/P&gt;&lt;P&gt;How to protect lines in the main window from splitting between pages?  &lt;/P&gt;&lt;P&gt;It was easy with SAPscript, but how to do it with SF's.   For 4.7 version if you are using tables, there are two options for protection against line break:  &lt;/P&gt;&lt;P&gt;- You can protect a line type against page break. &lt;/P&gt;&lt;P&gt;- You can protect several table lines against page break for output in the main area. &lt;/P&gt;&lt;P&gt;Protection against page break for line types  &lt;/P&gt;&lt;P&gt;- Double-click on your table node and choose the Table tab page.  &lt;/P&gt;&lt;P&gt;- Switch to the detail view by choosing the Details pushbutton.  &lt;/P&gt;&lt;P&gt;- Set the Protection against page break checkbox in the table for the relevant line type.  Table lines that use this line type are output on one page.  &lt;/P&gt;&lt;P&gt;Protection against page break for several table lines  &lt;/P&gt;&lt;P&gt;- Expand the main area of your table node in the navigation tree.  &lt;/P&gt;&lt;P&gt;- Insert a file node for the table lines to be protected in the main area.  &lt;/P&gt;&lt;P&gt;- If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&amp;amp;Drop. Otherwise, create the table lines as subnodes of the file.  &lt;/P&gt;&lt;P&gt;- Choose the Output Options tab page of the file node and set the Page Protection option.   All table lines that are in the file with the Page Protection option set are output on one page.  &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;Rohini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 04:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535264#M850630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T04:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535265#M850631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SMARTFORMS:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADVANTAGES OF SMARTFORMS:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------" /&gt;&lt;P&gt;1. Smartforms does not require paragraph formats as a mandatory one.&lt;/P&gt;&lt;P&gt;2. Smartforms does not duplicate the data.&lt;/P&gt;&lt;P&gt;3. Smartforms are Client-independent and language-independent.&lt;/P&gt;&lt;P&gt;4. We can apply styles for the texts using Smartforms.&lt;/P&gt;&lt;P&gt;5. Print programs does not contain any function modules to call the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SMARTFORMS is the Tcode to create smartforms in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smartforms has three components:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------" /&gt;&lt;P&gt;Global Settings:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;1. Form Attributes - Holds the description about the smartform.&lt;/P&gt;&lt;P&gt;2. Form Interface - Holds the import and export parameters for the smartforms.&lt;/P&gt;&lt;P&gt;3. Global Definitions - Used to declare variables for the smartform that can be accessed by any component within the smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pages and Windows:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------" /&gt;&lt;P&gt;This area is used to create new pages, windows (header, footer, constant window, main window, variable window, graphic window).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navigations to create Smartforms:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SMARTFORMS -&amp;gt; Specify form name starting with Z or Y -&amp;gt; Click on Create -&amp;gt; Opens an interface -&amp;gt; Enter short description -&amp;gt; Double click on Form Interface -&amp;gt; Specify following parameter in IMPORT tab button:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STR TYPE C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Expand Pages and Windows -&amp;gt; By default, a Main Window is present -&amp;gt; Right click on Main Window -&amp;gt; Create -&amp;gt; Text -&amp;gt; Opens Form Editor -&amp;gt; To go to line editor, Click on 'Txt Editor' pushbutton on the upper left corner of the form editor -&amp;gt; Specify the variable (&amp;amp;STR&amp;amp;) in the first line of line editor -&amp;gt; Come back -&amp;gt; Save -&amp;gt; Activate -&amp;gt; Execute -&amp;gt; Opens Form Builder with autogenerated function module for the smartform ('/1BCDWB/SF00000042') -&amp;gt; Copy the function module generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To invoke the smartform from SE38 editor, Call the Function module and paste the FM copied from smart form function builder screen as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA NAME(10) VALUE 'INDIA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SF00000042'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    STR                        =    NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Save -&amp;gt; Activate -&amp;gt; Execute in the same way as Sapscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navigations to pass internal table as an argument to Smartforms:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a smartform -&amp;gt; In the Form interface -&amp;gt; Click on Tables tab button -&amp;gt; Specify the following internal table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB LIKE MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Double click on Global Definitions -&amp;gt; Specify the global variable as follows:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB1 LIKE MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Expand Pages and Windows -&amp;gt; Right click on Main Window -&amp;gt; Create -&amp;gt; Table -&amp;gt; Click on Data tab button -&amp;gt; In the LOOP section, for the operand fields, specify the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB INTO ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Right click on Main Area -&amp;gt; Create -&amp;gt; Table Line -&amp;gt; In the Line Type input field, a line type called %LTYPE1 is automatically generated -&amp;gt; Select it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create internal table fields, right click on Text cell -&amp;gt; Create -&amp;gt; Text -&amp;gt; Select General Attributes tab button -&amp;gt; Opens Form Editor -&amp;gt; Goto Line editor by clicking on 'Txt Editor' pushbutton -&amp;gt; Specify the following in the first line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;ITAB1-MATNR&amp;amp;,,&amp;amp;ITAB1-MTART&amp;amp;,,&amp;amp;ITAB1-MBRSH&amp;amp;,,&amp;amp;ITAB1-MEINS&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; Come back -&amp;gt; Save -&amp;gt; Activate -&amp;gt; Execute -&amp;gt; Copy the autogenerated FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SE38 program, specify the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ITAB1 LIKE MARA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM MARA INTO TABLE ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SF00000043'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;  ITAB 	= 	ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save -&amp;gt; Activate -&amp;gt; Execute in the same way as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 04:36:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535265#M850631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T04:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535266#M850632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are Smart Forms?&lt;/P&gt;&lt;P&gt;SAP&amp;#146;s new print form solution, SAP Smart Forms, is the successor of SAPscript. All new&lt;/P&gt;&lt;P&gt;development of forms at SAP will be done using the Smart Form print solution. However,&lt;/P&gt;&lt;P&gt;SAPScript will still be supported for those forms already created in SAPScript, and for customers&lt;/P&gt;&lt;P&gt;who have created their own forms in SAPScript.&lt;/P&gt;&lt;P&gt;SAP Smart Forms is a tool for the maintenance of forms on which application data from the SAP&lt;/P&gt;&lt;P&gt;system can be output. Depending on the application, the number of forms to be printed can be&lt;/P&gt;&lt;P&gt;very high, and they might have to be printed in a short period of time, in a mass printing.&lt;/P&gt;&lt;P&gt;Examples of mass printing are monthly invoices sent by telecom companies or salary statements.&lt;/P&gt;&lt;P&gt;The output of application data is placed into a dynamically expandable table where the size and&lt;/P&gt;&lt;P&gt;layout of the output table is determined by the number of records being retrieved.&lt;/P&gt;&lt;P&gt;What About SAPscript?&lt;/P&gt;&lt;P&gt;Customers can use either SAPScript or Smart Forms as their forms solution. SAP recommends&lt;/P&gt;&lt;P&gt;you use Smart Forms for new developments (from 4.6C), because these forms are much easier&lt;/P&gt;&lt;P&gt;to edit when using the Smart Forms graphical tools. Also, further development is planned for the&lt;/P&gt;&lt;P&gt;Smart Form print solution.&lt;/P&gt;&lt;P&gt;For example, the customer can use a preconfigured Smart Form for the Purchase Order, and a&lt;/P&gt;&lt;P&gt;SAPscript form for the Production Order (if no suitable Smart Form is available), or create the&lt;/P&gt;&lt;P&gt;Smart Form.&lt;/P&gt;&lt;P&gt;While unnecessary, a user&amp;#146;s prior knowledge of SAPScript forms can accelerate their Smart&lt;/P&gt;&lt;P&gt;Forms learning because some tools are used both by Smart Forms and SAPscript (for example,&lt;/P&gt;&lt;P&gt;font maintenance transaction SE73, SAPScript texts, and more).&lt;/P&gt;&lt;P&gt;SAP Smart Form Process Overview&lt;/P&gt;&lt;P&gt;The basic structure of SAP Smart Forms consists of the Smart Form Builder, the Smart Form&lt;/P&gt;&lt;P&gt;print form template (which you create or is given to you as a preconfigured starting point), the&lt;/P&gt;&lt;P&gt;Smart Form function module, and the Smart Form print program (also described as a driver&lt;/P&gt;&lt;P&gt;program).&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;The Smart Form print programs are not the same as SAPScript programs, and you cannot use a&lt;/P&gt;&lt;P&gt;SAPScript print program with a Smart Form print form.&lt;/P&gt;&lt;P&gt;Programming Flow&lt;/P&gt;&lt;P&gt;When an SAP Smart Form template is created, a user creates the form layout, defines the&lt;/P&gt;&lt;P&gt;required fields, conditions, and special programming instructions in the Smart Form template&lt;/P&gt;&lt;P&gt;using the Smart Form Builder.&lt;/P&gt;&lt;P&gt;After the form design is complete, the form needs to be activated before it can be tested or&lt;/P&gt;&lt;P&gt;accessible by print programs.Activating the form initiates the generation of a function module that&lt;/P&gt;&lt;P&gt;handles all of the form&amp;#146;s processing.&lt;/P&gt;&lt;P&gt;This function module interacts with the application program and print program to create the output&lt;/P&gt;&lt;P&gt;in the user-defined output media for the specified device.&lt;/P&gt;&lt;P&gt;Smart Form Architecture Diagram&lt;/P&gt;&lt;P&gt;Data Retrieval&lt;/P&gt;&lt;P&gt;Application&lt;/P&gt;&lt;P&gt;Program&lt;/P&gt;&lt;P&gt;Smart Form&lt;/P&gt;&lt;P&gt;Form Logic&lt;/P&gt;&lt;P&gt;ABAP&lt;/P&gt;&lt;P&gt;Function&lt;/P&gt;&lt;P&gt;Module&lt;/P&gt;&lt;P&gt;(generated)&lt;/P&gt;&lt;P&gt;Output Device&lt;/P&gt;&lt;P&gt;Web Browser&lt;/P&gt;&lt;P&gt;Printer&lt;/P&gt;&lt;P&gt;Fax&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;Smart Form Components&lt;/P&gt;&lt;P&gt;SAP Smart Form Builder&lt;/P&gt;&lt;P&gt;The main SAP Smart Form interface is the Smart Form Builder. Call this transaction by entering&lt;/P&gt;&lt;P&gt;the transaction code smartforms in the Command field.&lt;/P&gt;&lt;P&gt;The initial screen allows you to enter the name of the form you want to modify or copy, or you can&lt;/P&gt;&lt;P&gt;create a new form.&lt;/P&gt;&lt;P&gt;After entering the name of the form in the Formular (or form) field, select the desired button:&lt;/P&gt;&lt;P&gt;either Display, Change, or Create. The SAP Form Builder screen appears next.&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;Smart Form Builder Components&lt;/P&gt;&lt;P&gt;Smart Form Builder Screen&lt;/P&gt;&lt;P&gt;The three frames of Smart Forms Builder screen are the:&lt;/P&gt;&lt;P&gt;&amp;#149; Navigation menu: This frame appears on the left of the screen.&lt;/P&gt;&lt;P&gt;&amp;#149; Maintenance frame: This frame appears in the middle of the screen.&lt;/P&gt;&lt;P&gt;&amp;#149; Form Painter frame: This frame appears on the right of the screen. If your Form Painter is&lt;/P&gt;&lt;P&gt;not visible on the screen, choose Form Painter. You can control whether the Form Painter&lt;/P&gt;&lt;P&gt;is visible or hidden using this button.&lt;/P&gt;&lt;P&gt;Each frame can be resized by clicking and dragging the borders.&lt;/P&gt;&lt;P&gt;By a selecting a node in the navigation menu, the view in the other frames changes&lt;/P&gt;&lt;P&gt;as follows:&lt;/P&gt;&lt;P&gt;&amp;amp;#8722; Maintenance frame: By double-clicking on the desired navigation menu node, the&lt;/P&gt;&lt;P&gt;corresponding information (general attributes, options, and conditions) is&lt;/P&gt;&lt;P&gt;selected.&lt;/P&gt;&lt;P&gt;Maintenance Navigation Menu Frame Form Painter&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;&amp;amp;#8722; Form Painter: By single or double-clicking on the desired navigation menu node,&lt;/P&gt;&lt;P&gt;the appearance of the Form Painter changes to highlight the corresponding&lt;/P&gt;&lt;P&gt;ouput area (the box with the label based on the node label in the navigation&lt;/P&gt;&lt;P&gt;menu) is highlighted.&lt;/P&gt;&lt;P&gt;&amp;amp;#8722; You can reposition the output area box by dragging and dropping it to a new&lt;/P&gt;&lt;P&gt;position.&lt;/P&gt;&lt;P&gt;Smart Form Print Form Template&lt;/P&gt;&lt;P&gt;A Smart Form print form is designed using the Smart Form Builder. This formdoes not create the&lt;/P&gt;&lt;P&gt;final output. The Smart Form function module, generated by the Smart Form print form, creates&lt;/P&gt;&lt;P&gt;the output.&lt;/P&gt;&lt;P&gt;Smart Form Function Module&lt;/P&gt;&lt;P&gt;The Smart Form function module is the code generated automatically when you activate your&lt;/P&gt;&lt;P&gt;Smart Form print form. Each time you make a change to your print form in the Smart Form&lt;/P&gt;&lt;P&gt;Builder, the change needs to be activated in the Smart Form Builder before taking effect in your&lt;/P&gt;&lt;P&gt;output.&lt;/P&gt;&lt;P&gt;Smart Form Print Program&lt;/P&gt;&lt;P&gt;The Smart Form print program is where the majority of data extraction occurs. Typically, one&lt;/P&gt;&lt;P&gt;Smart Form print program should be associated with one type of form. For example, the Smart&lt;/P&gt;&lt;P&gt;Form purchase order has a corresponding Smart Form purchase order print program that only&lt;/P&gt;&lt;P&gt;handles data extraction for that form.&lt;/P&gt;&lt;P&gt;This one-to-one relationship improves the transparency for the user between what is being&lt;/P&gt;&lt;P&gt;performed in the form versus the print program.&lt;/P&gt;&lt;P&gt;We recommend that customer-specific customization be performed in the Smart Form print form,&lt;/P&gt;&lt;P&gt;and not in the Smart Form print program.&lt;/P&gt;&lt;P&gt;Amajor benefit of the Smart Form print solution over SAPscript is that if the layout or&lt;/P&gt;&lt;P&gt;order of information changes in the Smart Form print form, you do not need to alter&lt;/P&gt;&lt;P&gt;the print program. The layout of data on the form is controlled only in the Smart Form&lt;/P&gt;&lt;P&gt;print form.&lt;/P&gt;&lt;P&gt;Specifics about Smart Form Development&lt;/P&gt;&lt;P&gt;Important Objects for Form Development&lt;/P&gt;&lt;P&gt;The following objects can be edited from the Smart Forms initial screen (transaction&lt;/P&gt;&lt;P&gt;SMARTFORMS):&lt;/P&gt;&lt;P&gt;&amp;#149; Smart Style: Each form uses at least one Smart Style. A style is a collection of paragraph&lt;/P&gt;&lt;P&gt;and character formats.&lt;/P&gt;&lt;P&gt;&amp;#149; Text modules: Forms can include text modules (encapsulated text), making it possible to&lt;/P&gt;&lt;P&gt;reuse texts in several forms.&lt;/P&gt;&lt;P&gt;&amp;#149; The form itself: The form contains form processing logic, content, and layout, and refers to&lt;/P&gt;&lt;P&gt;Smart Styles and text modules. The form is also called a Smart Form.&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;The objects are cross-client and have a translation connection (but until now no workbench&lt;/P&gt;&lt;P&gt;connection). You can include old SAPscript texts in a Smart Form using include texts. However,&lt;/P&gt;&lt;P&gt;all SAPscript commands will be ignored.&lt;/P&gt;&lt;P&gt;Graphics&lt;/P&gt;&lt;P&gt;Graphics to be used in forms must first be stored on the Business Document Server (BDS) of the&lt;/P&gt;&lt;P&gt;SAP System (as a bitmap image or TIFF). The transaction code SE78 is used for this purpose.&lt;/P&gt;&lt;P&gt;Applications graphics include:&lt;/P&gt;&lt;P&gt;&amp;#149; Logos&lt;/P&gt;&lt;P&gt;&amp;#149; Preprinted forms that are scanned in as background pictures&lt;/P&gt;&lt;P&gt;Templates and Tables&lt;/P&gt;&lt;P&gt;SAP Smart Forms has a powerful new tool called the Table Painter. The Table Painter provides&lt;/P&gt;&lt;P&gt;more powerful functionality over SAPScript. For example, table and template outputs that are&lt;/P&gt;&lt;P&gt;rather difficult to create in SAPscript are much easier in Smart Forms. One exciting feature in&lt;/P&gt;&lt;P&gt;Smart Forms is the ability to create dynamically expandable tables.&lt;/P&gt;&lt;P&gt;In Smart Forms, although templates still have a fixed number of rows, the number of rows in a&lt;/P&gt;&lt;P&gt;Smart Form table can be dynamic. In both Smart Form templates and tables, you can determine&lt;/P&gt;&lt;P&gt;how many cells a line of a table output should have using the Table Painter's row types.&lt;/P&gt;&lt;P&gt;Additionally, you can use a scanned-in image of a preprinted third-party form (such as a W2 form&lt;/P&gt;&lt;P&gt;for Employee Earnings in the U.S.) as a background image in the creation of templates. A&lt;/P&gt;&lt;P&gt;background image proves especially useful when laying out fields on a template. This&lt;/P&gt;&lt;P&gt;background image can either be printed or not when the form is output.&lt;/P&gt;&lt;P&gt;Tables&lt;/P&gt;&lt;P&gt;When you work on a table node in your form, the node is marked with the table icon . In the&lt;/P&gt;&lt;P&gt;maintenance frame, you get a new type of tab, the Table tab. See below.&lt;/P&gt;&lt;P&gt;On this tab, you can define the table characteristics, and turn on the Table Painter to help lay out&lt;/P&gt;&lt;P&gt;the rows and columns. Turn on the Table Painter by choosing Table Painter.&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;The display in the Table Painter does not exactly show what the actual output will be, because&lt;/P&gt;&lt;P&gt;the depth of a table row output depends dynamically on the number of records received from the&lt;/P&gt;&lt;P&gt;application. Instead, the rows displayed in the Table Painter all display the same table depth.&lt;/P&gt;&lt;P&gt;For tables, know that:&lt;/P&gt;&lt;P&gt;&amp;#149; The application data is selected in the application program and transferred to the form using&lt;/P&gt;&lt;P&gt;the form interface.&lt;/P&gt;&lt;P&gt;&amp;#149; In contrast to the template node, the table node has another tab called the Data tab. On this&lt;/P&gt;&lt;P&gt;tab, you enter the internal table whose data is to be output. The data is read to a work area in&lt;/P&gt;&lt;P&gt;row format.&lt;/P&gt;&lt;P&gt;&amp;#149; The table layout is determined using row types (same for templates).&lt;/P&gt;&lt;P&gt;&amp;#149; A header area (for table headers), main area (for items of the table), and footer area (for&lt;/P&gt;&lt;P&gt;whole sums, or similar) are table output areas. Table rows are created as subnodes of these&lt;/P&gt;&lt;P&gt;areas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 04:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535266#M850632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T04:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535267#M850633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i am sending the links .you go through these links you will get information about smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-001.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-001.htm&lt;/A&gt;&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.sap-img.com/smartforms/advantages-of-sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/advantages-of-sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smartform-sapscripts.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smartform-sapscripts.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-002.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-006.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-006.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/a-sample-program-calling-smartform.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/a-sample-program-calling-smartform.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Chaithanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 05:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535267#M850633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T05:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535268#M850634</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Difference with SMARTFORMS vs. SapScript(SE71)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Following are the differences :-&lt;/STRONG&gt;&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;Hope this is useful...Reward points if helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ginni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 05:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535268#M850634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T05:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: regarding smart forms (really urgent)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535269#M850635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is a simple smart form to display header and item details.&lt;/P&gt;&lt;P&gt;create a layout in samrtform transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--&lt;/STRONG&gt;&lt;DEL&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="------" /&gt;Declarations of WORKAREAS AND INTERNAL TABLES--&lt;HR originaltext="---------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_ekpo TYPE z50889_ekpo_table,&lt;/P&gt;&lt;P&gt;      wa_lfa1 TYPE z50889_lfa1,&lt;/P&gt;&lt;P&gt;      wa_ekko TYPE z50889_ekko.&lt;/P&gt;&lt;P&gt;      DATA:V_NAME TYPE RS38L_FNAM.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------" /&gt;Declarations of Parameters -&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;PARAMETER:p_sales TYPE ekko-ebeln.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;*Fetching data from Purchase Order Header&lt;/P&gt;&lt;P&gt;SELECT SINGLE ebeln&lt;/P&gt;&lt;P&gt;              lifnr&lt;/P&gt;&lt;P&gt;      FROM ekko&lt;/P&gt;&lt;P&gt;      INTO wa_ekko&lt;/P&gt;&lt;P&gt;      WHERE ebeln = p_sales.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE E003(Z50850MESSAGE).&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;*Fetching data from vendor master table&lt;/P&gt;&lt;P&gt;SELECT SINGLE lifnr&lt;/P&gt;&lt;P&gt;              land1&lt;/P&gt;&lt;P&gt;              name1&lt;/P&gt;&lt;P&gt;              ort01&lt;/P&gt;&lt;P&gt;              pstlz&lt;/P&gt;&lt;P&gt;              regio&lt;/P&gt;&lt;P&gt;            FROM lfa1&lt;/P&gt;&lt;P&gt;            INTO wa_lfa1&lt;/P&gt;&lt;P&gt;            WHERE lifnr = wa_ekko-lifnr.&lt;/P&gt;&lt;P&gt;*Fetching data from Purchase Order Items&lt;/P&gt;&lt;P&gt;SELECT ebeln&lt;/P&gt;&lt;P&gt;       ebelp&lt;/P&gt;&lt;P&gt;       ematn&lt;/P&gt;&lt;P&gt;       bukrs&lt;/P&gt;&lt;P&gt;       werks&lt;/P&gt;&lt;P&gt;       netwr&lt;/P&gt;&lt;P&gt;     FROM ekpo&lt;/P&gt;&lt;P&gt;     INTO TABLE it_ekpo&lt;/P&gt;&lt;P&gt;     WHERE ebeln = wa_ekko-ebeln.&lt;/P&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                 = 'Z50889_PO_SMARTFORM'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        FM_NAME                  = V_NAME&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        NO_FORM                  = 1&lt;/P&gt;&lt;P&gt;        NO_FUNCTION_MODULE       = 2&lt;/P&gt;&lt;P&gt;        OTHERS                   = 3&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;     IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;***calling function module&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SF00000723'&lt;/P&gt;&lt;/LI&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;   OUTPUT_OPTIONS             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    wa_lfa1                    = wa_lfa1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    wa_ekko                    = wa_ekko&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   DOCUMENT_OUTPUT_INFO       = DOCUMENT_OUTPUT_INFO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   JOB_OUTPUT_INFO            = JOB_OUTPUT_INFO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   JOB_OUTPUT_OPTIONS         = JOB_OUTPUT_OPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    it_ekpo                    = it_ekpo&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   FORMATTING_ERROR           = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   INTERNAL_ERROR             = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   SEND_ERROR                 = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   USER_CANCELED              = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;   OTHERS                     = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" 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="2" 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;LI level="1" type="ul"&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;**/1BCDWB/SF00000723&lt;/P&gt;&lt;P&gt;CALL FUNCTION V_NAME&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    wa_lfa1                    = wa_lfa1&lt;/P&gt;&lt;P&gt;    wa_ekko                    = wa_ekko&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    it_ekpo                    = it_ekpo&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kavitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 05:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-smart-forms-really-urgent/m-p/3535269#M850635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-06T05:22:58Z</dc:date>
    </item>
  </channel>
</rss>

