Tải bản đầy đủ (.pdf) (298 trang)

Johnson printing service SAPscript made easy 4 6 jan 2000 ISBN 1893570142 pdf

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (13.45 MB, 298 trang )

lZiŒ|‹‚‰
fz}~ ^zŒ’
Š

Z

Z l~‰F{’Fl~‰ `Ž‚}~ ˆ _ˆ‹† ]~Œ‚€‡
z‡} i‹‚‡ˆŽ ‚‡ kHL

lZi ez{ŒE b‡|G
3DOR $OWR &DOLIRUQLD


\ˆ‰’‹‚€
© 1999 by SAP AG. All rights reserved.
Neither this documentation nor any part of it may be copied or reproduced in
any form or by any means or translated into another language, without the
prior consent of SAP AG.

]‚Œ|…z‚†~‹
SAP AG makes no warranties or representations with respect to the content
hereof and specifically disclaims any implied warranties of merchantability or
fitness for any particular purpose. SAP AG assumes no responsibility for any
errors that may appear in this document. The information contained in this
document is subject to change without notice. SAP AG reserves the right to
make any such changes without obligation to notify any person of such
revision or changes. SAP AG makes no commitment to keep the information
contained herein up to date.

m‹z}~†z‹„Œ
SAP, the SAP logo, R/2, R/3, SAPscript, ABAP, and other SAP related


products mentioned herein are registered or unregistered trademarks of SAP
AG. All other products mentioned in this document are registered or
unregistered trademarks of their respective companies.

Simplification Group
SAP Labs, Inc.
3475 Deer Creek Road
Palo Alto, CA 94304
ZZZVDSODEVFRPVLPSOH
VLPSOLI\U#VDSFRP

Printed in the United States of America.
ISBN 1-893570-14-2


&217(176

b‡‹ˆ}Ž|‚ˆ‡

JJ
h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JJ
pz bŒ ‚Œ `Ž‚}~ Z{ˆŽX G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JK
pˆ lˆŽ…} k~z} ‚Œ `Ž‚}~X G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JK
$VVXPSWLRQV                                                  
aˆ ˆ nŒ~ ‚Œ `Ž‚}~X G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JL
+RZ ,V WKH *XLGH 2UJDQL]HG"                                    
3DUW  /HDUQLQJ 6$3VFULSW %DVLFV                               
3DUW  0RGLI\LQJ 6$3VFULSW )RUPV                              
3DUW  &XVWRPL]LQJ $SSOLFDWLRQV IRU 6$3VFULSW )RUPV                
3DUW  $SSHQGL[HV                                          

pz@Œ g~ ‚‡ ‚Œ `Ž‚}~X G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JM
\ˆ‡~‡‚ˆ‡Œ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JN

iz‹ JS e~z‹‡‚‡€ lZiŒ|‹‚‰ [zŒ‚|Œ
\z‰~‹ JS lZiŒ|‹‚‰ _ˆ‹†ŒS m~ [‚€ i‚|Ž‹~

JR

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KI
pz Z‹~ lZiŒ|‹‚‰ _ˆ‹†ŒX G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KI
([DPSOHV RI 6$3VFULSW )RUPV                                     
pz bŒ ~ Z‹|‚~|Ž‹~ ˆ lZiŒ|‹‚‰ _ˆ‹†ŒX G G G G G G G G G G G G G G G G KJ
aˆ Z‹~ lZiŒ|‹‚‰ _ˆ‹†Œ i‹ˆ|~ŒŒ~}X G G G G G G G G G G G G G G G G G G G G G G KL
pz Z‹~ ~ ]‚~‹~‡ lˆŽ‹|~Œ ˆ lZiŒ|‹‚‰ _ˆ‹†ŒX G G G G G G G G G G KL
6WDQGDUG 6$3VFULSW )RUPV 6RPH ([DPSOHV                          


M

SAPscript Made Easy | Release 4.6

3UHFRQILJXUHG 6$3VFULSW )RUPV 6RPH ([DPSOHV                      
p~‹~ ˆ _‚‡} ~ lZiŒ|‹‚‰ _ˆ‹†Œ ’ˆŽ g~~} G G G G G G G G G G G G G G G G KN

\z‰~‹ KS lZiŒ|‹‚‰ _ˆ‹†ŒS m~ [zŒ‚|Œ

KP

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KQ
pz Z‹~ _ˆ‹† fz‡z€~†~‡ mˆˆ…ŒX G G G G G G G G G G G G G G G G G G G G G G G KQ

)RUP 3DLQWHU                                                  
$FFHVVLQJ WKH )RUP 3DLQWHU                                    
3& (GLWRU                                                     
$FFHVVLQJ WKH 3& (GLWRU YLD )RUP 3DLQWHU                         
$FFHVVLQJ WKH 3& (GLWRU YLD 6WDQGDUG 7H[W                        
Z|‚z‚‡€ ~ `‹z‰‚|z… _ˆ‹† iz‚‡~‹ z‡} i\ ^}‚ˆ‹ G G G G G G G G G G LM
pz Z‹~ ~ _ˆ‹† \ˆ†‰ˆ‡~‡ŒX G G G G G G G G G G G G G G G G G G G G G G G G G G LN
+HDGHU                                                      
3DUDJUDSK )RUPDWV                                             
&KDUDFWHU )RUPDWV                                              
3DJH /D\RXW                                                  
9DULDEOHV                                                  
'RFXPHQWDWLRQ                                                

