Transcript
Page 1: Sap Apo Cif Training

© 2009 Wipro Ltd - Confidential1

ObjectiveSAP APO CIF Training

By Veeram Satish Reddy

Page 2: Sap Apo Cif Training

© 2009 Wipro Ltd - Confidential2

Today’s Session

• CIF Overview• Integration Model Setup• Overview of Master Data• Overview of Transactional data• Transferring of Master Data and Transactional Data• Internal and External Data Inconsistencies in APO• Debug CIF and CIF logs• Error Handling While Transfer from both ways from APO to

R/3 and R/3 to APO

Page 3: Sap Apo Cif Training

3

CIF Overview

Page 4: Sap Apo Cif Training

44

Integrating APO With SAP R/3: Overview

Page 5: Sap Apo Cif Training

55

R/3 Plug-In Details

Page 6: Sap Apo Cif Training

66

R/3 - APO Integration Is Enabled by the Core Interface (CIF)

Page 7: Sap Apo Cif Training

77

Integrating APO with R/3 – The Big Picture

Page 8: Sap Apo Cif Training

8

Integration Model Setup

Page 9: Sap Apo Cif Training

99

CIF Integration Model

Page 10: Sap Apo Cif Training

1010

Key Steps to Configure the CIF

Page 11: Sap Apo Cif Training

1111

Technical Integration Settings in R/3 and APO

Page 12: Sap Apo Cif Training

1212

Configuring the Integration Between APO and R/3

Page 13: Sap Apo Cif Training

1313

Integration Model

Page 14: Sap Apo Cif Training

1414

Creation of Integration Model(CFM1 transaction)

Page 15: Sap Apo Cif Training

1515

Creation of Integration Model (cont.)

To create

Page 16: Sap Apo Cif Training

1616

Integration Models: Activation

Page 17: Sap Apo Cif Training

1717

Activation of Integration Model

Page 18: Sap Apo Cif Training

1818

Activation of Integration Model (CFM 2)

Page 19: Sap Apo Cif Training

1919

Broad Classification of Data Objects Transferred via CIF

Page 20: Sap Apo Cif Training

20

Overview of Master Data

Page 21: Sap Apo Cif Training

2121

Master data changes

Page 22: Sap Apo Cif Training

2222

• Location - /SAPAPO/LOC3 • Plants (Manufacturing / DC), Vendors, Customers, MRP Areas

in R/3 all map to Location master in APO differentiated by Location Type (1001, 1002, 1011, 1010, 1007)

• Product - /SAPAPO/MAT1 • Material in R/3 is mapped to Product in APO. Has multiple tabs

similar to that in R/3. Many field values come from R/3 while APO-specific field values are either manually populated or automatically during CIF transfer from R/3 to APO

• Resource - /SAPAPO/RES01 • Work Center (or Capacity) in R/3 defines the machine or

equipment used for Production, Storage or Transportation

About Master data

Page 23: Sap Apo Cif Training

2323

• PDS - /SAPAPO/CURTO_SIMU • Combination of Bill-of-Material and Routing in R/3

(Production Version). Used for In-house Produced Products to determine components and resource (capacity and time) requirements

• Transportation Lane - /SAPAPO/SCC_TL3 • Purchasing Info records and Contracts in R/3 map to

Transportation Lanes in APO that define from where - to where products can be moved and the transportation duration

• Procurement Relationship - /SAPAPO/PWBSRC1 • Displays Contracts, Purchasing Info records and Scheduling

Agreements coming from R/3

Continue…

Page 24: Sap Apo Cif Training

2424

Locations with location types

Page 25: Sap Apo Cif Training

2525

New Material transfer

Page 26: Sap Apo Cif Training

2626

Lot sizing procedure

Page 27: Sap Apo Cif Training

2727

Lot sizing procedure

Page 28: Sap Apo Cif Training

2828

Period lot size

Page 29: Sap Apo Cif Training

2929

Resource

Page 30: Sap Apo Cif Training

3030

Resources

Page 31: Sap Apo Cif Training

3131

Resource capacity

Page 32: Sap Apo Cif Training

3232

