Vous êtes sur la page 1sur 15

0

SAP AG 1999
Appendix
SAP AG BC420 15-1

0.2
SAP AG 1999
Test Phase
SAP SAP SAP
1
2
1 Create extract
2 Transfer data
3 Fix records that
have errors
3
1 1
2 2
3
Typical
Data
All
Data
No more than ten records should be used in the first test phase. After each successful test, the amount
of data can be increased in stages. The final test should include the complete data to be transferred.
Correct any errors that occur during the test phase:
If there is an error in the data record (for example, incorrect postal code), correct the data record in
the external system.
If there is an error in a Customiing entry, fix the entry.
If the error is in the con!ersion program, fix the program.
"ou can only be sure that the actual data transfer #ill be free of errors, if the test runs successfully.
SAP AG BC420 15-2

0.3
SAP AG 1999
Executin Data Transfer
Execute
interity test
GoingLive
Data
transfer
TE!T
Create data extract
Production
syste"
Test syste"
SAP SAP
SAP
Test phase
The actual producti!e transfer is not done directly after the test phase. After the test phase the
integration test has to be run. $ithin the integration test all the re%uired business processes are tested
#ith data imported up to this time point.
If the integration test is successful, then actual transfer can be carried out.
Important: If Customiing changes ha!e to be made during the integration test, it could lead to
transfer errors. This means that each Customiing change in!ol!es ha!ing to test the transfer again.
&uring the complete testing and integration phase the external system remains the producti!e system
in #hich producti!e data is processed. No system is a!ailable during the actual producti!e transfer.
After#ards the 'A( 'ystem ta)es o!er the role of producti!e system.
SAP AG BC420 15-3

0.#
SAP AG 1999
!pecifyin Data for Transfer
$aster data Transaction data
%s all the re&uired data availa'le in the external syste" (for
exa"ple) co"pany code* +
$issin data "ust 'e created fro" the data context
Can all the fields of the external syste" 'e "apped+
Are there dependencies ,ith other o'-ects+
!chedule run
*ccasionally a field in the 'A( 'ystem may not ha!e a corresponding field in the external system. If
this field is re%uired in the 'A( 'ystem, you can proceed as follo#s:
If this !alue is the same for all data records, this !alue can be determined and specified as a fixed
!alue
If this !alue has a dependency, this must be specified. The dependency determines the !alue for
each data record.
If there is no field a!ailable in the 'A( 'ystem for a field from the external system, you can proceed
as follo#s:
Consider #hether the field is re%uired at all in the 'A( business process. If it is not needed, it can
be left out.
'A( fields that are not directly re%uired for the business process, can be filled #ith this field.
The business processes in the 'A( 'ystem una!oidably in!ol!e a dependency. 'o only transaction
data can be transferred, if the associated master data is already a!ailable. It is essential that you
consider the dependencies and the sequence of the objects.
SAP AG BC420 15-4

0..
SAP AG 2001
!yste" /andscape
000
001
000
100
111
Develop"ent !yste" Develop"ent !yste"
000
001
000
100
111
2uality Assurance 2uality Assurance
000
001
000
Production Production
200
100
!yste" Copy
Transport
SAP SAP SAP
Custo"i3in
Client Copy
4ac5up 4ac5up
Test1 Production
Test2
The distribution of client+dependent and cross+client Customiing to all clients and systems in the
system landscape is essential for data transfer.
,or example, before you can test data transfer in client -.. of a test system (%uality assurance), you
must transport the Customiing settings from the Customiing client in the de!elopment system to
this test client.
Important to note: &uring day+to+day use, transport of cross+client or client+dependent Customiing
is often forgotten, #hich causes data transfer errors.
SAP AG BC420 15-5