iz‹ KS fˆ}‚’‚‡€ lZiŒ|‹‚‰ _ˆ‹†Œ
\z‰~‹ LS `~‚‡€ lz‹~} ‚ _ˆ‹†Œ

MP

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G MQ
pˆ‹„‚‡€ ‚ lZiŒ|‹‚‰ _ˆ‹†ŒS _‚‹Œ l~‰Œ G G G G G G G G G G G G G G G G G G G MQ
:KDW $UH WKH 0HWKRGV IRU ,PSRUWLQJ )RUPV"                         
)RUPV $YDLODEOH RQ DQ 5 &OLHQW                               
)RUPV $YDLODEOH DV 6HSDUDWH )LOHV                              
+RZ WR &KRRVH WKH %HVW 0HWKRG"                                  
\ˆ‰’‚‡€ _ˆ‹†Œ {~~~‡ \…‚~‡Œ G G G G G G G G G G G G G G G G G G G G G G G G G G G MR
i‹~‰z‹‚‡€ \ˆ‰‚~} _ˆ‹†ŒS Z}}‚‚ˆ‡z… mzŒ„Œ G G G G G G G G G G G G G G G G G G NK
2ULJLQDO /DQJXDJH                                             
&KDQJLQJ 3DJH )RUPDW RI D )RUP                                  
b†‰ˆ‹‚‡€ _ˆ‹†Œ ‹ˆ† z _‚…~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G NQ



Contents

\z‰~‹ MS fˆ}‚’‚‡€ lZiŒ|‹‚‰ _ˆ‹†ŒS m~ [zŒ‚|Œ

N

OL

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G OM
\ˆ‰’‚‡€ z _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G ON
m~Œ i‹‚‡‚‡€ z _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G OP
fz‡‚‰Ž…z‚‡€ ~ ez’ˆŽ ˆ z _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G OR
&UHDWLQJ D 1HZ :LQGRZ                                        
5HQDPLQJ D :LQGRZ                                           
&KDQJLQJ :LQGRZ 3RVLWLRQ RU 6L]H 8VLQJ 'HVLJQ :LQGRZ              
&KDQJLQJ :LQGRZ 3RVLWLRQ RU 6L]H 8VLQJ $GPLQLVWUDWLYH 6FUHHQ          
5HPRYLQJ D :LQGRZ                                            
$OLJQLQJ :LQGRZV WR WKH *ULG                                    
fz‡‚‰Ž…z‚‡€ _ˆ‹† \ˆ‡~‡ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G QK
0RYLQJ D )LHOG                                                
0RYLQJ D 7DE                                                 
,QVHUWLQJ RU 'HOHWLQJ D /LQH                                       
'HOHWLQJ :LQGRZ 7H[W 8VLQJ WKH 3& (GLWRU                        
'HOHWLQJ :LQGRZ 7H[W XVLQJ WKH 7H[W (GLWRU                       
5HPRYLQJ D )LHOG                                               
/RRNLQJ 8S D )LHOG                                             
$GGLQJ D 1HZ )LHOG                                           
$GGLQJ D )LHOG WR WKH 3ULQW 6WUXFWXUH                               


\z‰~‹ NS fˆ}‚’‚‡€ lZiŒ|‹‚‰ _ˆ‹†ŒS Z}z‡|~} mˆ‰‚|Œ

JJL

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JJM
i‹‚‡‚‡€ z \ˆ†‰z‡’ eˆ€ˆ Ap‚‡}ˆŒ [fi _ˆ‹†zB G G G G G G G G G G G JJM
6WHS  ,PSRUW WKH *UDSKLF LQWR WKH 'RFXPHQW 6HUYHU                  
6WHS  3UHYLHZ WKH *UDSKLF 3ULQWRXW                              
6WHS  ,QFOXGH WKH *UDSKLF LQ D )RUP                             
&UHDWLQJ *UDSKLF 2EMHFWV DQG *UDSKLF ,'V                         
i‹‚‡‚‡€ z \ˆ†‰z‡’ eˆ€ˆ A[zŒ~…‚‡~ mb__ OGI _ˆ‹†zB G G G G G G G G G JKM
,QFOXGLQJ WKH &RPSDQ\ /RJR RQ WKH )RUP                          
&RQYHUWLQJ %DVHOLQH 7,))  )RUPDW WR 6$3VFULSW 6WDQGDUG 7H[W      
,QFOXGLQJ 6WDQGDUG 7H[W LQ D )RUP                             
,QFOXGLQJ WKH &RPSDQ\ /RJR DV D 0DFUR RQ 3&/ 3ULQWHUV             
&RS\LQJ D 6WDQGDUG 3ULQWHU 7\SH                              
'HILQLQJ D 3ULQW &RQWURO IRU WKH 0DFUR                          
,QFOXGLQJ WKH 3ULQW &RQWURO LQ WKH )RUP                          
i‹‚‡‚‡€ [z‹ \ˆ}~Œ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JML
Z}}‚‡€ z [ˆ‘ ‚ lz}‚‡€ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JMR
&UHDWLQJ 0XOWLSOH %R[HV                                        
i‹‚‡‚‡€ m~‘ o~‹‚|z……’ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JNO


O

SAPscript Made Easy | Release 4.6

\z……‚‡€ Z[Zi lŽ{‹ˆŽ‚‡~Œ nŒ‚‡€ ~ i^k_hkf \ˆ††z‡} G G G G G JNP


iz‹ LS \ŽŒˆ†‚“‚‡€ Z‰‰…‚|z‚ˆ‡Œ ˆ‹ lZiŒ|‹‚‰
_ˆ‹†Œ
\z‰~‹ OS \ŽŒˆ†‚“‚‡€ lz…~Œ z‡} ]‚Œ‹‚{Ž‚ˆ‡ ˆ‹ i‹‚‡ _ˆ‹†Œ

JOJ

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JOK
Z||~ŒŒ‚‡€ ~ bf` G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JOK
ZŒŒ‚€‡‚‡€ i‹‚‡ i‹ˆ€‹z†Œ z‡} _ˆ‹†Œ ˆ lz…~Œ ]ˆ|Ž†~‡Œ G G G G G JOL
ZŒŒ‚€‡‚‡€ i‹‚‡ i‹ˆ€‹z†Œ z‡} _ˆ‹†Œ ˆ l‚‰‰‚‡€ ]ˆ|Ž†~‡Œ G G JON
ZŒŒ‚€‡‚‡€ i‹‚‡ i‹ˆ€‹z†Œ z‡} _ˆ‹†Œ ˆ [‚……‚‡€ ]ˆ|Ž†~‡Œ G G G G JOR
l‰~|‚’‚‡€ lz‡}z‹} m~‘ ˆ‹ l~‡}~‹E a~z}~‹E z‡} _ˆˆ~‹ G G G G JPJ
6SHFLI\LQJ 6WDQGDUG 7H[W SHU 6DOHV 2UJDQL]DWLRQ                    
$OORFDWLQJ 6WDQGDUG 7H[W SHU 6KLSSLQJ 3RLQW                        
0DLQWDLQLQJ 6WDQGDUG 7H[W IRU )RUPV                              
fz‚‡z‚‡‚‡€ i‹‚|‚‡€ \ˆ‡}‚‚ˆ‡Œ ˆ Z‰‰~z‹ ‚‡ ~ hŽ‰Ž G G G G G G JPP