Production Process Model

Page 33: Sap Apo Cif Training

3333

Scheduling time

Page 34: Sap Apo Cif Training

3434

Activity relationships

Page 35: Sap Apo Cif Training

3535

Production Process Model (PPM) – BOM and Routing

Page 36: Sap Apo Cif Training

3636

External procurement relationships

Page 37: Sap Apo Cif Training

37

Overview of Transactional data

Page 38: Sap Apo Cif Training

3838

Transfer of transactional data

Page 39: Sap Apo Cif Training

39

Internal and External Data Inconsistencies in APO

Page 40: Sap Apo Cif Training

4040

Two Types of Inconsistencies in APO

Page 41: Sap Apo Cif Training

4141

How to Identify and Fix Consistency Errors

Page 42: Sap Apo Cif Training

4242

• Planned Order Manufacturing Order created in APO resulting from Production

Planning run for In-house Produced Product.• Production Order Planned Order is converted to a Production Order in R/3 which is

then executed up (actual production carried out).• Purchase Requisition / STR Planned requisition resulting from Production Planning run for an

Externally Procured Product .• Purchase Order / STO Requisition is converted to a firmed Order in R/3 for subsequent

execution.• Independent Requirement / Demand Requirement for a finished product coming from customer. This

may not be the firm demand but just a plan.

Transactional data

Page 43: Sap Apo Cif Training

4343

• Sales Order Firm demand from customer with a confirmed requirement

date and quantity.• Stock Quantity of product available at a location either after

production or procurement.

Continue…

Page 44: Sap Apo Cif Training

44

 Debug CIF and CIF logs

Page 45: Sap Apo Cif Training

4545

CIF Debugging for STO’s from APO posted to the R3 SOS as PO

• Activate CIF debugging for all outbound queues in APO. • Go to transaction /SAPAPO/C4 and make an entry for your

user. Make sure your logon carries all relevant authorizations. This ensures that every queue object created gets blocked in the outbound port.

Page 46: Sap Apo Cif Training

4646

Continue…

• STO is created in APO. To send it to R/3, click on “send to OLTP” directly. • Go to APO queue manager (/SAPAPO/CQ) and notice that an outbound queue is waiting to be processed.

Page 47: Sap Apo Cif Training

4747

Continue…

Click on the “SMQ1/SMQ2” button and it takes you to R/3 SOS (RD7) inbound queue.

Page 48: Sap Apo Cif Training

4848

Continue…

Double click on the queue; you go to the details of the function module called.

Page 49: Sap Apo Cif Training

4949

Continue…

Select the function module and click on debug. You will taken to the debugger on R/3 side. From there, you need to debug till the creation of PO in R/3.

Page 50: Sap Apo Cif Training

5050

Continue..

Page 51: Sap Apo Cif Training

5151

The following modules/routines are called in the below sequence :

• CIF_PO_INBOUND • ME_APO_GENERATE_REQ_PO • Perform po_create • ME_CREATE_PO_ITEM • PERFORM neue_pos_bestellung(sapmm06e) • PERFORM ptv_fuellen_allgemein USING space. • PERFORM ptv_fuellen USING im_activity

Continue…

Page 52: Sap Apo Cif Training

52

Error Handling While Transfer from both ways from APO to R/3 and R/3 to APO

Page 53: Sap Apo Cif Training

5353

Error Handling

Page 54: Sap Apo Cif Training

5454

• Communication errors: This includes network problems, a non-existing RFC

destination, and so on. Since the data transfer is repeated after certain periods, most of these communication errors should disappear once the network connection is available again.

• Application error: This includes program errors, non-posting of data in the

target system etc. Application errors cannot be solved by the system independently and must be processed by the system administrator.

Error Handling cont…

Page 55: Sap Apo Cif Training

5555

QRFC error detection

Page 56: Sap Apo Cif Training

5656

SCM Queue manager

Page 57: Sap Apo Cif Training

5757

Reconciliation of transactional data (/SAPAPO/CCR report)

Page 58: Sap Apo Cif Training

© 2009 Wipro Ltd - Confidential

Thank You


Top Related