SAP APO CIF Training By Veeram Satish Reddy


© 2009 Wipro Ltd - Confidential

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


© 2009 Wipro Ltd - Confidential

CIF Overview


Integrating APO With SAP R/3: Overview


R/3 Plug-In Details


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

Integrating APO with R/3 – The Big Picture 7 .

Integration Model Setup 8 .

CIF Integration Model 9 .

Key Steps to Configure the CIF 10 .

Technical Integration Settings in R/3 and APO 11 .

Configuring the Integration Between APO and R/3 12 .

Integration Model 13 .

Creation of Integration Model(CFM1 transaction) 14 .

) To create 15 .Creation of Integration Model (cont.

Integration Models: Activation 16 .

Activation of Integration Model 17 .

Activation of Integration Model (CFM 2) 18 .

Broad Classification of Data Objects Transferred via CIF 19 .

Overview of Master Data 20 .

Master data changes 21 .

MRP Areas in R/3 all map to Location master in APO differentiated by Location Type (1001.About Master data • Location ./SAPAPO/MAT1 • Material in R/3 is mapped to Product in APO. 1007) • Product ./SAPAPO/LOC3 • Plants (Manufacturing / DC). Has multiple tabs similar to that in R/3. Storage or Transportation 22 . Many field values come from R/3 while APOspecific field values are either manually populated or automatically during CIF transfer from R/3 to APO • Resource . 1011./SAPAPO/RES01 • Work Center (or Capacity) in R/3 defines the machine or equipment used for Production. Customers. 1002. 1010. Vendors.

to where products can be moved and the transportation duration • Procurement Relationship . Used for In-house Produced Products to determine components and resource (capacity and time) requirements • Transportation Lane ./SAPAPO/CURTO_SIMU • Combination of Bill-of-Material and Routing in R/3 (Production Version). Purchasing Info records and Scheduling Agreements coming from R/3 23 ./SAPAPO/PWBSRC1 • Displays Contracts.Continue… • PDS ./SAPAPO/SCC_TL3 • Purchasing Info records and Contracts in R/3 map to Transportation Lanes in APO that define from where .

Locations with location types 24 .

New Material transfer 25 .

Lot sizing procedure 26 .

Lot sizing procedure 27 .

Period lot size 28 .

Resource 29 .

Resources 30 .

Resource capacity 31 .

Production Process Model 32 .

Scheduling time 33 .

Activity relationships 34 .

Production Process Model (PPM) – BOM and Routing 35 .

External procurement relationships 36 .

Overview of Transactional data 37 .

Transfer of transactional data 38 .

Internal and External Data Inconsistencies in APO 39 .

Two Types of Inconsistencies in APO 40 .

How to Identify and Fix Consistency Errors 41 .

• Production Order Planned Order is converted to a Production Order in R/3 which is then executed up (actual production carried out). This may not be the firm demand but just a plan. • Independent Requirement / Demand Requirement for a finished product coming from customer. 42 . • Purchase Requisition / STR Planned requisition resulting from Production Planning run for an Externally Procured Product .Transactional data • Planned Order Manufacturing Order created in APO resulting from Production Planning run for In-house Produced Product. • Purchase Order / STO Requisition is converted to a firmed Order in R/3 for subsequent execution.

• Stock Quantity of product available at a location either after production or procurement. 43 .Continue… • Sales Order Firm demand from customer with a confirmed requirement date and quantity.

Debug CIF and CIF logs 44 .

• Go to transaction /SAPAPO/C4 and make an entry for your user. This ensures that every queue object created gets blocked in the outbound port. 45 .CIF Debugging for STO’s from APO posted to the R3 SOS as PO • Activate CIF debugging for all outbound queues in APO. Make sure your logon carries all relevant authorizations.

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

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

48 . you go to the details of the function module called.Continue… Double click on the queue.

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

50 ..Continue.

• PERFORM ptv_fuellen USING im_activity 51 .Continue… 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.

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

Error Handling 53 .

Application errors cannot be solved by the system independently and must be processed by the system administrator.Error Handling cont… • Communication errors: This includes network problems. most of these communication errors should disappear once the network connection is available again. • Application error: This includes program errors. a non-existing RFC destination. Since the data transfer is repeated after certain periods. non-posting of data in the target system etc. and so on. 54 .

QRFC error detection 55 .

SCM Queue manager 56 .

Reconciliation of transactional data (/SAPAPO/CCR report) 57 .

Thank You © 2009 Wipro Ltd .Confidential .

Sign up to vote on this title
UsefulNot useful