Upload
mkumarshahi
View
218
Download
0
Embed Size (px)
Citation preview
8/11/2019 BC420_46C - 003Project Concept
1/42
0
SAP AG 1999
Transfer tools and methods
Tasks in data transfer projects
Project Concept: Contents
SAP AG BC420 3-1
8/11/2019 BC420_46C - 003Project Concept
2/42
0.2
SAP AG 1999
Describe the data transfer methods
Describe the tasks in a transfer project
Explain the use of business objects and BP!s
Create a data transfer project in the D" # $B andexecute a customer data transfer
t the conclusion of this unit% &ou 'ill be able to:
Project Concept: (nit )bjecti*es
SAP AG BC420 3-2
8/11/2019 BC420_46C - 003Project Concept
3/42
0.+
SAP AG 1999
Course )*er*ie' Dia,ramCourse
Daten-bernahme
D" $orkbench
/ $orkbench
Principles of /tandardData Tansfer
Direct!nput
BP!
T1
ecorder
Course )*er*ie'
+
Batch
!nput
CallTransaction
ED!
Basics
3
4
5
6 70
7770
8
77
75
7+
72
77
72
7
2
SAP AG BC420 3-3
8/11/2019 BC420_46C - 003Project Concept
4/42
0.5
SAP AG 1999
Data Transfer Project
Technolo,ies and ToolsTechnolo,ies and Tools
Project )r,ani9ationProject )r,ani9ation
Business )bjectsBusiness )bjects
Project in the D"#$BProject in the D"#$B
SAP AG BC420 3-4
8/11/2019 BC420_46C - 003Project Concept
5/42
0.
SAP AG 1999
Data Transfer in 1+
C)C)Controllin,Controllin,
ssetsset
mana,ementmana,ement
P/P/ProjectProjects&stems&stem
$;$;$orkflo'$orkflo'
!/!/!ndustr&!ndustr&
/olutions/olutions
;!;!;inance;inance
8/11/2019 BC420_46C - 003Project Concept
6/42
0.3
SAP AG 1999
Transfer ethods
Transaction 1ecorder
Data TransferPro,ram
Data TransferPro,ram
Batch !nput
Batch !nput
Call Transaction
Batch !nput
Call Transaction
CT
D!
CT
BP!
Direct input
Most applications provide a standard interface.
Several data transfer methods are supported in the SAP System. These are batch input, call
transaction, direct input and BAPs. !hich method is supported in a certain situation depends solely
on the application involved. The e"pected amount of data usually plays a decisive role in which
methods are supported.
n special cases and for a few applications, a standard interface may not be provided. f this is the
case, you can use the transaction recorder #TA$ instead. The TA supports both batch input and call
transaction.
SAP AG BC420 3-6
8/11/2019 BC420_46C - 003Project Concept
7/42
0.4
SAP AG 1999
Online
transaction
Batch !nput ethod
External
format
SAP format
B! session
B! data transferpro,ram
> USD
External
format
B! data transferpro,ram
> USD
Batch input is a standard method used to transfer data into the %&' System. The transaction process is
simulated and the data is transferred as if it had been entered online. The advantage of this process is
that all the transaction chec(s are carried out and therefore data consistency is assured.
The batch input process runs in two phases)
*.$ A batch input session is created containing all the relevant data.
+.$ The batch input session is processed and the data contained in it is imported into the %&' System.
Most of the SAP standard data transfer programs use batch input.
ote) The online transaction is used for importing, chec(ing and transferring the data into the %&'
database.
SAP AG BC420 3-7
8/11/2019 BC420_46C - 003Project Concept
8/42
0.6
SAP AG 1999
Online
transaction
Call Transaction ethod
SAP format
External
format
CT data transferpro,ram
CT
> USD> USD
-all transaction is a standard method used to transfer data into the %&' System. The transaction flow
is simulated and the data is transferred as if it had been entered online. The advantage of this
procedure is that all transaction chec(s are carried out, thereby guaranteeing data consistency.
-all transaction posts the data directly via the online transaction.
This method provides the same functions as with batch input.
ote) the online transaction is used for importing and chec(ing.
SAP AG BC420 3-8
8/11/2019 BC420_46C - 003Project Concept
9/42
0.8
SAP AG 1999
Direct !nput ethod
External
format
D! data transferpro,ram
SAP format
> USD> USD
!ith direct input the data in the data transfer file is chec(ed thoroughly and then transferred directly
into the %&' System. The %&' database tables are loaded&updated with the new data.
The direct input program used for importing and chec(ing the data carries out the same tests as the
online transaction. This guarantees data integrity.
The direct input method uses function calls in place of the online transaction screens.
ote) the direct input method is not available for all data transfer applications.
SAP AG BC420 3-9
8/11/2019 BC420_46C - 003Project Concept
10/42
0.70
SAP AG 2001
ED! Technolo,&
SAP IDoc
StructureExternal
format> USD
E inboundfunction module
E inbound processin,
sing E/ #Electronic /ata nterchange$ technology, data can be e"changed between systems #also
between non0SAP systems$.
f E/ is used in the %&' environment, function modules are provided for inbound and outbound
processing in A1E # Application 1in( Enabling$ to process the data in /ocs #intermediate
documents$.
n this scenario A1E inbound processing uses /ocs to transfer data.
This technology does not use online transactions as chec( mechanisms. All chec(s are carried out in
the function module of each application and the data is posted directly.
SAP AG BC420 3-10
8/11/2019 BC420_46C - 003Project Concept
11/42
0.77
SAP AG 1999
BP! ethod
SAP IDoc
structureExternal
format
Con*rsionpro,ram
> USD
BP!
> USD
BAPs are standardi2ed programming interfaces that provide e"ternal access to the business
processes and data of the %&' System.
Business Application Programming nterfaces #BAPs$ are defined in the Business 3b4ect %epository
#B3%$ as methods of SAP business ob4ects or SAP interface types and enable an ob4ect0oriented
view of the business components #application components$ of the %&' System.
The data is transferred by calling a BAP in the application.
The same chec(s are made as with online transfer.
SAP AG BC420 3-11
8/11/2019 BC420_46C - 003Project Concept
12/42
0.72
SAP AG 1999
Online
Transaction
Transaction 1ecorder
1ecordin, Transfer Pro,ram
CT
5ou use the transaction recorder to create a recording of a se6uence of transactions along with their
corresponding se6uence of screens.
5ou can generate a data transfer program from the recording7 this program will be used to import the
data into the %&' System. The program can e"ecute data transfer using either the batch input or call
transaction methods.
SAP AG BC420 3-12
8/11/2019 BC420_46C - 003Project Concept
13/42
0.7+
SAP AG 1999
Project Concept
Tools and ethodsTools and ethods
Project )r,ani9ationProject )r,ani9ation
Business )bjectBusiness )bject
D" # $B ProjectD" # $B Project
SAP AG BC420 3-13
8/11/2019 BC420_46C - 003Project Concept
14/42
0.75
SAP AG 1999
/P 1oadmap: Project )r,ani9ation
ProjectPreparation
Business
Blueprint
!mplementation
ProductionPreparation ?o#i*e @
/upport
Data transfer is referred to in about 2places in the /P 1oadmap
Phase 1: Project Preparation 0 planning and preparing the SAP pro4ect.
Phase 2: Business Blueprint 0 creating the business blueprint document. This is a detailed
description of the results of wor(shops on the business process re6uirements of a company. 8rom
this document you can get an overview of how the company would li(e to represent its business
processes in the SAP System.
Phase 3: Implementation 0 configuring business and process re6uirements from the business
blueprint in the SAP System. The system is configured into two wor( pac(ages 0 the baseline
configuration #main scope$ and the detail configuration #detail scope$.
Phase 4: Production Preparation 0 carrying out tests and user training, for system management and
data transfer to meet the re6uirements for productive operation. n this last preparation phase allimportant, open 6uestions are cleared up. 3nce this phase has been successfully completed, you can
perform your business operations in the SAP productive system.
Phase 5: Go-Live & upport 0 the transition from the pro4ect0oriented, preproductive environment
to the successful productive operation.
SAP AG BC420 3-14
8/11/2019 BC420_46C - 003Project Concept
15/42
0.7
SAP AG 1999
;orm project team
/pecif& tasks
ssi,n tasks and roles
Data Transfer Project
f a data transfer is to be carried out, it should be implemented in a pro4ect for each application.
Pro4ects can be divided into sub0pro4ects as needed.
A pro4ect team should be assembed for the data transfer. Each member of the pro4ect should be able
to carry out specified tas(s of the entire pro4ect, so that the team is in a position to be able to carry
out the complete process.
After forming the team the tas(s involved in the pro4ect should be specified.
After the tas(s are specified, they should be assigned to team members. 3ne person may have
several roles.
SAP AG BC420 3-15
8/11/2019 BC420_46C - 003Project Concept
16/42
0.73
SAP AG 1999
Project PrereAuisites
Customi9in, completed
no'led,e of:
e,ac& s&stem
/P /&stem
Personnel a*ailable
-ustomi2ing is e"tremely important for data transfer. -ustomi2ing changes automatically result in
changes to the chec(s and valid values of the %&' System. 8or data transfer this means that data that
could be transferred error0free before -ustomi2ing was changed, may be transferred with errors after
changes in -ustomi2ing. Therefore, always test data transfer after every -ustomi2ing change.
To e"ecute the data transfer, you must have the re6uired bac(ground (nowledge and understand the
techni6ues for e"tracting data from e"ternal systems, as well as the procedures for transferring the
data to the SAP System.
ote) 5ou must also have comprehensive (nowledge of the applications whose data is to be
transferred.
Another 6uestion to be answered is) Are there enough people on the team to carry out the re6uiredtas(s9
SAP AG BC420 3-16
8/11/2019 BC420_46C - 003Project Concept
17/42
0.74
SAP AG 1999
Project Tasks
Extract data
;ormat data
ap data
Test andor execute datatransfer
Check data
>USD
format
Map
Check
ra!"fer #ata
$%tract
The tas(s listed above should be e"ecuted in a data transfer pro4ect.
SAP AG BC420 3-17
8/11/2019 BC420_46C - 003Project Concept
18/42
0.76
SAP AG 1999
Test Procedure
&Check data in 1+&Correct add to data in le,ac& s&stem
Transfer Data
Con*ert Data
TE/T
> USD
/tart ;inish
A test should always be run with a representative amount of data. This means the test data should
include as many t!pical data records "rom the e#ternal s!stemas possible$Testing using *:: data
records that are all copies of the first is of no use at all.
There are three phases in the test)
-onverting the data into the interface format
Transferring the data to the %&' System
Testing the data in the %&' System
f data errors are found, fi" these errors in the legacy system. /ata 6uality is e"tremely important for
data transfer. /ata records with errors usually result in errors in the data transfer.
Therefore, the data from the legacy system must be *::; correct to ensure error0free data transfer.
The appendi" has additional information on the test procedure.
SAP AG BC420 3-18
8/11/2019 BC420_46C - 003Project Concept
19/42
0.78
SAP AG 1999
Documentation from D"#$B
pplication help
8/11/2019 BC420_46C - 003Project Concept
20/42
0.20
SAP AG 1999
dditional Documentation
Data Transfer d*iser
Technical information about a*ailable tools andtechnolo,ies for data transfer.
http'(("er)*ce+"ap+com(#ta
Delta iosk
!nformation about transactions re*ised in 5.3
http'(("er)*ce+"ap+com(46k*o"k
-,hat." !e/ *! th*" eea"e
-,A re)*"e# tra!"act*o!"
SAP AG BC420 3-20
8/11/2019 BC420_46C - 003Project Concept
21/42
0.27
SAP AG 1999
)ther Data Transfer $orkbenches
External Data Transfer
Ba!k*! rea"r
rther *!format*o! *! the o!*!e #ocme!tat*o!
!B!P
Pa!t ma*!te!a!ce
rther *!format*o! *! the o!*!e tra!"act*o! BP
!/#(
:ect" of the ;t**t*e" !#"tr B"*!e"" Sot*o!
rther *!format*o! *! the o!*!e #ocme!tat*o!
5ou can find documentation on the e#ternal data trans"er %or'ench in the SAP 1ibrary under)
-ross0Application -omponents 0= -A /ata Transfer.
The e"ternal data transfer wor(bench is used in the following areas)
Treasury #T%$
-entral business partners
E"ecutive nformation System #ES$
Profitability analysis #-30PA$
Ban( -ustomer Accounts #B-A$, profitability and ris( analysis of the ndustry Business Solution,SAP Ban(ing
IBIPsupports ob4ects for plant maintenance. 8or more information see the documentation
#information icon$ in the transaction BP.
SAP AG BC420 3-21
8/11/2019 BC420_46C - 003Project Concept
22/42
0.22
SAP AG 1999
Data Transfer Project
Tools and ethodsTools and ethods
Project )r,ani9ationProject )r,ani9ation
Business )bjectBusiness )bject
D"#$B ProjectD"#$B Project
SAP AG BC420 3-22
8/11/2019 BC420_46C - 003Project Concept
23/42
0.2+
SAP AG 1999
Business )bject 1epositor& # B)1
Business )bject Builder
Business )bject 1epositor&
Business )bjects
pplication components
B) B)
B)
B)
)r,ani9ation of transferpro,rams usin, B)1 objects
B3%) Business 3b4ect %epository
-entral repository within the %&' System containing all the SAP business ob4ect types, SAP
interface types, their definitions and methods etc.
t identifies and describes the available SAP business ob4ect types and interface types and their
BAPs.
8or e"ample, if you are developing an application program you use the (ey fields and the BAP
methods from the information stored in the B3% on the SAP business ob4ect types or SAP
interface types. The B3% contains all the details you need to integrate the correct ob4ect type
definitions and BAP calls into your application program.
1i(ewise, all the transfer programs as of >.? are organi2ed by the B3% ob4ects in the application.
SAP AG BC420 3-23
8/11/2019 BC420_46C - 003Project Concept
24/42
0.25
SAP AG 1999
Business )bjects
Businessobject
Transferpro,ram
Transferpro,ram
Transferpro,ram
)r,ani9ation of transfer pro,rams and BP!s usin, B)1 objects
BP!
BP!
BP!
BP!
BAP) Business (pplication Programming Interface
Standardi2ed programming interface that enables access to business processes and data in the %&'
System.
BAPs are defined in the B3% as methodsof SAP 'usiness o'ject t!pes that carry out specific
business functions.
There may be different transfer methods for each B3% ob4ect. These may be BAPs or transfer
programs. As the BAPs are already defined through B3% ob4ects, the standard transfer programs are
also closely defined through them. So a B3% ob4ect can identify all the transfer programs that it can
use.
The B3% is the %&' interface to e"ternal systems, so all the transfer programs have been assigned to
the B3% ob4ects.
SAP AG BC420 3-24
8/11/2019 BC420_46C - 003Project Concept
25/42
0.2
SAP AG 1999
Project Concept
Tools and ethodsTools and ethods
Project )r,ani9ationProject )r,ani9ation
Business )bjectBusiness )bject
D"#$B ProjectD"#$B Project
SAP AG BC420 3-25
8/11/2019 BC420_46C - 003Project Concept
26/42
0.23
SAP AG 1999
D"#$B ;unctions
Project)r,ani9ation
Tools 1e,istration
/tandard transferpro,rams andBP!s arere,istered
Customerspro,rams andfunction modules
Overview of
available
procedures
Create test data
;ile functions
Acquire
knowledge of
transfer obect
and load program
Project% subproject%run% task%
Execute andschedule
Organi!ation of data
transfer
The /ata Transfer !or(bench provides you with integrated pro4ect management to carry out all the
steps re6uired for transferring data into your %&' System.
The /
8/11/2019 BC420_46C - 003Project Concept
27/42
0.24
SAP AG 1999
The D" ibrar&
BP!
BP!
BP!
B)
/election of pro,rams thatexecute the task
)*er*ie' of 1e,istered D" Pro,rams
n the /
8/11/2019 BC420_46C - 003Project Concept
28/42
0.26
SAP AG 1999
appin, Project to the D"#$B
Tasks: Con*ert data> USD
Online
Transaction
Create B! session
Process B! session
SAP format
External
format
B
8/11/2019 BC420_46C - 003Project Concept
29/42
0.28
SAP AG 1999
)r,ani9ation of Data Transfer Projects
Task n
:
:
:
SAP Standard transfer
"onvert data
"reate customers using "T
"ustomer master record
data
#inancial Accounting
: Customers
/ubproject
Task 7
Project
1un
5ou can create transfer pro4ects in the /
8/11/2019 BC420_46C - 003Project Concept
30/42
0.+0
SAP AG 1999
Proects are used to group transferobects
Project
Creatin, Projects
Project
Description *!a!c*a acco!t*!
)bject attributes
ame of the project
Description of the object
Pro4ects are used to group the transfer of business ob4ects.
8or each 'usiness o'ject t!pe you want to transfer, you must create at least one su'project$ 8or
each subpro4ect, you must create at least one flow definition and one tas(.
Each pro4ect name must be uni6ue within a system, as the name is used as a (ey.
SAP AG BC420 3-30
8/11/2019 BC420_46C - 003Project Concept
31/42
0.+7
SAP AG 1999
Creatin, /ubproject
Subproects are used todivide a proect into business
obect t$pes%
Project
Subproject C"tomer
Description C"tomer ma"ter #ata
Object type =>A1
/election of a*ailableobject t&pes
/ubproject
)bject ttributes
ame of subproject
)bject description
Business objects in the Business )bject 1epositor& FB)1G.
Subpro4ects are used to subdivide pro4ects. )ach su'project is assi*ned e#actl! one 'usiness
o'ject t!pe whose data is transferred as part of that subpro4ect. !ithin a pro4ect, you can create
several subpro4ects for the same business ob4ect type #for e"ample, subpro4ects for Document data
transfer from plants 1, 2, and 3$.
f after reading all the descriptions of the available ob4ects you cannot find the ob4ect you need, see
the application documentation for more information.
Subpro4ect names in the system must be uni6ue as they are used as a (ey.
SAP AG BC420 3-31
8/11/2019 BC420_46C - 003Project Concept
32/42
0.+2
SAP AG 1999
Create 1un Definition
Project
Subproject C"tomer
Run definition Create
Description Create c"tomer /*th BIn t&e run definition $ou
specif$ &ow t&e data
transfer for a subproect is
to be transferred%
1un T&e tasks can be defined int&e run
)bject attribute
ame of run definition
Description of object
n the run specification you specify ho% the data "or a su'project is trans"erred, by creating tas(s
and specifying the files #see Task (n)$. 5ou can create more than one run definition for each
subpro4ect. /epending on the type different methods are possible for each run.
5ou can transfer the data in parallel by creating several run definitions with different file names in
one subpro4ect and then starting parallel runs.
SAP AG BC420 3-32
8/11/2019 BC420_46C - 003Project Concept
33/42
0.++
SAP AG 1999
Tasks: Con*ersion
Pro:ect Spro:ect C"tomer"
! #ef*!*t*o! Create
a"k Se""*o!"
ame
/$ /ubproj.
?oc+
A
?oc+
AP c420+++co!)
8/11/2019 BC420_46C - 003Project Concept
34/42
0.+5
SAP AG 1999
Tasks: oadin,
Pro:ect
Spro:ect C"tomer"
! #ef*!*t*o! Create
a"k ?oa#
P
,eport and variant must be
specified for program t$pe
*-I.P+ or *,EPO+%
1eport B
8/11/2019 BC420_46C - 003Project Concept
35/42
8/11/2019 BC420_46C - 003Project Concept
36/42
0.+3
SAP AG 1999
o,
01+11+1999 10'34'42 B$S 5 BC420'++++
8/11/2019 BC420_46C - 003Project Concept
37/42
0.+4
SAP AG 1999
Processin, 1un Problems
Possible actions for dealin, 'ith runs that 'ere not
completed successfull&:
Cancel runThe run is ended
Continue run!f a task is ended 'ith an error% this run can becontinued 'ith this task
End task
The task 'ith the error is ended and subseAuent tasks are executed
Delete runCurrent lo, is deleted. !f attributes of the run are to bechan,ed% all lo,s must be deleted.
f a run did not complete successfully, you can choose from the possible actions)
-ontinue run)
To complete a run that did not finish successfully, fi" the error using the log as a source of error
information, position the cursor on the run / #for e"ample, ::'$, and choose Continue run.
-ancel run)
f a run cannot be completed, cancel the run by choosing Cancel run.
This run must be canceled before any other run can be e"ecuted.
-ancel tas(
f a tas( has not been completed, you can still set it to completed by choosing Cancel task. !hen
the run is continued, this tas( will be s(ipped.
/elete run
5ou can delete runs that have completed or been manually terminated, by choosingDelete run.
SAP AG BC420 3-37
8/11/2019 BC420_46C - 003Project Concept
38/42
0.+6
SAP AG 1999
Describe the data transfer methods
Describe the tasks in a transfer project
Explain the use of business objects and BP!s
Create a data transfer project in the D" # $B andexecute a customer data transfer
Jou are no' able to:
Project Concept : (nit /ummar&
SAP AG BC420 3-38
8/11/2019 BC420_46C - 003Project Concept
39/42
)#ercises
+nit: Project ,oncept
opic: ,reate .ata rans"er Project in ./-0B
-reating a transfer pro4ect in the /
8/11/2019 BC420_46C - 003Project Concept
40/42
*0> -reate the following three tas(s. The tas(s represent the following process
steps) ,onvert data ,reate BI session and Process B(I session$
*0>0* -reate the following tas( in the run B0)
0 Tas() MAP0
0 /escription) -onvert data
0 Tas( type) MAP
0 Program type) 1SM!
Select the following 1SM! ob4ect)
1SM! pro4ect) B->+:0
1SM! subpro4ect) /EB0
1SM! 3b4ect) B00T
*0>0+ n run B0 create the following tas()
0 Tas() 13A0
0 ame) -reate B session
- Tas( type) 13A 0 Program type) BP
Select the program %8B/E:: with the variant B00.
*0>0' n run B0 create the following tas()
0 Tas() MS-0
0 ame) Process B session
- Tas( type) MS-
0 Program type) %EP3
Select program %SB/-SB with the variant SB00.
ote that you have to correct the se6uence of the tas(s. ,onvert data create
BI session and process BI session$ se buttons) &
*0F Select the run #mouse clic($. Start the run by choosing button 'tart run
The programs are started. -onfirm all tas(s manually.
*0? The debtors are created with internal number assignment.
*0G /isplay the log.
SAP AG BC420 3-40
8/11/2019 BC420_46C - 003Project Concept
41/42
olutions
,hapter: Project ,oncept
* Start the /
8/11/2019 BC420_46C - 003Project Concept
42/42
*0> Select your run definition in the tree structure display.
-reate the following three tas(s. The tas(s represent the following process steps)
convert data, create B session, process B session.
se theCreate taskbutton.
*0>0* n run B0 create the following tas()
0 Tas() MAP00 ame) -onvert data
0 Tas( type) MAP
0 Program type) 1SM!
-hoose Continue to define the attributes for the 1SM!.
Select the following 1SM! ob4ect)
1SM! pro4ect) B->+:0
1SM! subpro4ect) /EB0
1SM! ob4ect) B00T
*0>0+ n run B0 create the following tas()
0 Tas() 13A0
0 ame) -reate B session
- Tas( type) 13A
0 Program type) BP
Select program %8B/E:: with the variant B00.
*0>0' n run B0 create the following tas()
0 Tas() MS-0
0 ame) Process B session
- Tas( type) MS-
0 Program type) %EP3
Select program %SB/-SB with the variant SB00.
ote that you have to correct the se6uence of the tas(s. ,onvert data create
BI session and process BI session$ se buttons) &
*0F Select the run #mouse clic($. Start the run by choosing 'tart run
The tas( MAP0 of 1SM! will be e"ecuted automatically.
Program %8B/E:: is called. The selection screen appears. Start the program.
The B session is created. 1eave the program using the 8' button. -onfirm the
status Task ended %it&out errors.
Program %SB/-SB is called. The selection screen appears. Start the program.
The B session is processed. 1eave the program using the 8' button. -onfirm
the status Task ended %it&out errors.