\z‰~‹ PS \ŽŒˆ†‚“‚‡€ fz~‹‚z…Œ fz‡z€~†~‡ ˆ‹ i‹‚‡ _ˆ‹†Œ JQJ
h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G JQK
ZŒŒ‚€‡‚‡€ i‹‚‡ i‹ˆ€‹z†Œ z‡} _ˆ‹†Œ ˆ ]ˆ|Ž†~‡Œ G G G G G G G G G G JQK
fz‚‡z‚‡‚‡€ ]ˆ|Ž†~‡ m~‘ ˆ‹ i‹‚‡‚‡€ G G G G G G G G G G G G G G G G G G G G JQM
:KHUH WR 6WDUW 0DLQWHQDQFH                                     
0DLQWDLQLQJ 7H[W IRU 'RFXPHQW +HDGHU                            
$GGLQJ D 1HZ (QWU\ IRU 'RFXPHQW +HDGHU 7H[W                  
'HOHWLQJ DQ (QWU\ IRU 'RFXPHQW +HDGHU 7H[W                     
9HULI\LQJ WKH 3ULQW 6HTXHQFH IRU 'RFXPHQW +HDGHU 7H[W            
0DLQWDLQLQJ ,WHP 7H[W                                          
$GGLQJ D 1HZ (QWU\ IRU ,WHP 7H[W                              
'HOHWLQJ DQ ,WHP 7H[W                                       

9HULI\LQJ WKH 3ULQW 6HTXHQFH IRU ,WHP 7H[W                       
0DLQWDLQLQJ 6XSSOHPHQW 7H[WV                                   
$GGLQJ D 1HZ (QWU\ IRU 6XSSOHPHQW 7H[W                        
'HOHWLQJ D 6XSSOHPHQW 7H[W                                  
9HULI\LQJ WKH 3ULQW 6HTXHQFH IRU 6XSSOHPHQW 7H[W                  
0DLQWDLQLQJ &KDQJH 7H[WV                                      
0DLQWDLQLQJ +HDGLQJV                                          
fz‚‡z‚‡‚‡€ lz‡}z‹} m~‘ ˆ‹ _ˆ‹†Œ G G G G G G G G G G G G G G G G G G G G G G KIL


Contents

\z‰~‹ QS \ŽŒˆ†‚“‚‡€ _‚‡z‡|‚z… Z||ˆŽ‡‚‡€ ˆ‹ i‹‚‡ _ˆ‹†Œ

P

KIP

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KIQ
ZŒŒ‚€‡‚‡€ z i‹‚‡ i‹ˆ€‹z† ˆ \~|„Œ G G G G G G G G G G G G G G G G G G G G G G KIQ
ZŒŒ‚€‡‚‡€ _ˆ‹†Œ ˆ \~|„Œ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KIR
l‰~|‚’‚‡€ lz‡}z‹} m~‘ ˆ‹ a~z}~‹E _ˆˆ~‹E l‚€‡zŽ‹~
z‡} l~‡}~‹ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KJJ
fz‚‡z‚‡‚‡€ lz‡}z‹} m~‘ ˆ‹ _ˆ‹†Œ G G G G G G G G G G G G G G G G G G G G G G KJM
l‰~|‚’‚‡€ \~|„ i‹‚‡‚‡€ h‰‚ˆ‡Œ G G G G G G G G G G G G G G G G G G G G G G G G KJO

iz‹ MS Z‰‰~‡}‚‘~Œ
Z‰‰~‡}‚‘ ZS lZiŒ|‹‚‰ \ˆ‡‹ˆ… \ˆ††z‡}Œ

