Sap Apo Cif Training
Sap Apo Cif Training
Sap Apo Cif Training
Todays 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
CIF Overview
10
11
12
Integration Model
13
14
To create
15
16
17
18
19
20
21
22
Continue
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
23
24
25
26
27
28
Resource
29
Resources
30
Resource capacity
31
32
Scheduling time
33
Activity relationships
34
35
36
37
38
39
40
41
Transactional data
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.
42
Continue
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.
43
44
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.
45
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.
46
Continue
Click on the SMQ1/SMQ2 button and it takes you to R/3 SOS (RD7) inbound queue.
47
Continue
Double click on the queue; you go to the details of the function module called.
48
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.
49
Continue..
50
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. PERFORM ptv_fuellen USING im_activity
51
Error Handling While Transfer from both ways from APO to R/3 and R/3 to APO
52
Error Handling
53
Error Handling
cont
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.
54
55
56
57
Thank You