0.0
SAP AG 1999
4AP% %
Business
Object
Program Name
Test Program (!T"P"#$
%escription
B&'())())(
B&'())())(
B&'())*
B&'())*
B&'())*
B&'()(+
B&'()++
B&'(),(
B&'(),(
B&'()-)
B&'()--
B&'((.(
B&'+)*+
B&'+),/
01ON
'23"P1P2"24T"'"P1I024&1T
0"2T
0"2T'&B012''211O02TION
0"2T'&B'T"&0T&"
0"2T
0"2TIN01321&'
'2352%"P1I02
'23IT4'"P1I02
0"2TBO4#"O&P
0"2T
0"2T
0"2T6"O4%2T+
0"2T
"B%'2"T7%!8B
"8"P142'7%!8B
B2PI7012''70"2T7T'T
B2PI75I"270"2T'&B012''7T'T
B2PI75I"270"2T'&B'T"&07T'T
d9:d:
9
"O&TIN#70"2T7'24P176I1
"221T%B%B"
"8P052%7%!8B
"8P0IT4'7%!8B
hallo
hallo
42T7BO4#"O&P70"2T7'24P1
hallo
halo
B2PI7052"20T70"2T7T'T
";7P12N70"2T7'24P176I1
'%70"2T7T'T7%2T2
"7B2PI7INT"N21O"%"70"2T7T
"etail material
0lass
Tas< list
2sset
Product catalog
Bill of material
0haracteristic
Test plan
'ales order
Internal order
SAP AG BC420 15-6

0.6
SAP AG 1999
4AP% %%
Business
Object
Program Name
Test Program (!T"P"#$
%escription
B&'*)=)
B&'>))(
B&'>))+
B&'>))*
B&'=))+
B&'=))*
B&'=))>
B&'=))/
B&'=))=
B&'=)),
B&'=)((
B&'=)(+
B&'=)(*
B&'=)*)
0"2T
'23"P1I02
'23"P1I02
'23"P1I02
PO'T
PO'T
PO'T
PO'T
PO'T
PO'T
PO'T
PO'T
PO'T
PO'T
B2PI7OB?0170"2T7T'T
"'%!B&'>))(
"'%!B&'>))+
"'%!B&'>))*
Object 0lassification
2ddress of 0omanies and
Organi@ations
2ddresses of Natural
Persons
2ddress of Person in
0ompany
2ccounting #oods 4o9ement
2ccounting In9oice "eceipt
2ccounting mpolyee
Apenses
2ccounting mployee
"ecei9ables
2ccounting mployee
Payables
2ccounting Billing
2ccounting "epost Primary
0osts
2ccounting "epost "e9enues
2ccounting 'tatistical Bey
6igures
2ccounting #1 Posting
SAP AG BC420 15-7

0.7
SAP AG 1999
4AP% %%%
Business
Object
Program Name
Test Program (!T"P"#$
%escription
B&',)+*
B&',)+*
%"28
;4TB
;P#"
IN'"T1#20C
IN'"TO&T'O&"0"
1O2%
'23"P1I02
'23"P1I02
"P&1BTI%O0
"P&O&TI%O0
"B%'%O0&4NT71O2%74%TB
"B%';'4T
"B%';P#"
4anager for
payroll account transfer
%ocument
0hec< method
0ode group
SAP AG BC420 15-8

0.1
SAP AG 1999
4%8P %
Business
Object
Program Name
Test Program (!T"P"#$
%escription
B&'))).
B&'())*
B&'()++
B&'()+*
B&'()=/
B&'()-)
B&'()-)
B&'()-)
B&'()-)
B&'()--
B&'+)(,
B&'+)(-
B&'+).*
B&'+()/
"1P12T))
"001BI)(
"221T%)(
"0PT"2)(
"P&'T%))
"0'BI)()
"0'BI)+)
"0'BI)*)
"0'BI)>)
"00TBI)(
"4),44B1
"1B'T))
"4),""'
"4)=BBI)
"0PBT0O(
8arehouse compleA
0lass
2ssets
0hec< plan
mployee
Bill of material
0haracteristic
#oods mo9ement
8arehouse transport request
4aterial reser9ation
Purchasing order
SAP AG BC420 15-9

0.10
SAP AG 1999
4%8P %%
Business
Object
Program Name
Test Program (!T"P"#$
%escription
B&'*))*
B&'*))/
B&'*))=
%"28
;&I
BN2(
162(
P%OTCP'
"4)=IBI)
"3(>BT0I
"6BI'2))
"03BI)()
"IIBIP))
"6BI%))
"6BIB"))
"521T%))
"3BT0I)(
"6BI'2/)
"03BI))/
"54O3))
Purchasing information
0ondition
#D1 account
%ocument
quipment
0ustomer
3endor
P% object types
SAP AG BC420 15-10

0.11
SAP AG 1999
D%8P %
Business
Object
Program Name
Test Program (!T"P"#$
%escription
BBP6
B&'())())=
B&'()(+
B&'()++
B&'((+*
B&'((+=
B&'((+-
B&'((*)
B&'((**
B&'+)(+
B&'+)(+
B&'+)(+
B&'+)*+
B&'*)+,
"6BIB1))
"4%2TIN%
"0PT"2)+
"221T%((
"63I8%I
"63I#%I
"63I#"%I
"63I43%I
"63I4%I
"4)=I)
"4)=I(
"'T!1IT6
"3IN3B()
"4=)IN))
"4%2T#N
"0P%I"O(
"63I8#N
"63I##N
"63I#"#N
"63I43#N
"63I4#N
"4)=!
"3IN3BT)
"4=)IN!
2ccounting document
'tandard material
Tas< list
2sset
Business entity
("eal state$
Building ("eal state$
Property
1ease
"ental unit
Purchase order
'ales order
Planned independent
requirement
SAP AG BC420 15-11

0.12
SAP AG 1999
D%8P %%
Business
Object
Program Name
Test Program (!T"P"#$
%escription
B&'*)=)
0"5%
"001BI)*
"0"2P%!+ "0"2P%!(
Object classification
8or< place (1ogistics$
SAP AG BC420 15-12

0.13
SAP AG 1999
%nteratin the /!$9 into the D:;94 as a $appin
Tas5 in #.04
/SAPDMC/LSM_RUN_FROM_DXWB
Call <eister
D:;94 interface
Z_LSMW_MAP.
data lsmw_proj!t l"# /SAPDMC/LSSCR$$N%proj!t.
data lsmw_s&'proj l"# /SAPDMC/LSSCR$$N%s&'proj.
data lsmw_o'j!t l"# /SAPDMC/LSSCR$$N%OB($C).
lsmw_proj!t * proj!t.
lsmw_s&'proj * s&'proj!t.
lsmw_o'j!t * tas#.
)RANSLA)$ lsmw_proj!t )O UPP$R CAS$.
)RANSLA)$ lsmw_s&'proj )O UPP$R CAS$.
)RANSLA)$ lsmw_o'j!t )O UPP$R CAS$.
+ !all t, -&.!t"o.
CALL FUNC)/ON 0/SAPDMC/LSM_RUN_FROM_DXWB0
$XPOR)/N1
proj!t * lsmw_proj!t
s&'proj * lsmw_s&'proj
o'j!t * lsmw_o'j!t
/MPOR)/N1
rt&r. * rt&r.
$XC$P)/ONS
NO_AU)2OR/ZA)/ON * 3
NO_SUC2_OB($C) * 4
O)2$RS * 5.
........
If you #ant to call the /'0$ as a tas) in the &1+$2 in 3elease 4.5A62, you ha!e to #rite a
function module and register it.
The mapped function module uses the supported interface of the function modules in the &1+$2
(see the application help documentation). A pro7ect6subpro7ect6ob7ect is called in this function
module. This function module calls the /'0$ components #ith the same names as the names of the
pro7ect6subpro7ect6ob7ect.
The corresponding names apply:
/'0$ pro7ect 8 &1+$2 pro7ect
/'0$ subpro7ect 8 &1+$2 subpro7ect
/'0$ ob7ect 8 &1+$2 run
SAP AG BC420 15-13