KKJ


h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KKJ
h~‹‚~ ˆ lZiŒ|‹‚‰ \ˆ‡‹ˆ… \ˆ††z‡}Œ G G G G G G G G G G G G G G G G G KKK
h~‹‚~ ˆ _ˆ‹†z‚‡€ h‰‚ˆ‡Œ G G G G G G G G G G G G G G G G G G G G G G G G G KKK
l’‡z‘ ˆ \ˆ‡‹ˆ… \ˆ††z‡}Œ G G G G G G G G G G G G G G G G G G G G G G G G G G G G KKL
$''5(66±(1'$''5(66 )RUPDWWLQJ RI $GGUHVVHV                  
%27720 'HILQH )RRWHU 7H[W LQ D :LQGRZ                         
%2; 326,7,21 6,=( %R[HV /LQHV 6KDGLQJ                       
&$6( &DVH 'LVWLQFWLRQ                                         
'(),1( 9DOXH $VVLJQPHQW WR 7H[W 6\PEROV                         
+(; +H[DGHFLPDO 'DWD                                        
,) &RQGLWLRQDO 7H[W 2XWSXW                                      
,1&/8'( ,QFOXGH 2WKHU 7H[WV                                   
1(:3$*( ([SOLFLW )RUP )HHG                                  
1(::,1'2: 1H[W :LQGRZ 0$,1                            
3(5)250 &DOOLQJ $%$3 6XEURXWLQHV                             
35,17&21752/ ,QVHUW 3ULQW &RQWURO &KDUDFWHU                     
3527(&7 3URWHFW IURP 3DJH %UHDN                               
5(6(7 ,QLWLDOL]H 2XWOLQH 3DUDJUDSKV                               
6(7 &28175< &RXQWU\6SHFLILF )RUPDWWLQJ                        
6(7 '$7( 0$6. )RUPDWWLQJ RI 'DWH )LHOGV                         
6(7 6,*1 7KH 3RVLWLRQ RI                                     
6(7 7,0( 0$6. )RUPDWWLQJ RI 7LPH )LHOGV                         
676800,1*                                                  
723 6HW +HDGHU 7H[W LQ 0$,1                                   
l’‡z‘ ˆ _ˆ‹†z‚‡€ h‰‚ˆ‡Œ G G G G G G G G G G G G G G G G G G G G G G G G G G G G KMR
&KDQJLQJ WKH 9DOXH RI D &RXQWHU                                 
&RXQWU\ 'HSHQGHQW )RUPDWWLQJ                                   



Q

SAPscript Made Easy | Release 4.6

'DWH 0DVN                                                   
([SRQHQW IRU )ORDWLQJ 3RLQW 1XPEHUV                              
)LOO &KDUDFWHUV                                                
,JQRULQJ &RQYHUVLRQ 5XOHV                                      
/HDGLQJ 6LJQ WR WKH /HIW                                         
/HDGLQJ 6LJQ WR WKH 5LJKW                                       
1XPEHU RI 'HFLPDOV                                           
2IIVHW                                                      
2PLWWLQJ /HDGLQJ =HURV                                         
2PLWWLQJ WKH /HDGLQJ 6LJQ                                       
2PLWWLQJ WKH 6HSDUDWRU IRU ³7KRXVDQGV´                            
2XWSXW /HQJWK                                                
3UHFHGLQJ DQG 6XEVHTXHQW 7H[W                                  
5LJKW-XVWLILHG 2XWSXW                                          
6SDFH &RPSUHVVLRQ                                           
6XSSUHVVLQJ ,QLWLDO 9DOXHV                                       
7LPH 0DVN                                                   
l’Œ~† oz‹‚z{…~Œ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KOI

Z‰‰~‡}‚‘ [S lz†‰…~ _ˆ‹†Œ

KOL

h~‹‚~ G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KOL
Z||ˆŽ‡ lz~†~‡ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KOM

\‹~}‚ f~†ˆ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KON
]~{‚ f~†ˆ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KOO
]~…‚~‹’ gˆ~ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KOP
b‡ˆ‚|~ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KOQ
i‹~‡Ž†{~‹~} \~|„ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KOR
n‡‡Ž†{~‹~} \~|„ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KPI
k~†‚z‡|~ Z}‚|~ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KPJ
lz…~Œ h‹}~‹ \ˆ‡‚‹†z‚ˆ‡ _ˆ‹† G G G G G G G G G G G G G G G G G G G G G G G G G G G KPK

Z‰‰~‡}‚‘ \S m‚‹}Fiz‹’ lˆ…Ž‚ˆ‡Œ

KPL

Z_iS _ˆ‹†l|z‰~Û G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G KPM
)RUP6FDSH &RPSRQHQWV                                        
&URVV3ODWIRUP )HDWXUHV                                         
7KH &RQFHSW                                                 
&RQWDFW ,QIRUPDWLRQ                                            
aiS i‹ˆ~ŒŒ‚ˆ‡z… i‹‚‡‚‡€ lˆ…Ž‚ˆ‡Œ ˆ‹ lZi kHL ^‡‚‹ˆ‡†~‡Œ G KPP
3URIHVVLRQDO (OHFWURQLF )RUPV 3ULQWLQJ                              
&RQWDFW ,QIRUPDWLRQ                                           


Contents

R

aiS c~\Zil b‡~……‚€~‡ [z‹ \ˆ}~ lbff G G G G G G G G G G G G G G G G G G G G KPR
6ROXWLRQ                                                     
)HDWXUHV                                                    

6XSSRUWHG %DU &RGHV                                          
6XSSRUWHG +3 3ULQWHU 0RGHOV                                    
6$3 56SHFLILF ,QIRUPDWLRQ                                    
&RQWDFW ,QIRUPDWLRQ                                           
aiS _…zŒ lbff ˆ‹ ai ezŒ~‹c~ i‹‚‡~‹Œ G G G G G G G G G G G G G G G G G G G KQJ
6ROXWLRQ                                                     
)HDWXUHV                                                    
6XSSRUWHG 3ULQWHUV                                             
0DQDJHPHQW 6RIWZDUH 6\VWHPV 5HTXLUHPHQWV                       
&RQWDFW ,QIRUPDWLRQ                                           
c~_ˆ‹†S c~_ˆ‹† hŽ‰Ž iz„ ˆ‹ lZi kHL G G G G G G G G G G G G G G G G G G KQK
-HW)RUP 'HVLJQ                                               
-HW)RUP &HQWUDO                                               
-HW)RUP 6$3VFULSW IRUPV IRU 5                                  
-HW)RUP )RUPV IRU 5                                         
+RZ ,W :RUNV                                                
7KH 3ULQW 3URFHVV                                              
)HDWXUHV                                                    
&RQWDFW ,QIRUPDWLRQ                                           
l‹~z†l~‹~S l‹~z†l~‹~ \ˆ‡‡~|‚‚’ iz|„ ˆ‹ kHL G G G G G G G G KQP
6WUHDP6HUYH 2XWSXW )RUPDW &RQYHUWHU IRU 5                      
)HDWXUHV DQG %HQHILWV                                          
&RQWDFW ,QIRUPDWLRQ                                           



