ECC 6.0 Exercises: Smart Forms SAP Development ABAP Training
ECC 6.0 Exercises: Smart Forms SAP Development ABAP Training
0
Exercises: Smart Forms
1. Create a Smart Form print program and Layout Set to print an invoice. A sample invoice and
the data mapping for the fields are given below. Develop a print program with a selection-screen
having the field Invoice number (VBRK-VBELN). Once the user enters the invoice number on
the selection screen and executes, the Smart Form should be printed for the invoice.
Sample invoice:
Date:
01/08/2003
Invoice Print
Invoice number:
Printed by:
Itm no.
10
20
30
1234567
Sidhartha Shankar
Material Num
987654
876543
765432
Billed Qty
5
2
20
UoM
PC
PC
PC
Unit Price
10.00
50.00
5.00
Amount
50.00
100.00
100.00
IBM confidential
Page
This is a sample invoice for the IBM training session and is not valid for external use
1 of 3
Data Mapping:
Print item
IBM logo
Date
Invoice print
Invoice number
Printed by
Extraction logic
Upload the bitmap IBM logo as a GRAPHICS object and
display it on the top left corner
Print the label and current date on the top right hand corner
Hard coded text
Field VBRK-VBELN (Value should be extracted in print
program)
The user name (SY-UNAME) should be printed against the
label
Dec-2008
Page 1
ECC 6.0
Exercises: Smart Forms
Item no.
Material Num
Billed qty
UoM
Unit price
Amount
IBM Confidential
Page
Footer text This is.
Dec-2008
Page 2