Documentos de Académico
Documentos de Profesional
Documentos de Cultura
General Topics
Supply Chain Management Overview
What is Supply Chain Management
Where does it fit
SCM Process
Requirement of APO for SCM planning
Appendix
Technical inputs – BAPI, BADI, EXIT, Function Modules, Reports, Tables
2 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
3 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
SAP Transforms
SAP PLM
Distribution Management
SAP ERP
Purchase Order
SAP SCM
SAP NetWeaver
5 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
6 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
APO Overview
SAP (Advanced Planning and Optimizer) or SAP (APO) is the planning component
within the mySAP SCM solution. APO is an acronym for Advanced Planner and
Optimizer. This is a large component of SAP's New Dimension products. APO is an
entire suite of supply chain planner applications that increase overall knowledge of the
supply chain and provide forecasting, planning and optimization. There are eight
application levels within SAP APO: network design, supply network planning, demand
planning, production planning and detailed scheduling, transportation planning and
vehicle scheduling, global availability and supply chain collaboration.
The SAP APO is not a standalone application and requires a backend ERP system such
as SAP R/3 for the execution. SAP R/3 communicate with SAP APO using the APO
Core Interface (CIF) which supplies SAP APO with the master and the transaction data
in the real time. Interaction between the SAP R/3 at backend and the SAP APO is in real
time and any data related to the production, the sales or the supplies is immediately
transferred from one system to another without requiring any batch processing.
8 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
9 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
10 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Plan
Dyn. Supply Chain Cooperation
Monitor
Supply Chain Event Management
11 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Customers
Storage
DEMAND
Locations
SUPPLY
Plants
Suppliers
12 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
DP SNP PP DS
Managing the flow of products and services and the associated information, across the business
system to maximize value to the end consumer.
Product/Services
Demand Planning
Demand and Cash flow
Information
14 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
15 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
16 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
17 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
18 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
19 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
20 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
21 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
What is LiveCache
The SAP liveCache technology is an object-based enhancement of the SAP MaxDB
database system. It was developed for managing complex objects in applications in
which large quantities of data must be constantly available and changeable. You can only
use SAP liveCache technology with SAP applications.
22 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Overview of CIF
24 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
25 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
26 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
CIF Functions
ERP ERP
APO ERP
27 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
R/3 APO
- Set up a logical system - Set up a logical system
- Assign LS to client - Assign LS to client
- Set up RFC destination - Set up business system
- Define target system (same name group
as the RFC destination) - Assign LS to BSG
Note : Details of the CIF configurations are not covered in this training
28 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
29 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
30 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
31 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
•Initial transfer
•R/3 •APO
•R/3 master data •APO master data
•Plant •Location
•Customer
•Product
•Vendor
•Resource
•Material master
•Capacity •Production
process model
•Routing and
•bill of material
32 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Integration Model
33 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
•Target system
•Resource
•Select master data •...
34 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
35 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
36 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
37 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Products manufactured X
in-house at bottleneck
resources
(Non-critical) products X
planned with reorder
point planning
(Non-critical) products X
planned with KANBAN
38 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Integration Model-1 : Products A & B at 10:00 hrs Integr Model-1 : Products A & B at 10:00 hrs
"Activate"
Active/Inact.
Activate Model
39 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
40 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Transaction CFC9
APO
Material master
Changed R/3 master data
Business Transaction Event, immed . objects are transferred into
ALE change pointer, periodic APO when the changes are
saved in real-time
no incremental data transfer
Customers
Business Transaction Event, immed . Changes to R/3 master data
ALE change pointer, periodic objects are recorded and the
transfer of the changes is
no incremental data transfer (periodically, for example)
triggered
Vendors
Business Transaction Event, immed .
Incremental Data Transfer
ALE change pointer, periodic
no incremental data transfer
41 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
n The process of incremental data transfer reverts to the ALE change pointer. This
change pointer selects the master data for the system to retransfer. When you call up
the transaction Incremental data transfer of master data (CFP1), specify the the logical
target systems and the master data objects (material masters, vendors, sources of
supply, customers), that have changes to be transferred.
Change pointers are used by the ALE message distribution. Changes to Master Data are recorded
and given a change number (if they are in an active message type).
Transaction BDCP
CIF Message types must be activated for change recording. Transaction BD50
42 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
43 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
The APO transaction data objects are not generally identical to those of the R/3 System. The
system transfers various R/3 transaction data into APO as orders that differ by ATP category
44 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
45 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Report : /SAPAPO/RDMCPPROCESS
T-Code : /SAPAPO/C5
Function Module : /SAPAPO/DM_CP_PUB
46 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
47 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
CFM1 – Creation of
Variant
48 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
JOB_1_AND_2
RIMODAC2 report
49 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
The settings for an incremental data transfer can be saved as variants and used for periodic
scheduling of incremental data transfer as a job. Report RCPTRAN4 is used for that
purpose.
Master data Change pointer generally active?
change Relevant message type
active?
Material master A
Mat.planning Change pointer
MRP type X0 Matl . B in-house pro. time
11 days
51 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Data transferred in both directions (from R/3 to APO as well as from APO to
R/3) by means of one or more queued Remote Function Calls (qRFC).
The function calls are buffered in the sending system and executed
asynchronously in the same sequence they were called. This serialization is
controlled by the use of identical queue names and is required to assure
consistency.
Multiple qRFCs can be combined into a logical unit of work (LUW), whereby
one LUW on the sender side results in one LUW on the receiver side.
52 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Communication Method
Outbound Queue
Inbound Queue
53 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Effect :
54 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Effect :
- Better CIF performance
55 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Normal
- the number of data records transferred is logged
Detailed
- the number and content of the data records transferred is logged
Delete entries:
- You can delete logs of the application log in R/3 and APO.
- The system does not delete the logs automatically.
- You can delete logs of the application log in R/3 and APO.
- Recommendation : Deleting the logs periodically (schedule background processing)
- Refer Next slide for further details
56 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
57 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
No
Check R/3 Check existence of
application log active integration
(T-Code: CFG1) model
Yes
Yes
Check R/3 qRFC Check queue status Correct error Reactivate queue
Monitor in R/3 and
(T-Code: SMQ1) retransfer
No
58 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
No
Check APO application Check existence of
log active integration
(T-Code: /SAPAPO/C3) model
Yes
Yes
Check APO qRFC Check queue Correct error Reactivate queue
Monitor status in APO and
(T-Code: SMQ1) retransfer
No
59 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
CIF Debugging
Module Objectives
61 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Introduction
Master and Transaction data in APO is either created in APO or transferred from SAP
R/3
CIF integration models used to transfer data.
There will be Inbound and Outbound Queues
Debugging can be done for both Queues by using Configurations enabled in APO
62 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
CIF Debugging
Contents
- Inbound/Outbound Queue
Configurations
Case Study
63 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Configurations
Go to transaction /SAPAPO/C4
Make an Entry for User
Enable RFC Debugging (Debugging On, Recording of t/qRFCs (NOSENDS))
64 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Example
Outbound Queue
CIF Debugging
Outbound
Inbound Queue
CIF Debugging
Inbound
65 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Appendix
CIF Monitoring
Application
R/3 log
APO
R/3:
Error
RFC
- Communication errors
Master/
transaction
transaction data
data - Application errors
APO master/
Core
Core Interface
Interface RFC
transaction data
live
Application
Cache
Cache
log
APO:
Error
67 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
On R3 side
On APO side
68 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
This report is used to monitor the transfer of Transaction Data. This report can be used
for :
¤ Checks the status of the active data channels - accordingly various data channels can be closed or opened.
¤ Display and analyze the objects to be transferred for each filter object
69 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
70 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
71 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
APO
R/3 Report /SAPAPO/CIF_DELTAREPORT2
Compare live
Database Cache
72 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
73 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
- BADI
- EXIT
- Report
- Table
74 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
75 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010
IBM Business Consulting Services
Congratulations!
76 Presentation Title | Confidential | Document ID Advanced Planning and Optimizer © Copyright IBM Corporation 2010