,1752'8&7,21

b‡‹ˆ}Ž|‚ˆ‡
h~‹‚~

Forms streamline the process of conducting business. Invoices, credit
memos, and delivery notes are just a few examples of the types of
forms companies routinely use.
With SAPscript, SAP’s programming tool, you can easily design,
build, and print a wide variety of business forms. R/3 comes with a
library of predesigned forms that can be quickly customized to fit the
needs of every business.
Filled with step-by-step instructions and screenshots, this guidebook
helps you understand how to use SAPscript to design and print
business forms.


JK

SAPscript Made Easy | Release 4.6

pz bŒ ‚Œ `Ž‚}~ Z{ˆŽX
This guidebook is all about SAPscript forms. Using this guidebook,
you will be able to:
n

Use graphical tools (Form Painter and PC Editor) to quickly adapt
SAPscript forms for your needs

n

Reduce the consulting time and effort required to develop or
modify SAPscript forms

The topics covered in this guidebook will help you:

n

Modify the layout of SAPscript forms

n

Modify the content of SAPscript forms

n

Customize R/3 application for SAPscript forms

pˆ lˆŽ…} k~z} ‚Œ `Ž‚}~X
This guidebook is written for:
n

R/3 application consultants

n

R/3 implementation team members

n

Individuals with little or no knowledge of SAPscript

