Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What are Smartforms and SAPscripts?

Former Member
0 Likes
2,726

Hey Everyone,

Where do we use Smartforms and SAPscripts...how to we create these...if u have step step procedures that will be helpful...

Thanks in Advance...

Cheers:

Jim

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,202

Hi Jimmy,

SAP Scripts and SmartForms are the techniques to create layout sets i.e. Forms in which data can be displayed.

e.g. If u sell something, then u need to create a Sales Order. Now, for a Sales Order there will be a specific format in which it is created. One way is to again and again manually feed the data to the Sales Order format and get the desired Sales Order. Other way is to design a layout and then programmatically filling the data by just giving say, a Sales Order Number. This thing can be achieved using SAP Scripts and Smartforms.

Now a days, SAP Scripts is now overtaken by Smartforms which minimizes the need of coding and provides a programmer-friendly approach to design the layout and Pront Programs.

SAP SCripts can be accessed using SE71. Smart Forms can be accesed using Transaction SMARTFORMS.

Regards,

Himanshu

8 REPLIES 8
Read only

Former Member
0 Likes
2,203

Hi Jimmy,

SAP Scripts and SmartForms are the techniques to create layout sets i.e. Forms in which data can be displayed.

e.g. If u sell something, then u need to create a Sales Order. Now, for a Sales Order there will be a specific format in which it is created. One way is to again and again manually feed the data to the Sales Order format and get the desired Sales Order. Other way is to design a layout and then programmatically filling the data by just giving say, a Sales Order Number. This thing can be achieved using SAP Scripts and Smartforms.

Now a days, SAP Scripts is now overtaken by Smartforms which minimizes the need of coding and provides a programmer-friendly approach to design the layout and Pront Programs.

SAP SCripts can be accessed using SE71. Smart Forms can be accesed using Transaction SMARTFORMS.

Regards,

Himanshu

Read only

Former Member
0 Likes
2,202

HI

Check if the following helps

SAP Script

SAP script is the SAP System's own text-processing system.It looks and feels a lot like other leading text-processing systems.It is used to print preformatted text in preformatted forms.SAP script is tightly integrated into the SAP System

Eg

Accounting clerks create texts concerning materials, orders, customers, vendors, and so on. They usually know only the SAPscript editor.

To output documents using the programming interface, R/3 application programs need so-called layout sets (a kind of form)

In SAP script a layout set describes the layout of the individual print pages and uses text elements to supply definable output blocks, which a print program can call.

A layout set can be defined as a page design for a document

Usually a SAPscript form consists of the following objects:

Header Data

Paragraph and Character Formats

Windows and Text Elements

Pages

Page Windows

Transaction::: se71

SMARTFORMS:

SAP Smart Forms is used to create and maintain forms for mass printing in SAP Systems. As output medium SAP Smart Forms support a printer, a fax, e-mail, or the Internet (by using the generated XML output).SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts.SmartForms are easier to develop, maintain and transport than SAP Script.

Transaction SMARTFORMS

<b>PLEASE REWARD IF USEFUL</b>

Regards

Dinesh

Read only

Former Member
0 Likes
2,202

Hi Jimmy,

What is SAP Script?

SAP Script is the SAP System's own text-processing system. SAP Script is integrated text management system of the SAP R/3 system

Why SAP Script?

It is used to print preformatted text in preformatted forms. Unlike reports, the text can be aligned, different fonts can be used. Company Logo can be printed.

How to go about creating Forms?

A layout set is defined as a page design for a document. A layout set specifies the page design by defining one or more windows and arranging them on a page. Layout set on its own does not contain any data.

The selection of data for the document is done through the print program. The print program selects the data from database table and feeds it to the layout set. When the print program is executed the document is printed.

<b>What are Smart Forms?</b>

SAP’s new print form solution, SAP Smart Forms, is the successor of SAPscript. All newdevelopment of forms at SAP will be done using the Smart Form print solution. However,SAPScript will still be supported for those forms already created in SAPScript, and for customerswho have created their own forms in SAPScript.

SAP Smart Forms is a tool for the maintenance of forms on which application data from the SAPsystem can be output. Depending on the application, the number of forms to be printed can bevery high, and they might have to be printed in a short period of time, in a mass printing.

Examples of mass printing are monthly invoices sent by telecom companies or salary statements.The output of application data is placed into a dynamically expandable table where the size andlayout of the output table is determined by the number of records being retrieved.

<b>What About SAPscript?</b>

Customers can use either SAPScript or Smart Forms as their forms solution. SAP recommends you use Smart Forms for new developments (from 4.6C), because these forms are much easier to edit when using the Smart Forms graphical tools. Also, further development is planned for theSmart Form print solution.

For example, the customer can use a preconfigured Smart Form for the Purchase Order, and a SAPscript form for the Production Order (if no suitable Smart Form is available), or create the Smart Form. While unnecessary, a user’s prior knowledge of SAPScript forms can accelerate their Smart Forms learning because some tools are used both by Smart Forms and SAPscript (for example,

font maintenance transaction SE73, SAPScript texts, and more).