6&N0TION E71'48742P.
+6%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
+6+6Lo!al ".tr-a!7
+6 /MPOR)/N1
+6 R$F$R$NC$8PRO($C)9 L/:$ DXF/$LDS%PRO($C)
+6 R$F$R$NC$8SUBPRO($C)9 L/:$ DXF/$LDS%SUBPRO($C)
+6 R$F$R$NC$8RUND$F9 L/:$ DXF/$LDS%RUND$F
+6 R$F$R$NC$8)AS:9 L/:$ DXF/$LDS%)AS:
+6 R$F$R$NC$8RUN/D9 L/:$ DXF/$LDS%RUN/D OP)/ONAL
+6 $XPOR)/N1
+6 R$F$R$NC$8R$)URN9 L/:$ DXR$)URN S)RUC)UR$ DXR$)URN
+6 )ABL$S
+6 /_F/L$S S)RUC)UR$ DXF/L$N OP)/ONAL
+6 O_F/L$S S)RUC)UR$ DXF/L$N OP)/ONAL
+6%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
data lsmw_proj!t l"# /SAPDMC/LSSCR$$N%proj!t.
data lsmw_s&'proj l"# /SAPDMC/LSSCR$$N%s&'proj.
data lsmw_o'j!t l"# /SAPDMC/LSSCR$$N%OB($C).
lsmw_proj!t * proj!t.
lsmw_s&'proj * s&'proj!t.
lsmw_o'j!t * tas#.
)RANSLA)$ lsmw_proj!t )O UPP$R CAS$.
)RANSLA)$ lsmw_s&'proj )O UPP$R CAS$.
)RANSLA)$ lsmw_o'j!t )O UPP$R CAS$.
+ !all t, -&.!t"o.
CALL FUNC)/ON 0/SAPDMC/LSM_RUN_FROM_DXWB0
$XPOR)/N1
proj!t * lsmw_proj!t
s&'proj * lsmw_s&'proj
o'j!t * lsmw_o'j!t
/MPOR)/N1
SAP AG BC420 15-14

rt&r. * rt&r.
$XC$P)/ONS
NO_AU)2OR/ZA)/ON * 3
NO_SUC2_OB($C) * 4
O)2$RS * 5.
"- s;%s&'r! <= >.
!as s;%s&'r!.
w,. 3.
rt&r.%MS1)? * 0$0.
rt&r.%MS1/D * 0/SAPDMC/LSMW0.
rt&r.%MS1NO * 0>>40.
rt&r.%S)A)US * 040.
w,. 4.
rt&r.%MS1)? * 0$0.
rt&r.%MS1/D * 0/SAPDMC/LSMW0.
rt&r.%MS1NO * 0>@50.
rt&r.%MS1A3 * lsmw_o'j!t.
rt&r.%MS1A4 * lsmw_proj!t.
rt&r.%MS1A5 * lsmw_s&'proj.
rt&r.%S)A)US * 040.
w,. ot,rs.
rt&r.%MS1)? * 0$0.
rt&r.%MS1/D * 0B30.
rt&r.%MS1NO * 0BBB0.
rt&r.%MS1A3 * 0$rror0.
rt&r.%S)A)US * 040.
.d!as.
.d"-.
$NDFUNC)/ON.
SAP AG BC420 15-15

Vous aimerez peut-être aussi