ZŒŒŽ†‰‚ˆ‡Œ
To help you get the most out of this guidebook, the following
assumptions are being made:
n


Forms are intended for the U.S., Canadian, and Australian
markets.

n

Except checks, U.S. and Australian companies do not routinely use
preprinted forms. A company logo is usually the only preprinted
item on a form.

n

Implementation teams are using the latest version of the
predeveloped forms.
To download preconfigured forms, go to
KWWSZZZVDSODEVFRPIRUPV


Introduction

JL

This guide does not cover the following topics. Consult your system
administrator for more information.
n

Using the Change and Transport System (CTS)

n


Uploading predeveloped forms into your system

n

Using the Online Support Service to get an access key to modify
R/3 objects

aˆ ˆ nŒ~ ‚Œ `Ž‚}~X
If you are a new SAPscript user, you should read parts 1 and 2 to
familiarize yourself with SAPscript.
If you are a more experienced SAPscript user, you should read part 2.
You may choose to skim part 1.
All examples and step-by-step intructions covered in part 2 are based
on the SAPscript standard form for sales order confirmation (technical
name RVORDER01).
gˆ~

Although you can use parts of this guide as a tutorial, it is not intended to be a
substitute for the SAP training course BC 460 SAPscript: Forms Design and Text
Management in R/3.

aˆ bŒ ~ `Ž‚}~ h‹€z‡‚“~}X
iz‹ JS e~z‹‡‚‡€ lZiŒ|‹‚‰ [zŒ‚|Œ
n

Chapter 1: SAPscript Forms: The Big Picture
Understanding concepts, architecture, and runtime environment
of SAPscript forms

n


Chapter 2: SAPscript Forms: The Basics
Form management tools and types of form components

iz‹ KS fˆ}‚’‚‡€ lZiŒ|‹‚‰ _ˆ‹†Œ
n

Chapter 3: Getting Started with Forms
Importing predeveloped forms into your system landscape

n

Chapter 4: Modifying SAPscript Forms: The Basics
Modifying windows and content


JM

SAPscript Made Easy | Release 4.6

n

Chapter 5: Modifying SAPscript Forms: Advanced Topics
Logos, bar codes and other advanced topics

iz‹ LS \ŽŒˆ†‚“‚‡€ Z‰‰…‚|z‚ˆ‡Œ ˆ‹ lZiŒ|‹‚‰ _ˆ‹†Œ
n

Chapter 6: Customizing Sales and Distribution for Print Forms


n

Chapter 7: Customizing Materials Management for Print Forms

n

Chapter 8: Customizing Financial Accounting for Print Forms

iz‹ MS Z‰‰~‡}‚‘~Œ
n

Appendix A: SAPscript Control Commands

n

Appendix B: Sample Forms

n

Appendix C: Third-Party Solutions