Hopr this Helps....

Regards

Jitendra

Read only

Former Member
Read only

Former Member
0 Likes
2,202

hi jimmy,

both sap scripts and smart forms are used for preparing layouts [ any bills, purchase order forms, quotaion bills, delivery bills............] for a company.

SAP script is a layout set that describes the layout of the individual print pages and uses text elements to supply definable output blocks, which a print program can call.

A layout set can be defined as a page design for a document

Usually a SAPscript form consists of the following objects:

Header Data [ general data ]

Paragraph and Character Formats [ used in pages of scripts ]

Windows and Text Elements [ for designing of a page ]

Pages

Page Windows

Transaction::: se71

scripts are client -dependent.

SMARTFORMS:

SAP Smart Forms is used to create and maintain forms for mass printing in SAP Systems. As output medium SAP Smart Forms support a printer, a fax, e-mail, or the Internet (by using the generated XML output).SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts.SmartForms are easier to develop, maintain and transport than SAP Script.

Transaction SMARTFORMS

smart forms are client independent. when compared to scripts coding is very less in smart forms. in smart forms we are styles separately

if helpful reward some points.

with regards,

suresh.

Read only

Former Member
0 Likes
2,202

Smartform is client indep.

Scripts is client dependent.

Smartform will generate function module.

Script will not.

Tcode for scripts is se71

Tcode for smartforms is smartforms

go to sap library ............ their u can find the step by step procedure............

SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.

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.

Execute transaction SMARTFORMS to start SAP Smart Forms.

Key Benefits of SAP Smart Forms:

SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time. 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.

To make changes, use Drag & Drop, Copy & Paste, and select different attributes. These actions do not include writing of coding lines or using a Script language.

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. For Web publishing, the system provides a generated XML output of the processed form. 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.

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.

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.

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.

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.

SAP Smart Forms also support postage optimizing.

Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C

Example Forms Available in Standard SAP R/3

SF_EXAMPLE_01

Simple example; invoice with table output of flight booking for one customer

SF_EXAMPLE_02

Similar to SF_EXAMPLE_01 but with subtotals

SF_EXAMPLE_03

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.

Also check this step by step procedure to create SMARTFORMS:

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

Look through for example these links for details about Smart Forms:

http://www.sap-press.com/downloads/h955_preview.pdf

http://www.sap-basis-abap.com/sapsf001.htm

http://www.ossincorp.com/Black_Box/Black_Box_2.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://esnips.com/doc/7e67af5c-6188-4252-8613-41816756d560/from-sappres.pdf

http://esnips.com/doc/58566115-54a4-4405-8872-8de952e245e5/smartform.pdf

http://esnips.com/doc/13b7ae7a-b32c-4b96-b588-881859d4ac99/Template,Table,Loop,Command-in-Smartforms...

http://esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf

http://esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt

http://www.sapgenie.com/abap/smartforms.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm

http://www.sapgenie.com/abap/smartforms.htm

http://www.sapgenie.com/abap/smartforms_described.htm

http://www.sapgenie.com/abap/smartforms_detail.htm

http://www.sapgenie.com/abap/smartforms_sapscript.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm

http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html

Read only

Former Member
0 Likes
2,202

Hi

Please refer to the following links.

They are really helpful.

SAP SACRITS:

http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf

http://www.sappoint.com/abap/sscrtpex1.pdf

http://www.sap-img.com/sapscripts.htm

http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf

http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html

http://www.sap-img.com/sapscripts.htm

http://sappoint.com/abap/

http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm

http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm

http://sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html

http://www.sap-img.com/sapscripts.htm

http://sappoint.com/abap/

http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm

SMARTFORMS:

http://sap.ionelburlacu.ro/sap0/sapsf001.htm

http://www.erpgenie.com/abap/smartforms.htm

http://www.erpgenie.com/abap/smartforms_detail.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d937ec90-0201-0010-0ca8-b6cb3b6d...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b590fd97-0301-0010-db90-d09ff93c...

Subroutine in smartform

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501...

Style and mailing the Smartform output

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-001...

Table,Template,Loop and Command in Smartform

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501...

check most imp link

http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html

step by step good ex link is....

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

Check these step-by-step links

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501...

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-001...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501...

Difference Smart forms and sap scripts:

https://forums.sdn.sap.com/click.jspa?searchID=1714369&messageID=3000244

https://forums.sdn.sap.com/click.jspa?searchID=1714369&messageID=3011116

https://forums.sdn.sap.com/click.jspa?searchID=1714369&messageID=3139710

Please don’t forget to reward if useful.

Regards,

Sachin

Read only

Former Member
0 Likes
2,202

HI Jim,

One additional information - after sapscript, smartform came into sap in the yr 2k and now interactive PDFforms

some information abt this form

/people/markus.meisl/blog/2006/12/22/a-pdf-form-or-not-a-pdf-form--that-is-the-often-the-question