CIF Implementation (SAPAPO)
CIF IMPLEMENTATION (SAPAPO)
Sept, 2015
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
Table of Contents
Glossary of terms .......................................................................................................................................... 4
1. Purpose .................................................................................................. Error! Bookmark not defined.
2. CIF Configuration Setup ......................................................................... Error! Bookmark not defined.
2.1 CIF Setup in R/3 .............................................................................. Error! Bookmark not defined.
2.2 CIF Setup in APO ............................................................................ Error! Bookmark not defined.
2.3 ALE Setup for object dependencies…………………………………………………………………………………………7
3. CIF Integration Model Setup .................................................................. Error! Bookmark not defined.
3.1 Sequence to transfer the Master Data ......................................... Error! Bookmark not defined.
3.2 Creation of Integration Model ....................................................... Error! Bookmark not defined.
3.3 Activation of Integration Model.................................................................................................. 39
4. Background job setup (For Master data and Transaction data) ............ Error! Bookmark not defined.
4.1 Creation of job for “Generation of IM model” .............................. Error! Bookmark not defined.
4.2 Creation of job for “Activation of IM model” ................................ Error! Bookmark not defined.
4.3 Activation of Integration Model.................................................................................................. 39
CIF Implementation (SAPAPO)
Glossary of terms
CIF Core Interface (APO module to transfer Master data to APO and exchange of Transaction
Data between ECC and APO)
PS SAP Project System module
RFC Remote Function Call (Standard SAP protocol for communication between two systems)
BOM Bill of Materials (Master data in SAP ECC)
PDS Production Data Structure (Master data in APO containing BOM and Routing details from
ECC)
IM Integration Model
ALE Application Link Enabling
1. Purpose:
The Purpose of this document is to describe the general configuration steps for CIF setup in ECC and APO.
The objective of configuring the ECC core interface is to integrate the master data from ECC to APO & to
publish the planning data from APO to ECC & vice versa. Following things are covered:
1. CIF configuration: Technical integration setup between ECC and APO.
2. Integration model setup: Integration of Master data and Transaction data
3. Setting background jobs for master data transfer and transaction data transfer:
2. CIF Configuration: Creation of initial system setting for Data
Transfer
CIF Implementation (SAPAPO)
2.1 CIF Setup in R/3:
2.1.1 Creation of logical System
1. Access the transaction using the one of the following option
Transaction code BD54
SAP SCM menu SAP ERP SPRO >> SAP customizing implementation Guide >>
Integration with other MySAP Component >> Advance Planning and
Optimization >>Basic settings for setting up the system landscape>>
Name Logical System
2. Click on new entries
3. Specify the logical system name for both ECC and APO
CIF Implementation (SAPAPO)
2.1.2 Assign logical system to client
1. Access the transaction using the one of the following option
Transaction code SM30
SAP SCM menu SAP ERP SPRO >> SAP customizing implementation Guide >>
Integration with other MySAP Component >> Advance Planning and
Optimization >> Basic settings for setting up the system landscape
>>Assign Logical System
CIF Implementation (SAPAPO)
2. Select the table T000 and click on maintain
3. Click on new entries
4. Specify Client, name of the Logical System (created in last transaction), Currency and City
CIF Implementation (SAPAPO)
2.1.3 To create RFC destination
1. Access the transaction using the one of the following option
Transaction code SM59
SAP SCM menu SAP ERP SPRO >> SAP customizing implementation Guide >>
Integration with other MySAP Component >> Advance Planning and
Optimization >> Basic settings for setting up the system landscape
>>Set up RFC destination
2. Select “ABAP Connection” and click “Create”.
CIF Implementation (SAPAPO)
3. In Technical Setting Tab Specify RFC Destination (Name should be same as Logical System Name),
Description, Target Host name, system number
4. “Log on and Security tab”: Specify the details like Language (Optional), Target Client, Username,
Password. RFC destination will appear in the list
2.1.4 To maintain APO release
1. Access the transaction using the one of the following option
CIF Implementation (SAPAPO)
Transaction code NDV2
SAP SCM menu SAP ERP SPRO >> SAP customizing implementation Guide >>
Integration with other MySAP Component >> Advance Planning and
Optimization >> Basic settings for setting up the system landscape
>>Specify SAP APO release
2. Click on “New Entries”. Define Logical System, System Type and it’s release and click on save.
2.1.5 To define the Target System, Operation Type and Q-Type
1. Access the transaction using the one of the following option
Transaction code CFC1
CIF Implementation (SAPAPO)
SAP SCM menu SAP ERP SPRO >> SAP customizing implementation Guide >>
Integration with other MySAP Component >> Advance Planning and
Optimization >> Basic settings for setting up the system landscape
>>Set Target System and Queue Type
2. Click on “New Entries”, specify the Logical System Name and save the setting. Q-Type will be either
Outbound or Inbound Queues Logical system with corresponding Operation Mode and Q-Type will
appear in list.
2.1.6 To assign RFC destination to different application cases
1. Access the transaction using the one of the following option
Transaction code CFC7
CIF Implementation (SAPAPO)
SAP SCM menu SAP ERP SPRO >> SAP customizing implementation Guide >>
Integration with other MySAP Component >> Advance Planning and
Optimization >> Basic settings for setting up the system landscape
>>Assign RFC destination to different application cases
2. Click on “New Entries”, Define Logical System name and RFC Destination and clicks save.
Assignment will appear in the list.
CIF Implementation (SAPAPO)
2.2 CIF Setup in APO:
2.2.1: Creation of logical System
1. Access the transaction using the one of the following option
Transaction code BD54
SAP SCM menu SAPSCM implementation Guide >> Integration with SAP Components
>> Integration via Core Interface (CIF) >> Basic settings for setting up
the system landscape >>Name Logical System
2. Click on new entries
CIF Implementation (SAPAPO)
3. Specify the logical system name for both ECC and APO
2.2.2 Assign logical system to client
1. Access the transaction using the one of the following option
Transaction code SM30
SAP SCM menu SAPSCM implementation Guide >> Integration with SAP Components
>> Integration via Core Interface (CIF) >> Basic settings for setting up
the system landscape>> Assign Logical system to client
CIF Implementation (SAPAPO)
2. Select the table T000 and click on maintain
3. Click on new entries
4. Specify Client, name of the Logical System (Which you created in last transaction), Std Currency and
City
CIF Implementation (SAPAPO)
2.2.3 To create RFC destination
1. Access the transaction using the one of the following option
Transaction code SM59
SAP SCM menu SAPSCM implementation Guide >> Integration with SAP Components
>> Integration via Core Interface (CIF) >> Basic settings for setting up
the system landscape>> Set up RFC destination
2. Select “ABAP Connection” and click “Create”.
CIF Implementation (SAPAPO)
3. In Technical Setting Tab Specify RFC Destination (Name should be same as Logical System Name),
Description, Target Host name, system number
4. “Log on and Security tab”: Specify the details like Language (Optional), Target Client, Username,
Password. RFC destination will appear in the list.
CIF Implementation (SAPAPO)
5. “Log on and Security tab”: Specify the details like Language (Optional), Target Client, Username,
Password. RFC destination will appear in the list
2.2.4 To maintain the Business System Group
1. Access the transaction using the one of the following option
Transaction code /SAPAPO/C1
SAP SCM menu SAPSCM implementation Guide>> Integration with other mySAP
components >> Integration via core interface >> Basic settings for
creating the system landscape >> Maintain Business system group
CIF Implementation (SAPAPO)
2. Click on “New Entries”, Define BusSystGrp and description. Business System Group will appear in the
list.
2.2.5 To assign logical system in Business System Group
1. Access the transaction using the one of the following option
Transaction code /SAPAPO/C2
SAP SCM menu SAPSCM implementation Guide >>Integration with other mySAP
components >> Integration via core interface >> Basic settings for
creating the system landscape >> Assign logical system and Queue type
CIF Implementation (SAPAPO)
2. Click on “New Entries”. Assign Business System Group to Logical System also defines release of R/3
System and Entry will appear in the list as below.
2.2.6 Assign RFC Destinations to Various Application Cases
1. Access the transaction using the one of the following option
Transaction code SPRO
SAP SCM menu SAPSCM implementation Guide >>Integration with other mySAP
components >> Integration via core interface >> Basic settings for
CIF Implementation (SAPAPO)
creating the system landscape >> Assign RFC destination to various
application cases
2. Click on “New Entries”, Specify the logical system, CIF application and enter RFC destination . The
entry will appear in list as below.
2.3 ALE Setup for Object dependencies
CIF Implementation (SAPAPO)
In this you can do the ALE setup for Object dependencies. Pre-requisite for ALE setup is that Logical
Systems and RFC set up should be completed in Both ECC and APO system.
Steps for ALE setup:
1. Go to WE21 to create a port in ECC that enables IDOC communication with APO box
2. Go to WE21 to create a port in APO that enables IDOC communication with ECC box
CIF Implementation (SAPAPO)
Define the partner profiles for enabling transfer of all object dependencies related data
3. In ECC-Go to WE20 transaction and define below partner profile in Partner Type LS
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
4. Do same step for VTMMAS
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
5. Define the above step for KNOMAS
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
6. In APO: Go to WE20 to define inbound partner profiles
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
7. Double click on VTAMAS and maintain following details:
CIF Implementation (SAPAPO)
8. Go back to initial screen and maintain VTMMAS as inbound
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
9. Double click and maintain following details
CIF Implementation (SAPAPO)
10. Go back to previous screen and maintain for KNOMAS
CIF Implementation (SAPAPO)
11. Double click and maintain the following settings:
CIF Implementation (SAPAPO)
3. CIF Integration Model Setup:
3.1 Sequence to Transfer the master data:
1. Plant
2. Vendor and Customer
3. Characteristics and Classes
4. Material Master
5. Work Centre
6. BOM
7. Production Version
8. Purchase Info record
3.2 Creation of IM model
In this step you create CIF Integration Models (IM) in SAP ECC system to integrate master and
transaction data between SAP ECC and APO systems. APO relevant master data are transferred from
ECC to APO system except some master data which are maintained directly in APO. Transaction data
get transferred from either system to the other using core interface (CIF) in real time.
Steps for creation of IM model:
1. Access the transaction using the one of the following option
Transaction code CFM1
SAP SCM menu Logistics Central Functions Supply Chain Planning Interface
Core Interface Advanced Planner and Optimizer Integration Model
Create
2. On “create integration model” specify model name, Logical system and APO application, Select
the object type, and fill the object details and choose save
CIF Implementation (SAPAPO)
3. On the ‘Variant Attributes’ screen, enter ‘Variant Name’, ‘Description’ data.
4. Choose ‘Save’ and go back.
5. On the ‘Create Integration Model’ screen, choose ‘Execute’.
CIF Implementation (SAPAPO)
6. On the next screen, choose ‘Generate IM’.
3.3 Activation of Integration Model
In this you can activate an integration model. Activating an integration model results in transfer of
selected relevant master data from ECC to APO system and of selected transaction data from either ECC
or APO system to the other.
Steps for activation of IM model:
1. Access the activity using one of the following navigation options:
CIF Implementation (SAPAPO)
Transaction code CFM2
SAP SCM menu Logistics Central Functions Supply Chain Planning Interface
Core Interface Advanced Planner and Optimizer Integration Model
Activate
2. On the ‘Activate or Deactivate Integration Model’ screen, enter data in the fields ‘Model’, ‘Logical
System’, ‘APO Application’ and choose ‘Activate’.
3. On the next screen, double click on the integration model name; after which data in the right hand
side of screen appears. Click once on the ‘New Status’ field (which makes it turn into okay/green) and
then choose ‘Start’.
CIF Implementation (SAPAPO)
4. A message box appears with information ‘Activation or deactivation of the selected models is
complete’ and the previous and new status fields both turn green.
Using this process all APO relevant necessary integration models should be activated.
5. List of all CIF Integration Models currently in the system: (need attachment)
4. Background job setup (for master data and transaction data):
In this you can create the jobs to transfer the master data and transaction data to APO as per user
requirement (like daily, weekly etc.)
Steps for creation of job for “generation of IM models”
CIF Implementation (SAPAPO)
1. Access the activity using one of the following navigation options
Transaction code SM36
SAP SCM menu Logistics Plant Maintenances Order Inspection Processing
Enviroment Quality Management Key Figure Tools Planning
Standard SOP Envoroment Define External Planning Model
Auto-ID Backend Integration
2. Put Job name (For Generation of IM model)
3. Click on Step Button
CIF Implementation (SAPAPO)
4. Enter Program name RIMODGEN
Give Variant name (IM model variant name)
Click Check option and save it
Similarly add steps for all master data IM model.
CIF Implementation (SAPAPO)
5. Click on Start Condition and provide the job scheduling selection
Click on Immediate
Click on Period Values and select daily and save it.
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
6. Save Job
Steps for creation of job for “activation of IM models”
1. Access the activity using one of the following navigation options
Transaction code SM36
SAP SCM menu Logistics Plant Maintenances Order Inspection Processing
Enviroment Quality Management Key Figure Tools Planning
Standard SOP Envoroment Define External Planning Model
Auto-ID Backend Integration
CIF Implementation (SAPAPO)
2. Put Job name (For Activation of IM model)
3. Click on Step Button
CIF Implementation (SAPAPO)
4. Enter Program name RIMODACT
Give Variant name (IM model variant name)
Click Check option and save it
Similarly add steps for all master data IM model.
CIF Implementation (SAPAPO)
5. Click on Start Condition and provide the job scheduling selection
Click on Immediate
Click on Period Values and select daily and save it.
CIF Implementation (SAPAPO)
CIF Implementation (SAPAPO)
6. Save Job
APPENDIX
CIF T-codes
R/3:
Transaction code Description
CFM1 Create integration model
CFM2 Activate/deactivate integration models
CFG1 View CIF application log
CFC2 User parameters for CIF
CFC3 Block sizes for initial transfer
CFM5 Filter object search in integration models
CFC1 Define logical systems as APO systems
NDV2 Setting of release level of APO systems
SMQ1/SMQ2 qRFC monitor incl. functions start, stop, execute
CIF Implementation (SAPAPO)
SM59 Definition of RFC destinations
SALE Definition of logical systems
APO
Transaction code Description
/SAPAPO/C3 View CIF application log
/SAPAPO/C4 Setting of user parameters CIF
/SAPAPO/C5 Send planning results to R/3
/SAPAPO/C1 Create business system group
Assign logical systems to a business system
/SAPAPO/C2 group
/SAPAPO/CQ SCM Queue Manager
/SAPAPO/CCR Comparison/reconciliation tool
SMQ1/SMQ2 qRFC monitor incl. functions start, stop, execute
SM59 Definition of RFC destinations
SALE Definition of logical systems
/SAPAPO/CPP CIF Post processing