pz@Œ g~ ‚‡ ‚Œ `Ž‚}~X
Since the publication of the SAPscript Made Easy guidebook for
Release 4.0B, the following new topics have been added:
nŒ‚‡€ ~ €‹z‰‚| †z‡z€~†~‡ ˆˆ… ˆ ‚‡|…Ž}~ €‹z‰‚| ‚…~Œ ‚‡ z
ˆ‹†
You learn how to import a graphic file (in Windows BMP format ) into
the document server, preview the graphic, and include the graphic in
a form using the new graphic management tool. Additionally, you
learn how to organize your own folder structure within the document

server.
For more information, see Chapter 5, “Modifying SAPscript Forms:
Advanced Topics” on page 113.
i‹‚‡‚‡€ ~‘ ~‹‚|z……’
You learn how to print text vertically using print controls.
For more information, see Chapter 5, “Modifying SAPscript Forms:
Advanced Topics” on page 113.


Introduction

JN

nŒ‚‡€ ~ i^k_hkf |ˆ††z‡} ‚‡Œ~z} ˆ |z‡€‚‡€ ~ ‰‹‚‡
‰‹ˆ€‹z†
You learn how to use the SAPscript PERFORM command to receive
additional data during the printing process. Often it is easier to use
the PERFORM command than changing the print program.
For more information, see Chapter 5, “Modifying SAPscript Forms:
Advanced Topics” on page 113.
i‹~‰z‹‚‡€ ˆ‹†Œ ˆ‹ †ˆ}‚‚|z‚ˆ‡
Language and page format differences exist for SAP standard forms
and preconfigured forms used in the U.S. and Canadian markets. If
you use the standard or preconfigured forms, you learn how to
change the original language and page format for certain forms.
For more information, see Chapter 3, “Getting Started with Forms” on
page 47.

\ˆ‡~‡‚ˆ‡Œ
Throughout this guide, you will find the symbols shown below. These

mark special information that supplements the main discussion or
theme.
m~|mz…„: This symbol flags information that is highly technical. It is
included for those who want to dig deeper into particular concepts or
explore background theory.
TechTalk

m‚‰Œ ? m‹‚|„ŒS This symbol flags suggestions, hints, and practical
techniques to help you become more efficient in the way you use the
R/3 System.
Tips & Tricks

\zŽ‚ˆ‡S This symbol flags information that can help you steer clear
of common pitfalls. It demands careful reading.
Caution


JO

SAPscript Made Easy | Release 4.6

In the table below, you will find some of the text conventions used
throughout this guide.
Text convention

What it means

VDQVVHULI

Command syntax.


sans-serif italic

Screen names or on-screen objects (buttons, fields, etc.).

monospace

User input (text the user types verbatim).

name1 → name2

Menu selection. name1 is the menu name, and name2 is
the item on the menu.

Figure 0–1 Sample Enjoy R/3 (Release
4.6) screen

Standard Menu Bar
Screen Title
Application Menu Bar

Workplace
Workplace Menu

Status Bar

Figure 0–2 Detailed screen elements

Standard Menu Bar
Screen Title


Application Menu Bar
Status Bar


3$57 21(

e~z‹‡‚‡€ lZiŒ|‹‚‰
[zŒ‚|Œ

[



& + $ 3 7 ( 5

lZiŒ|‹‚‰ _ˆ‹†ŒS m~ [‚€ i‚|Ž‹~

J


KI

SAPscript Made Easy | Release 4.6

h~‹‚~
This chapter provides an overview of SAPscript forms. After reading
this chapter, you will be able to answer the following questions:
n


What are SAPscript forms?

n

What is the architecture of SAPscript forms?

n

How are SAPscript forms processed?

n

What are the different sources of SAPscript Forms?

n

Where can you find the SAPscript forms you need?

pz Z‹~ lZiŒ|‹‚‰ _ˆ‹†ŒX
To help you build the business forms (for example, invoices, purchase
orders, etc.) you need, the R/3 System provides you form
management tools and SAPscript forms.
A SAPscript form is a template that simplifies the process of designing
business forms. It supplies the layout (for example, page size) and
content (for example, sales data for an invoice) for your business
forms. You need SAPscript forms to print, distribute, or display the
business forms.

^‘z†‰…~Œ ˆ lZiŒ|‹‚‰ _ˆ‹†Œ
Some examples of SAPscript forms are shown in Figure 1–1:

n

Sales order confirmations

n

Invoices

n

Purchase orders

n

Prenumbered and unnumbered checks

n

Accounting statements

n

Packing and picking lists


SAPscript Forms: The Big Picture

KJ

Figure 1–1 Sample SAPscript forms




pz bŒ ~ Z‹|‚~|Ž‹~ ˆ lZiŒ|‹‚‰ _ˆ‹†ŒX
Each SAPscript form consists of two main components:
n

Layout: The layout is defined by a set of windows in which the
content appears.

n

Content: The content is either text (for example, business data for
an invoice) or graphics (for example, a company logo).

Figure 1–2 shows an invoice created with a standard SAPscript form.
There are seven separate windows which define the overall layout of
the invoice. Windows house the form content. To help you
understand the architecture of a SAPscript form, the contents of the
Payment Information window have been highlighted.


KK

SAPscript Made Easy | Release 4.6

Figure 1–2 Understanding the
architecture of a SAPscript form

SAPscript Form


Layout
Logo

Window

Window
Payment Information

Main Window

Document Number
Document Date

9000167
06/03/1999

Purchase Order No.
Purchase Order Date
Packing List Number
Sales Order Number

RJC-893
06/02/1999
80000145
180

Payment Terms

Net 30


Billing Date

06/03/1999

Content

The central object in a SAPscript form is the window. You can define
the size, position, and content of each window in a form. As shown in
Figure 1–3, a SAPscript form derives its structure from a set of
windows (for example, logo, billing address, and information
windows), each with its own content. For more information, see
“What Are the Form Components?” on page 35.
Figure 1–3 The role of windows in
SAPscript forms

Address Window

Logo Window
Top-Down Strategy

Billing Address
Window
Form

Information
Window

Windows


Content

Invoice Details
Window

(Main Window)

SAPscript Form


KL

SAPscript Forms: The Big Picture

aˆ Z‹~ lZiŒ|‹‚‰ _ˆ‹†Œ i‹ˆ|~ŒŒ~}X



The SAPscript runtime environment coordinates the processing of
SAPscript forms.
As shown in Figure 1–4, the SAPscript runtime environment:
n

Retrieves layout and content data from the SAPscript form

n

Collects the necessary business data from the R/3 database

n


Generates the final SAPscript form

The resulting business form can be printed, e-mailed, faxed, or
displayed.
Figure 1–4 How SAPscript forms are
processed in the R/3 System

R/3 System
Printer

Business
Data

Onscreen
SAPscript
Runtime
Environment

E-mail
Fax

SAPscript Form
Database

SAPscript Form

pz Z‹~ ~ ]‚~‹~‡ lˆŽ‹|~Œ ˆ lZiŒ|‹‚‰ _ˆ‹†ŒX
SAP provides you with two different sources for SAPscript forms:
n


Standard SAPscript forms: Standard SAPscript forms are
delivered with the SAP standard client (usually referred to as client
000).

n

Preconfigured SAPscript forms (also called preconfigured forms):
Developed for the U.S. and Canadian markets, the preconfigured
SAPscript forms are delivered with the Preconfigured Client
(PCC).


KM

SAPscript Made Easy | Release 4.6

n

Current Preconfigured SAPscript forms: You can download
current versions of the preconfigured forms from the Internet at:
KWWSZZZVDSODEVFRPIRUPV.

n

SAPscript forms for R/3 Release 3.x: SAPscript forms are also
available as separate files. For R/3 releases 3.0E, 3.0F, and 3.1H,
SAP provides sets of SAPscript forms you can download from the
Internet at: KWWSZZZVDSODEVFRPIRUPV


lz‡}z‹} lZiŒ|‹‚‰ _ˆ‹†ŒS lˆ†~ ^‘z†‰…~Œ
Here are some examples of standard SAPscript forms that are
delivered with client 000:
Table 1–1 Examples of standard SAPscript forms
Form Description

Standard Form Name

Sales Order Confirmation

RVORDER01

Packing List

RVDELNOTE

Invoice

RVINVOICE01

Purchase Order

MEDRUCK

Prenumbered Check

F110_PRENUM_CHCK


SAPscript Forms: The Big Picture


KN

i‹~|ˆ‡‚€Ž‹~} lZiŒ|‹‚‰ _ˆ‹†ŒS lˆ†~ ^‘z†‰…~Œ
Here are some examples of preconfigured forms delivered with the
Preconfigured Client:
Table 1–2 Preconfigured SAPscript forms
Form Description

Preconfigured Form Name

Sales Order Confirmation

YPCC_ORDCONF_STD

Packing List

YPCC_PACKLIST

Purchase Order

YPCC_CHECK_NUM

Invoice

YPCC_INVOICE_STD

Remittance Advice

YPCC_REMITT_STD


Account Statement / Open Item List

YPCC_STATEMT_STD

Balance Carried Forward Statement /
Open Item List

YPCC_STMBCF_STD

Unnumbered Check

YPCC_CHECK_UNN

Prenumbered Check

YPCC_CHECK_NUM

p~‹~ ˆ _‚‡} ~ lZiŒ|‹‚‰ _ˆ‹†Œ ’ˆŽ g~~}
Use Table 1–3 to help you find the SAPscript form you need.
Table 1–3 Where to find the SAPscript forms you need
For...

Go to...

Standard SAPscript forms
(complete list, organized
along the application
component hierarchy)


From the SAP standard menu, choose Tools →
SAPscript → SE71 - Form. From the Form Painter:
Request screen choose
at right of the Form
name field. The SAPscript Form Tree (Display
Mode) screen shows the complete list.

Preconfigured forms
(updates and current
development)

KWWSZZZVDSODEVFRPIRUPV

SAPscript forms
KWWSZZZVDSODEVFRPIRUPV
(for R/3 releases 3.0E, 3.0F,
and 3.1H)




×