By Aravind D.
Objectives:
Need of SAP Smartform
What is an SAP Smartform How a smartform works
Smartform and Driver program
Final Display/Print
Need of a Smartform
Every company regularly needs to print large numbers
of documents with a consistent design, such as invoices or delivery notes. To do this, they must use their business application software. Documents can be output to a printer, a fax device or as e-mails. Starting with R/3 Release 4.6C, SAP provides a new tool for form processing - SAP Smart Forms. This tool includes utilities for designing forms and for defining the interface to the application programs that use forms for data output.
Smartform Basic working
Form generation
Designing SAP Smart Forms
ADDRESS1 LOGO INFO ADDRESS2
MAIN
FUNCTION /1BCDWB/SF00000001 DATA: %INPUT TYPE SSFCOMPIN, %RESULT_OP TYPE SSFCRESOP,
FOOTER
...
SAP Form Builder:
What? Where? What size? How often? Where from?
Generated function module
SAP AG 1999
Screen of Smartforms
Initial Screen: Maintaining Forms
Smart Forms Edit Goto Utilities System Help
SAP Smart Forms: Initial Screen
Copy Z... Test
Form Style Text module
BC470_INVOICE
Display
Change
Create
SAP AG 1999
Areas of the SAP Form Builder
Form Edit Goto Utilities Environment System Help
SAP Form Builder: Change Form ZBC470_INVOICE
FormZBC470_INVOICE Global settings Pages and windows FIRST First page LOGO Company logo MAIN Main window INTRO Salut. ADDRESS Address INFO Clerk SENDER Sender NEXT Next page
Window Description
MAIN Letter text
SENDER
INFO Gen. attributes Output options Cond. ADDRESS
MAIN Main window
Navigation tree
SAP AG 1999
Maintenance screen
Form Painter
The Navigation Tree
Form ZBC470_INVOICE Global settings Form attributes Form interface Global definitions Pages and windows FIRST First page ADDRESS Address LOGO Company logo MAIN Main window INTRO Salutation Successor node of LOGO 3 types of direct subnodes of a page
SAP AG 1999
Main Window and Secondary Windows
Fly & Smile 4 Truckee Way NY, NY 12456-4574 Turnaround Ltd. 1, Main Street Miami, FL 34535 Dear Sir or Madam, Yours faithfully, we would like to thank you for your order ... and confirm the following bookings: Flight Date Departure Price --------------------------------------------------AA 0017 06/20/00 13:15 799.00 USD AA 2017 07/28/00 21:55 829.00 USD LH 0400 07/21/00 6:07 398.80 EUR Page 1 Secondary windows Invoice Page 2 Clerk: Favretti Tel.: (212) 99-10 Fax: (212) LH 99-12 0400 08/28/00 6:07 398.80 EUR Date: 10/16/2000 LH 0400 09/04/00 6:07 398.80 EUR LH 0003 10/10/00 15:06 990.00 EUR
Main window (body text)
SAP AG 1999
The Form Painter
Form Painter
SENDER LOGO
INFO
Detachable toolbar
ADDRESS
Ruler
MAIN
Grid
Create Cut Copy Paste Delete Into background
Sizing handles
SAP AG 1999
Activating and Testing Forms
Form Edit Goto Utilities System Help
SAP Form Builder: Change Form ZBC470_INVOICE
o u
F8 Check F8 Activate F8 F8
Print Preview Page 0001 of 0003
Fly & Smile 4 Truckee Way New York, NY 12456-4574
Fly & Smile, 4 Truckee Way, New York, NY 12456-4574
Test print without data selection
SAP AG 1999
Invoice Clerk: Favretti Tel.: (212) 99-10 Fax: (212) 99-12 Date: 10/16/2000
Dear Sir or Madam, we would appreciate payment of the following invoice as
Thank You