1. Introduction
APO core interface (CIF) is a standard interface which connects an APO & a standard R/3 system. CIF interface enables the data exchange between an SAP ERP system (SAP R/3, SAP R/3 Enterprise, or SAP ECC), and a connected SAP SCM system. CIF enables the integration of master data from SAP ECC to SCM APO (one way only) and the integration of transactional data in both ways, from ECC to APO and vice versa. The basic idea of the integration is to write events for each planning relevant change – e.g. the creation of an order – and use these as trigger point for the data transfer. Technically the transfer is performed via qRFC. Which objects (i.e. planned orders, stock) should be transferred from SAP ECC to SCM APO is controlled by the integration models, which could be regarded as something like the master data of the CIF.
2. Business Objective
The main objective of configuring the ECC core interface is to integrate the centralized source of master data from ECC to APO & publishing planning result from SCM planning system (APO) to SAP OLTP system (ECC) & vice versa. It is essential to maintain the consistent data & its flow between planning and execution system for better planning result & optimum inventory level. This configuration also suffices the objective of real time transactional data transfer between planning and execution system & delta transfer for master data changes.
CIF provides the following central functions:
3. Key Design Areas
4. Technical Integration between ECC & APO (CIF Configuration)
5. CIF Set-up & Related Configuration Task
We defined logical system for both ECC and APO system. To enable the transfer of data via APO Core Interface (CIF), you need to name both the ERP system in which you are working and the SAP APO system to which you want to transfer data as logical systems.
Note:-The above activity is dependent upon the target system concerned. For this reason, there is no transport to the production system. As a result, you need to also make the settings for the relevant target system in the production system manually, Or Alternatively, you can maintain the entire ECC & APO logical system name (as per SAP system landscape & client strategy) in Development client and include them in a transport. This will make all the logical system available across ECC system landscape & minimize the manual activities.
In this step, assign the logical system to a client. All the fields like City, Std. currency, logical system should be maintained. Otherwise there will be some futile CIF error during the data transfer from ECC to APO.
Note: - These settings cannot be transported. When a new system is being set up, these settings must be made after the system installation has been completed.
In this step, you have to specify the release level of the SAP APO system that is defined as the target system. The release level will activate the compatible functionality for the data transfer.
Note: - The above activity is dependent upon the target system concerned. For this reason, there is no transport to the production system. As a result, you need to also make the settings for the relevant target system in the production system manually or
Alternatively, you can maintain the all of the logical system name (as per SAP system landscape) in Development client and include them in a transport. This will make all the logical system available across ECC system landscape & minimize the manual activities.
In this step, create the RFC destination which has the same name as the target logical system. This RFC enables the connection to the SCM APO system.
Performance Tip: - By activating the load balancing & defining the logon group, you can use the load balancing procedure while connecting to the APO system. This logon group needs to be assigned to the various servers in transaction code RZ12.
When ECC is connected to APO system it always uses ALEREMOTE user in order to process any CIF queues.
You assign various application areas to the logical system and the RFC destination. This is optional configuration & purely depends on the business requirement & guidelines for the type of RFC user to be used for security reasons. Some of the applications only work with RFC dialog user e.g. GATP availability check, but from security point of view, most of the clients e.g. life science, FMCG doesn’t allow to create the RFC user as dialog user which can be misused.
To meet the business requirement, there is a need to create a new RFC destination with different RFC user of type either Dialog or Service user with very limited & restricted authorization. The authorization has to be provided for the type of application to be use.
The below applications can be triggered from ECC into APO
In this step, you can set the queue type for the target system specified. It is always recommended to use the inbound queues in the target system to control the processing of the CIF queues with heavy data load.
The queue type (inbound or outbound) determines whether the queues processing is controlled by the sending or receiving system
In this IMG activity, you can make user-specific entries for the following parameters:
Note: - Refer to OSS note # 436527 for the block size recommendation.
Note: -
This configuration is a prerequisite for transferring master data changes with change pointers.
The following change pointers are important to be activated e.g. Vendor master, Customer master, Set-up group and Source of supply, material MRP area, Subcontracting PDS.
Note: - Activation of change pointer is only needed if the corresponding master data is used in system.
Note: - This is not the default setting; hence make sure both the above mentioned indicators are set.
We defined logical system for both ECC and APO system. To enable the transfer of data via APO Core Interface (CIF), you need to name both the ERP system in which you are working and the SAP APO system to which you want to transfer data as logical systems.
Note: - The above activity is dependent upon the target system concerned. For this reason, there is no transport to the production system. As a result, you need to also make the settings for the relevant target system in the production system manually, Or
Alternatively, you can maintain the all of the logical system name (as per SAP system landscape) in Development client and include them in a transport. This will make all the logical system available across ECC system landscape & minimize the manual activities.
In this step, assign the logical system to a client. All the fields like City, Std. currency, logical system should be maintained. Otherwise there will be some futile CIF error during the data transfer from ECC to APO.
Note: - These settings cannot be transported. When a new system is being set up, these settings must be made after the system installation has been completed.
In this step, create the RFC destination which has the same name as the target logical system. This RFC enables the connection to the ECC system.
Performance Tip: - By activating the load balancing & defining the logon group, you can use the load balancing procedure while connecting to the ECC system. This logon group needs to be assigned to the various servers in transaction code RZ12.
When APO is connected to ECC system it always uses ALEREMOTE user in order to process any CIF queues.
In this step, to enable error-free communication, every source system (ERP system) must be assigned to a BSG. We assign the logical system to the BSG group & the queue type.
Here, we have also activated the CIF post processing functionality for CIF error handling of transaction data.
Note: - It is recommended to use the Inbound Queues if transferring a large amount of data to the ERP system to ensure an even load on the ERP system. Ensure to maintain settings for the Queue-In (QIN) Scheduler in the qRFC monitor on the ERP side.
In this IMG activity, you can make user-specific entries for the following parameters:
In order to publish the planning results from APO system to ECC system, we have maintained all the publication types for the required locations forwhich we wanted to publish the order to ECC system. This is maintained for both in-house and external procurement.
Note: - If the distribution definitions are not maintained then the planning results will not transfer back to the connected ERP system. The data inconsistency between ECC & APO system will even not be captured in CCR report.
5.4. qRFC queue names for CIF
QRFC queue names for the CIF are always set up according to the following rules:
CF<CIF object ID><serialization character string>
The CIF objects that are transferred from an ERP system to the APO system are listed below:
CIF object | ID | Serialization Character string |
Batch | BTC | CHARG+(10) + MATNR+(9) |
Resources | CAPA | NAME+(18) |
Characteristic | CHR | ATNAM+(19) |
Class | CLA | KLART+(3) + CLASS+(16) |
Inspection lot | LOT | PRUEFLOS+(17) |
Material master | MAT | WERKS+(4) + MATNR+(14) |
Planned order | PLO | ORDNR+(12) |
Confirmation | PPC | ORDERNR |
Reservation | RSV | ORDNR+(12) |
Purchase order | PO | DOC+(10) |
Purchase Requisition | PO | DOC+(10) |
The CIF objects that are transferred to an ERP system from SAP APO are listed below:
CIF object | ID | Serialization Character string |
Delivery confirmation | CD | ORDERNO |
Confirmation | CF | GUID or ORDERNO |
VMI Sales order | CO | ORDERNO |
Delivery | DLV | 001 |
Purchase requisition | EP | GUID or ORDERNO |
Purchase order | EP | GUID or ORDERNO |
Planned order | IP | GUID or ORDERNO |
Process/Production Order | IP | GUID or ORDERNO |
Production campaign | PC | GUID or ORDERNO |
| RV | GUID or ORDERNO |
Shipment | SHP | 001 |
Stock transport order | TO | GUID or ORDERNO |
Below is the CIF configuration checklist or tracker which can be maintained to monitor the CIF configuration in ECC & APO system simultaneously. This will avoid any configuration to get missed.
| Configuration Nodes | APO | APO Status | ECC | ECC Status |
1 | Name Logical System | Basis | Completed | Basis | Completed |
2 | Assign Logical System to a Client | Basis | Completed | Basis | Completed |
3 | Specify SAP APO Release | NA | NA | Basis/Functional | Completed |
4 | Create RFC User | Basis | Completed | Basis | Completed |
5 | Set Up RFC Destination | Basis | Completed | Basis | Completed |
6 | Set Target System and Queue Type | CIF Functional | Completed | CIF Functional | Completed |
7 | Set User Parameters | Basis/CIF Functional | Completed | Basis/CIF Functional | Completed |
8 | Configure Application Log | CIF Functional | Not Started | CIF Functional | No Change |
9 | Determine Number Ranges for Parallelization | NA | NA | Basis | No Change |
10 | Set Filter and Selection Block Size | No Change | No Change | No Change | No Change |
11 | Configure Change Transfer for Master Data | NA | NA | CIF Functional | Completed |
12 | Activate ALE Change Pointers Generally | NA | NA | CIF Functional | Not Started |
13 | Activate ALE Change Pointers for Message Types | NA | NA | CIF Functional | Not Started |
14 | Activate Online Transfer Using BTE | NA | NA | CIF Functional | Completed |
16 | Activate Cross-System Update Logic | NA | NA | CIF Functional | Completed |
17 | Maintain Business System Group | CIF Functional | Completed | NA | NA |
18 | Assign Logical System and Queue Type | CIF Functional | Completed | NA | NA |
19 | Maintain Object-Specific Settings | CIF Functional | Not Started | NA | NA |
20 | Maintain Publication Settings | CIF Functional | Not Started | NA | NA |
| Activities | APO | APO Status | ECC | ECC Status |
1 | Setup Outbound scheduler | Basis | Completed | Basis | Completed |
2 | Setup Inbound scheduler | Basis | NA | Basis | NA |
3 | Activate outbound scheduler for CIF | Functional | Completed | Functional | Completed |
4 | Activate Inbound scheduler for CIF | Functional | NA | Functional | NA |
5 | Create Integration model | NA | NA | Functional | Completed |
6 | Activate Integration model | NA | NA | Functional | Completed |
7 | Maintain Publication Settings (After Master Data transfer) | Functional | Completed | NA |
6. Integration of Master data and Transactional data (Design of Integration Models)
The integration model controls the transfer of master data and transaction data. It is generated in the ERP system and contains all data that is to be transferred to the SCM system. It is uniquely identified by name and application. There are 2 steps in integration models
When you generate an integration model, you specify which data objects are to be selected from the total dataset in the ERP system for the transfer. To create the integration model, follow the below steps:
Note: - Normally, there are some challenges to generate & activate the material dependent integration model for master & transaction data during initial transfer, when the master data objects to be transferred are huge. In that case we need to do some work to design the integration model to have the optimum no of data objects per IM.
The critical data objects are:
The following are the recommendations which can be used to do the initial data transfer successfully.
6.1. Data Flow between ECC to APO & its Frequency
Master Data | Daily Batch Job- Once in a Day | Manually |
Plant | No | Periodic, Need basis |
Vendor, Customer | Yes; Create new, Change existing | Need basis |
Material | Yes; Create new, Change existing | Need basis |
Info Record | Yes; Create new, Change existing | Need basis |
PDS | Yes; Create new, Change existing | Need basis |
Transactional Data | Daily Batch Job- Once in a Day | Real Time |
Purchase Requisition's | Yes; Activate IM for new APO relevant materials | Create, Change |
Inspection lot | Yes; Activate IM for new APO relevant materials | Create, Change |
Purchase Orders | Yes; Activate IM for new APO relevant materials | Create, Change |
Stocks | Yes; Activate IM for new APO relevant materials | Create, Change |
Stock Transfer Orders | Yes; Activate IM for new APO relevant materials | Create, Change |
Sales Orders | Yes; Activate IM for new APO relevant materials | Create, Change |
Note: - The above mentioned data flow frequency from ECC to APO is just a recommendation based on various project experiences. Still, these can vary from project to project depends on business requirements .
6.2. Publication of procurement proposal from APO to ECC (Transaction code- /SAPAPO/C5)
Transactional Data can be transferred from APO to ECC in two ways
---------Contd... PART-2-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |