Вы находитесь на странице: 1из 2

SAP R/3 Release 4.

7
Exercises: SAPScript SAP Development ABAP Training
1. Create a SAP Script 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 nm!er !"#$-!"%L&'. (nce the user enters the invoice number on
the selection screen and e)ecutes* the SAP Script should be printed for the invoice.
Sample invoice+
Data ,apping+
,arch -../
Page 1
Date: .10.10-..2
1-23/45
Sidhartha Shan6ar
7tm no. ,aterial &um "illed 8ty 9o, 9nit Price Amount
1. :154/3 / PC 1.... /....
-. 154/32 - PC /.... 1.....
2. 54/32- -. PC /... 1.....
IB" con#i$ential Page 1 of 2
T%is is a sample invoice #or t%e IB" training session an$ is not vali$ #or external se
Invoice Print
Invoice nm!er:
Printe$ !&:
SAP R/3 Release 4.7
Exercises: SAPScript SAP Development ABAP Training
Print item %)traction logic
IB" logo 9pload the bitmap 7", logo as a ;#AP<7CS ob=ect and
display it on the top left corner
Date Print the label and current date on the top right hand corner
'Invoice print( <ard coded te)t
Invoice nm!er >ield !"#$-!"%L& !alue should be e)tracted in print
program'
Printe$ !& ?he user name S@-9&A,%' should be printed against the
label
Item no. ?he invoice item level details should be e)tracted in print
program and printed in the given format. ?he 7tem no. is the
field !"#P-P(S&#
"aterial )m ?he ,aterial number of the "illing item can be got from the
field !"#P-,A?&#
Bille$ *t& "illing 7tem level field !"#P->$7,;
+o" 9nit of ,easure of "illed 8ty A field !"#P-!#$,%
+nit price Calculate this field as 9nit price B Amount0"illed 8ty
Amont "illing 7tem level field !"#P-&%?C#
IB" ,on#i$ential <ard coded te)t at the footer
Page Print the page number as Page D of @
D A SAP Script symbol EPA;%E
@ A Symbol ESAPSC#7P?->(#,PA;%SE
-ooter text 'T%is is..( <ard coded te)t to be printed immediately below F7",
ConfidentialG
,arch -../
Page -

Вам также может понравиться