+ All Categories
Home > Documents > SCM210+ +Core+Interface+APO

SCM210+ +Core+Interface+APO

Date post: 21-Apr-2015
Category:
Upload: brent-gallmann
View: 1,741 times
Download: 17 times
Share this document with a friend
233
SCM210 Core Interface APO mySAP Supply Chain Management Date Training Center Instructors Education Website Participant Handbook Course Version: 2006 Q2 Course Duration: 2 Day(s) Material Number: 50078601 An SAP course - use it to learn, reference it for work
Transcript
Page 1: SCM210+ +Core+Interface+APO

SCM210Core Interface APOmySAP Supply Chain Management

Date

Training Center

Instructors

Education Website

Participant HandbookCourse Version: 2006 Q2Course Duration: 2 Day(s)Material Number: 50078601

An SAP course - use it to learn, reference it for work

Page 2: SCM210+ +Core+Interface+APO

Copyright

Copyright © 2006 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose withoutthe express permission of SAP AG. Additionally this publication and its contents are providedsolely for your use, this publication and its contents may not be rented, transferred or sold withoutthe express permission of SAP AG. The information contained herein may be changed withoutprior notice.

Some software products marketed by SAP AG and its distributors contain proprietary softwarecomponents of other software vendors.

Trademarks

� Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® areregistered trademarks of Microsoft Corporation.

� IBM®, DB2®, OS/2®, DB2/6000®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX®,S/390®, AS/400®, OS/390®, and OS/400® are registered trademarks of IBM Corporation.

� ORACLE® is a registered trademark of ORACLE Corporation.� INFORMIX®-OnLine for SAP and INFORMIX® Dynamic ServerTM are registered

trademarks of Informix Software Incorporated.� UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.� Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®,

VideoFrame®, MultiWin® and other Citrix product names referenced herein are trademarksof Citrix Systems, Inc.

� HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, WorldWide Web Consortium, Massachusetts Institute of Technology.

� JAVA® is a registered trademark of Sun Microsystems, Inc.� JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license for

technology invented and implemented by Netscape.� SAP, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP

EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.comare trademarks or registered trademarks of SAP AG in Germany and in several other countriesall over the world. All other products mentioned are trademarks or registered trademarks oftheir respective companies.

Disclaimer

THESE MATERIALS ARE PROVIDED BY SAP ON AN "AS IS" BASIS, AND SAP EXPRESSLYDISCLAIMS ANY AND ALL WARRANTIES, EXPRESS OR APPLIED, INCLUDINGWITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY AND FITNESS FOR APARTICULAR PURPOSE, WITH RESPECT TO THESE MATERIALS AND THE SERVICE,INFORMATION, TEXT, GRAPHICS, LINKS, OR ANY OTHER MATERIALS AND PRODUCTSCONTAINED HEREIN. IN NO EVENT SHALL SAP BE LIABLE FOR ANY DIRECT,INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES OF ANYKIND WHATSOEVER, INCLUDING WITHOUT LIMITATION LOST REVENUES OR LOSTPROFITS, WHICH MAY RESULT FROM THE USE OF THESE MATERIALS OR INCLUDEDSOFTWARE COMPONENTS.

Page 3: SCM210+ +Core+Interface+APO

About This HandbookThis handbook is intended to complement the instructor-led presentation of thiscourse, and serve as a source of reference. It is not suitable for self-study.

Typographic ConventionsAmerican English is the standard used in this handbook. The followingtypographic conventions are also used.

Type Style Description

Example text Words or characters that appear on the screen. Theseinclude field names, screen titles, pushbuttons as wellas menu names, paths, and options.

Also used for cross-references to other documentationboth internal (in this documentation) and external (inother locations, such as SAPNet).

Example text Emphasized words or phrases in body text, titles ofgraphics, and tables

EXAMPLE TEXT Names of elements in the system. These includereport names, program names, transaction codes, tablenames, and individual key words of a programminglanguage, when surrounded by body text, for exampleSELECT and INCLUDE.

Example text Screen output. This includes file and directory namesand their paths, messages, names of variables andparameters, and passages of the source text of aprogram.

Example text Exact user entry. These are words and characters thatyou enter in the system exactly as they appear in thedocumentation.

<Example text> Variable user entry. Pointed brackets indicate that youreplace these words and characters with appropriateentries.

2005/Q2 © 2006 SAP AG. All rights reserved. iii

Page 4: SCM210+ +Core+Interface+APO

About This Handbook SCM210

Icons in Body TextThe following icons are used in this handbook.

Icon Meaning

For more information, tips, or background

Note or further explanation of previous point

Exception or caution

Procedures

Indicates that the item is displayed in the instructor�spresentation.

iv © 2006 SAP AG. All rights reserved. 2005/Q2

Page 5: SCM210+ +Core+Interface+APO

ContentsCourse Overview ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

Course Goals .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .viiCourse Objectives ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vii

Unit 1: Course Overview ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Course Overview... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2

Unit 2: Architecture of Integration ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11RFC Connection ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Business System Group .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Unit 3: Transfer of Master Data ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Master Data Overview... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Integration Model Master Data ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Master Data for Transfer of Data Changes ... . . . . . . . . . . . . . . . . . . . . . 52

Unit 4: SAP APO Master Data ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Locations... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Product master .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79Resources .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Production Process Model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111Production Data Structure ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131Configuring Variants Using Production Data Structures .. . . . . . .140Mass Maintenance of APO Master Data... . . . . . . . . . . . . . . . . . . . . . . .144

Unit 5: Models and Planning Versions ..... . . . . . . . . . . . . . . . . . . . . . . . . 155Models and Planning Versions ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156

Unit 6: Transfer of Transaction Data ..... . . . . . . . . . . . . . . . . . . . . . . . . . . 163Transaction Data Overview.... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .164Integration Model Transaction Data .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167

Unit 7: Monitoring/Error Handling ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181Monitoring.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182CIF Cockpit, qRFC Alert and Comparisons .. . . . . . . . . . . . . . . . . . . . .198

Appendix 1: Business System Group ..... . . . . . . . . . . . . . . . . . . . . . . 219

Appendix 2: Master Recipe ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223

2005/Q2 © 2006 SAP AG. All rights reserved. v

Page 6: SCM210+ +Core+Interface+APO

Contents SCM210

vi © 2006 SAP AG. All rights reserved. 2005/Q2

Page 7: SCM210+ +Core+Interface+APO

Course OverviewThe course explains the integration of master data from an ERP system with anSCM system. The integration is demonstrated with an ECC System and theexamples for the data transfer come from the production planning and the detailedscheduling area.

� SAP ECC 6.0 (Enterprise Central Component)� SAP SCM 5.0 (Supply Chain Management)

Target AudienceThis course is intended for the following audiences:

� Project team member� Key User

Course PrerequisitesRequired Knowledge

� SCM200 � Overview of Extended Planning (SAP APO)

Recommended Knowledge

� SAPSCM � Overview of mySAP SCM� PLM100 � Life-Cycle Data Management

Course GoalsThis course will prepare you to:

� To gain basic understanding of the integration of the SCM and ECC systems� Transfer master data from the ECC System to the SCM System and to set up

your system to transfer transaction data between the systems.

Course ObjectivesAfter completing this course, you will be able to:

� Describe the architecture of integration of ERP systems with SAP SCM(APO).

� Select and transfer master and transaction data� Specify to which positions in the APO system it may be necessary to add to

master data transferred from ECC

2005/Q2 © 2006 SAP AG. All rights reserved. vii

Page 8: SCM210+ +Core+Interface+APO

Course Overview SCM210

� Describe monitoring and the compare/reconcile function to ensure dataconsistency.

SAP Software Component InformationThe information in this course pertains to the following SAP Software Componentsand releases:

� ECC 6.0

viii © 2006 SAP AG. All rights reserved. 2005/Q2

Page 9: SCM210+ +Core+Interface+APO

Unit 1Course Overview

Unit OverviewThe participants will learn a few basic facts on APO integration: It is possible tolink several R/3 Systems (from Release 3.1I onwards) with an SCM System, anR/3 Plug-in is necessary as the integration concerns master and transaction data.

Unit ObjectivesAfter completing this unit, you will be able to:

� Describe the connectivity of the CIF (Core Interface)

Unit ContentsLesson: Course Overview ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2

2005/Q2 © 2006 SAP AG. All rights reserved. 1

Page 10: SCM210+ +Core+Interface+APO

Unit 1: Course Overview SCM210

Lesson: Course Overview

Lesson OverviewThis lesson provides you with an overview of the main objective, contents andstructure of Course SCM210.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the connectivity of the CIF (Core Interface)

Business ExampleYour company is implementing various planning processes based on APO(Advanced Planning and Optimization). The SAP SCM (APO) system is usedin connection with the ECC system. You use the training course to familiarizeyourself with the prerequisites and processes of various functions of the dataexchange between the two systems.

Supply Chain Planning at a Glance

Figure 1: Supply Chain Planning at a Glance

2 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 11: SCM210+ +Core+Interface+APO

SCM210 Lesson: Course Overview

Generally speaking, supply chain planning is divided into many steps, some ofwhich can be executed by components in ECC and others which can be executed inSAP APO. It is possible and advisable to integrate these two systems and use bothtogether when planning. The Core Interface (CIF) is used to integrate the systems.

Demand planning, where past sales figures are used to derive a future programof production, can be executed both within flexible planning in ECC (usingstandard Sales & Operations Planning [SOP]), or within Demand Planning (DP)in SAP APO.

Demand Management in its true sense takes place in ECC. It is also possible,however, to derive planned independent requirements from SAP APO DP.

In principle, sales orders are created in the ECC System. The ATP check of asales order can take place globally in SAP APO (integration with APO PP/DSis also possible).

Cross-plant planning is possible using Supply Network Planning in SAP APO.

Material Requirements Planning can be executed in either ECC or APO. While,in ECC, capacity requirements planning is executed separately in a second step,in SAP APO PP/DS (Production Planning/Detailed Scheduling), quantities andcapacities can be planned simultaneously.

Execution of production, in other words, the processing of manufacturing orders(production or process orders), takes place in the area of Manufacturing.

SAP Components of SC Planning and SAP ECCPlug-In Technology

Figure 2: SAP Components of SC Planning

2005/Q2 © 2006 SAP AG. All rights reserved. 3

Page 12: SCM210+ +Core+Interface+APO

Unit 1: Course Overview SCM210

The SC planning primarily uses the following SAP components: SAP ECC, SAPSCM (including APO, Advanced Planner and Optimizer), and SAP BW (BusinessInformation Warehouse). The SAP SCM system contains the Advanced Planningand Optimization (APO), Supply Chain Event Management (EM) and InventoryCollaboration Hub (ICH) components, among others.

The interfaces responsible for the integration of ECC with SAP BW or SAP APOare made available using a corresponding Plug-In. The interface between ECCand APO is called the Core Interface (CIF).

Figure 3: SAP ECC Plug-In Technology

An ECC interface is marked with an ECC plug-in to enable the system to integratea mySAP component (for example, SCM or BW) with one or more ECC systems.With SAP ECC plug-ins, several mySAP components can be inserted at the sametime. Most Plug-ins concern add-ons (ECC standard software enhancements withadditional functions).

Different mySAP components can be supplied with transaction and master datafrom the SAP ECC Plug-in. In this way, the CIF interface does not only provideAPO with initial data records (initial supply), it also guarantees a step-by-stepsupply with all the relevant data changes. The integration between ECC and APOhas been available starting with ECC release 3.1I.

For easy integration from ECC and APO, it is necessary to install a plug-inrelevant to the ECC release. Also note that support packages are also deliveredfor the Plug ins. You can find further information on SAP ECC plug-ins in theSAPNet/R3-Plug-In.

4 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 13: SCM210+ +Core+Interface+APO

SCM210 Lesson: Course Overview

APO Integration

Figure 4: APO Integration (1)

As a rule, SAP SCM (APO) is used in connection with other SAP systemcomponents or with non-SAP components. There are two different integrationconcepts:

� Linkage with non-ECC systems: The required interfaces are implemented asBAPIs (Business Application Programming Interfaces).

� Linkage with ECC systems (one or more): The required interface is indicatedas the APO Core Interface (CIF). A mutual system connection has been setup in Customizing to enable the system to transfer data relevant for theplanning processes, from the execution ECC System into APO, and also toreturn the planning results from APO back into ECC.

The main tasks of the APO Core Interface include:

� Determining the source and target systems in complex system environments� Providing the APO system with the relevant master and transaction data� Transferring data changes (transaction data)� Returning planning results to the execution ERP System.

2005/Q2 © 2006 SAP AG. All rights reserved. 5

Page 14: SCM210+ +Core+Interface+APO

Unit 1: Course Overview SCM210

Figure 5: APO Integration (2)

The APO Core Interface (CIF) is responsible for the data exchange between APOand ECC Systems. The APO CIF is a real-time interface that connects APO withone or more ECC systems.

Only the data objects needed in the data structures in APO for the differentplanning and optimization processes are transferred from the complex datasetof the ECC System into APO.

The APO Core Interface guarantees both the initial data transfer (initial transfer)and also the transfer of data changes within APO.

The outbound delivery from APO CIF takes place as an ECC plug-in.

The integration of ECC with the CIF interface is possible as of release 3.1I. Earlierreleases or an R/2 System can be connected with BAPIs as �Non-ECC Systems�(BAPI = Business Application Programming Interface).

6 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 15: SCM210+ +Core+Interface+APO

SCM210 Lesson: Course Overview

Figure 6: APO Integration (3)

Planning in SAP APO uses its own master data that is usually transferredautomatically from an ECC system, but which can also be created manually inSAP APO.

When master data is transferred from ECC, it is mapped onto correspondingmaster data in APO. Rather than transferring all the data from R/3, only masterdata relevant for planning in APO is transferred (firstly in the form of an initialtransfer, then later as change transfers).

SAP ECC is always the dominant system for master data. Only the settings thatcannot be transferred from the ECC System are maintained directly in APO.

The transaction data relevant for planning, such as warehouse stock and salesor production orders is also transferred from the ECC System into APO via theCIF interface. And vice versa, the results of the planning in APO are returned toECC via CIF and executed there. This integration of transaction data takes placein real time.

2005/Q2 © 2006 SAP AG. All rights reserved. 7

Page 16: SCM210+ +Core+Interface+APO

Unit 1: Course Overview SCM210

Lesson Summary

You should now be able to:� Describe the connectivity of the CIF (Core Interface)

8 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 17: SCM210+ +Core+Interface+APO

SCM210 Unit Summary

Unit SummaryYou should now be able to:� Describe the connectivity of the CIF (Core Interface)

2005/Q2 © 2006 SAP AG. All rights reserved. 9

Page 18: SCM210+ +Core+Interface+APO

Unit Summary SCM210

10 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 19: SCM210+ +Core+Interface+APO

Unit 2Architecture of Integration

Unit OverviewThis unit covers

� The basic settings of the RFC connection between the ECC and SCM systems� The business system group

Unit ObjectivesAfter completing this unit, you will be able to:

� Set up an RFC connection between SAP ECC and the SAP SCM system.� Explain the concept of the business system group.

Unit ContentsLesson: RFC Connection .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Exercise 1: Review of Settings .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Lesson: Business System Group ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

2005/Q2 © 2006 SAP AG. All rights reserved. 11

Page 20: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

Lesson: RFC Connection

Lesson OverviewThe basis for the integration of APO and ECC is the installation of a correspondingECC plug-in, with which the CIF interface has already been set. The CIF interfaceprocesses the data planned for transfer, then the exchange of data eventually takesplace via RFC connections.

The RFC connections must be set up before data can be exchanged using CIF.There are several steps required to do this: First define the corresponding logicalsystems and assign them to the systems, so that the source and destination ofthe data can be named. The RFC destinations are subsequently defined for bothsystems. Next, you define APO target systems in ECC, so that it is clear whichSCM system(s) the ECC data can flow into. For retransferring planning resultsfrom APO to ECC, the logical (ECC) system to which the data is to be transferredis determined in APO Customizing (�Publication�).

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Set up an RFC connection between SAP ECC and the SAP SCM system.

Business Example

12 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 21: SCM210+ +Core+Interface+APO

SCM210 Lesson: RFC Connection

Figure 7: RFC Connection Between SAP ECC and SAP SCM

An RFC (Remote Function Call) connection connects an ECC System and anSCM System. The system transfers the data that is selected with the Core Interface(CIF) via this connection. (To avoid confusion, an example of a data transferfrom ECC to APO is shown on the slide. RFC technology is also used to transfertransaction data from APO to ECC.)

The ECC System is a database-orientated system so stores the data in the database.SAP SCM (APO), has a �liveCache� (main memory) in addition to a traditionaldatabase.

2005/Q2 © 2006 SAP AG. All rights reserved. 13

Page 22: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

Figure 8: Structure of an RFC Link: Overview

An RFC connection (remote function call) sets up communication between ECCand APO.

The core interface (transaction code PIMG) has a special Implementation Guide,with which all relevant Customizing steps can be accessed easily.

You can �assign different application cases to RFC destinations� using IMGactivities. You can contact an APO target system with various RFC destinationsincluding various users and authorizations. For example, an ATP request cantake place with a different user than the one used to transfer master data. Thisfeature allows you to specify authorizations for different cases more exactly. Ifno application-specific RFC destinations have been assigned, then the standardconnection is selected (the RFC destination with the same name as the logicalSCM system).

14 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 23: SCM210+ +Core+Interface+APO

SCM210 Lesson: RFC Connection

Figure 9: Defining Logical Systems

You define logical systems in Customizing in �Define Logical System�, which islocated in Customizing in Application Link Enabling (transaction SALE). In bothECC and SCM, you assign a logical system name and a description for the ECCand SCM systems so that the systems can be uniquely addressed in a complexsystem landscape.

In the �Assign Logical System to Client� Customizing step (also in Customizingin Application Link Enabling (transaction SALE)) you assign the logical ECCsystem to the client you want to connect to the SCM system.

Do the same in SCM. Assign the logical SCM system to the client you want toconnect to the ECC system. This SCM client is then reachable via his logical name.

We recommend that you name the logical system as follows:

[System Name]CLNT[Client], for example, OMOCLNT800 for client 800 in theOMO system.

2005/Q2 © 2006 SAP AG. All rights reserved. 15

Page 24: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

Figure 10: Defining RFC Destinations

RFC connections are used to create the link from the ECC system to the SCMsystem and vice versa. You define RFC connections of type �R/3 connections� (forboth ECC and SCM) in the administration of each system in �RFC Destinations�transaction (transaction code SM59).

In ECC, create an RFC destination under the logical APO system name youdefined and assigned to an SCM client (in our example APOCLNT800). Enterthe server address of the SCM server as the target host and the system numberso the SCM system can be addressed in the network. Finally, you enter a userthat will create the link to the SCM System. This user must exist in the SCMSystem and have full authorization. This is necessary for the transfer of masterand transaction data into APO.

Do the same in SCM: Create an RFC destination under the logical ECC systemname you defined and assigned to an ECC client (in our example, ECCCLNT800).Specify the target host and system number of the ECC system. Finally, you enter auser that exists in the ECC System and has the necessary authorization.

You can set the RFC connections between the ECC and SCM System, so that if anerror in the transfer occurs, a new attempt at transferring automatically starts.

16 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 25: SCM210+ +Core+Interface+APO

SCM210 Lesson: RFC Connection

Figure 11: Specifying the Target System and Updating the APO Release

Finally, you determine which of the RFC destinations are APO target systems. Todefine the APO target systems in ECC, you use the �Target Systems� transactionin the CIF settings and the logical system name (and the corresponding RFCconnection).

The operation mode in the background is assigned by the system, not updatedmanually.

As the system performs the integration in various ways for different APO releases,you must also enter the release of the APO target system. (Transaction �APOReleases� in the CIF settings).

2005/Q2 © 2006 SAP AG. All rights reserved. 17

Page 26: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

18 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 27: SCM210+ +Core+Interface+APO

SCM210 Lesson: RFC Connection

Exercise 1: Review of Settings

Exercise ObjectivesAfter completing this exercise, you will be able to:� Review the settings of the RFC connection between an ECC and an SCM

System.

Business ExampleBefore you familiarize yourself with the functions of the CIF interface as amember of the project team, review the RFC connection that connects the ECCSystem with the SCM System.

Task 1:The link between ECC and SCM (APO) is based on a RFC connection thatconnects two logical systems.

Check the system's existing settings:

1. Which ECC client are you working with?

______________________________________

2. In Customizing for the ECC system, check which logical system name isassigned to your client. Note the logical name of the ECC system:

______________________________________

3. Which SCM client are you working with?

______________________________________

4. In Customizing for the SCM system, check which logical system name isassigned to your client. Note the logical name of the SCM System:

______________________________________

Task 2:In the next step, view the RFC connection between the two systems.

1. In the ECC system, display the RFC connection to the SCM system. Thisconnection contains the name of the logical SCM System that you notedabove. Which user name is used to log on to the SCM system?

______________________________________

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 19

Page 28: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

2. In the SCM system, display the RFC connection to the ECC system. Thisconnection contains the name of the logical ECC System that you notedabove. Which user name is used to log on to the ECC system?

______________________________________

20 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 29: SCM210+ +Core+Interface+APO

SCM210 Lesson: RFC Connection

Solution 1: Review of SettingsTask 1:The link between ECC and SCM (APO) is based on a RFC connection thatconnects two logical systems.

Check the system's existing settings:

1. Which ECC client are you working with?

______________________________________

a) ECC client: Varies, for example, client 800.

2. In Customizing for the ECC system, check which logical system name isassigned to your client. Note the logical name of the ECC system:

______________________________________

a) Menu path: ECC Customizing-Integration with other SAPComponents→ Advanced Planning and Optimization→ BasicSettings for Creating the System Landscape→ Assign Client toLogical System

Assigned logical name of the ECC system: Varies, for example,T90CLNT800.

3. Which SCM client are you working with?

______________________________________

a) SCM client: Varies, for example, client 800.

4. In Customizing for the SCM system, check which logical system name isassigned to your client. Note the logical name of the SCM System:

______________________________________

a) Menu path: SCM CustomizingIntegration with other SAPComponents→ Integration via APO Core Interface (CIF)→ BasicSettings for Creating the System Landscape→ Assign Client toLogical Systems

Assigned logical name of the SCM system: Varies, for example,APOCLNT800.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 21

Page 30: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

Task 2:In the next step, view the RFC connection between the two systems.

1. In the ECC system, display the RFC connection to the SCM system. Thisconnection contains the name of the logical SCM System that you notedabove. Which user name is used to log on to the SCM system?

______________________________________

a) RFC connection to the SCM System: menu path ECC-Integrationwith other SAP Components→ Advanced Planning and Optimization→ Basic Settings for Creating the System Landscape→ Set UpRFC Destination

User name: varies, for example, USERADMIN.

2. In the SCM system, display the RFC connection to the ECC system. Thisconnection contains the name of the logical ECC System that you notedabove. Which user name is used to log on to the ECC system?

______________________________________

a) RFC connection to the ECC System: menu path SCM-Integrationwith other SAP Components→ Integration via APO Core Interface(CIF)→ Basic Settings for Creating the System Landscape→ Set UpRFC Destination

User name: varies, for example, USERADMIN.

22 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 31: SCM210+ +Core+Interface+APO

SCM210 Lesson: RFC Connection

Lesson Summary

You should now be able to:� Set up an RFC connection between SAP ECC and the SAP SCM system.

2005/Q2 © 2006 SAP AG. All rights reserved. 23

Page 32: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

Lesson: Business System Group

Lesson OverviewIf an SCM System is linked with multiple ECC Systems, this can lead to ambiguitywhen describing master or transaction data (for example, if the number rangeoverlaps or if the same material number is used in two systems for differentmaterials). To abolish such ambiguities, Business System Groups (BSGs) aredefined as areas of the same naming convention � within a BSG the names mustbe unique. If necessary, the data that is transferred from different BSGs to theSCM System is then provided with a unique name in APO, using a customer exit.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Explain the concept of the business system group.

Business Example

Business System Group

Figure 12: Business System Group (1)

24 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 33: SCM210+ +Core+Interface+APO

SCM210 Lesson: Business System Group

An SCM system (APO) can be integrated with multiple ECC systems (logicalsystems). It may therefore be the case that the number assignment for certainmaster data objects, for example, material masters, is not the same in all theselogical systems. In the example above, material number A in logical systems 1and 2 signifies the same cube, whereas the same material number in logical system3 (perhaps a subsequently purchased plant) is a cylinder.

If logical systems 1, 2 and 3 are planned with the same SCM System, the problemarises that the system cannot simply transfer the ECC material numbers into APO,as they may be ambiguous.

The case where the same material may have different material numbers indifferent logical systems is not discussed on this or the following pages. If thisdoes occur, you can use a customer exit in APO inbound processing where youmap the relevant material numbers from the different logical systems onto theunique material number in APO.

Figure 13: Business System Group (2)

To guarantee that the naming of master data in distributed system landscapes isunique, business system groups are defined in APO as areas of the same namingconvention. A Business System Group (BSG) groups different physical systems toform a higher-level logical unit.

If, for example, two logical systems (LS1 and LS3) exist in a system landscape inwhich you want to integrate APO and contain different materials with the samename (Material A is a cube in LS1, but a cylinder in LS2), this conflict mustbe resolved for integration in APO. First of all, both logical systems are to beassigned to different business system groups (BSG1 and BSG2).

2005/Q2 © 2006 SAP AG. All rights reserved. 25

Page 34: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

The logical systems are each assigned to one business system group. Each sourcesystem (ECC) is assigned to a BSV, which can consist of one or more sourcesystems. One BSV must contain at least one ECC source system.

Figure 14: Business System Group (3)

If the situation arises that two different logical systems with identical numberranges are operating when a distributed system landscape is constructed withAPO, the identical names must be changed with a customer exit. The followingenhancements are available as customer exits (transactions SMOD and CMOD)for the inbound processing in the SCM System (the list is not complete):

� APOCF001 EXIT_/SAPAPO/SAPLCIF_LOC_001: Location� APOCF002 EXIT_/SAPAPO/SAPLCIF_ATP_001: Maintain ATP check

control� APOCF003 EXIT_/SAPAPO/SAPLCIF_IRQ_001: Reduction of planned

indep. req.� APOCF004 EXIT_/SAPAPO/SAPLCIF_ORD_001: Production and

planned orders� APOCF005 EXIT_/SAPAPO/SAPLCIF_PROD_001: Products� APOCF006 EXIT_/SAPAPO/SAPLCIF_PU_001: Purchase order

documents� EXIT_SAPL_1004_001: Resource� APOCF010 EXIT_/SAPAPO/SAPLCIF_SLS_001: Sales order� APOCF011 EXIT_/SAPAPO/SAPLCIF_STOCK_001: Stock

For more customer exits, see the online help.

26 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 35: SCM210+ +Core+Interface+APO

SCM210 Lesson: Business System Group

Figure 15: Business System Group (4)

If two different logical systems with identical number ranges are operating whena distributed system landscape is being constructed, a unique mapping structuremust be constructed.

Firstly, you must define the business system groups in APO Customizing step�Maintain Business System Group� (under Basis Settings in APO).

In the next step (Customizing step �Assign Logical System and Queue Type�) youassign the diverse logical systems of your system landscape to a BSG. You shouldbe aware that within a system group, the same naming convention must apply, i.e.the different master data objects must have unique names within the group.

The last step mainly consists of the master data objects from the different BSGsbeing copied with unique names into APO using a customer exit. These customerexits exist for all master data.

You must maintain a BSV, even if only one ECC is linked with one SCM system,or if several ECC systems are connected without the risk of ambiguities. You willonly need more than one BSG when there is no unique naming convention.

2005/Q2 © 2006 SAP AG. All rights reserved. 27

Page 36: SCM210+ +Core+Interface+APO

Unit 2: Architecture of Integration SCM210

Outbound and Inbound Queues

Figure 16: Outbound and Inbound Queues

During integration of APO and ECC, mass transactions such as planning in APO,where a large amount of data to be transferred is created, can cause considerablesystem loads in the receiving system. This is caused by the missing workloaddistribution of the qRFC processing in the target system.

If inbound queues are used, the system load on the target system is taken intoaccount. If you are expecting high amounts of integration data and insufficientwork process resources in the target system, it may be useful to switch to inboundqueues. You convert from outbound (standard) to inbound queues in ECC whenspecifying the APO target systems (transaction code CFC1) and in APO whenassigning the logical systems to a business system group (APO Customizing).

28 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 37: SCM210+ +Core+Interface+APO

SCM210 Lesson: Business System Group

Lesson Summary

You should now be able to:� Explain the concept of the business system group.

2005/Q2 © 2006 SAP AG. All rights reserved. 29

Page 38: SCM210+ +Core+Interface+APO

Unit Summary SCM210

Unit SummaryYou should now be able to:� Set up an RFC connection between SAP ECC and the SAP SCM system.� Explain the concept of the business system group.

30 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 39: SCM210+ +Core+Interface+APO

SCM210 Test Your Knowledge

Test Your Knowledge

1. Why does the release of the target system have to be entered for data transfer?

2005/Q2 © 2006 SAP AG. All rights reserved. 31

Page 40: SCM210+ +Core+Interface+APO

Test Your Knowledge SCM210

Answers

1. Why does the release of the target system have to be entered for data transfer?

Answer: Since the system performs the integration in different ways fordifferent APO releases, you must also enter the APO target system release.

32 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 41: SCM210+ +Core+Interface+APO

Unit 3Transfer of Master Data

Unit OverviewIn this unit, the first task is to explain the principal functionalities of the masterdata transfer. The exact display of the individual master data documents willbe discussed in the next unit. The central term in this context is the integrationmodel. The master data to be transferred to the SCM system is selected in anintegration model. The actual selection of data takes place by generating suchan integration model, and the transfer then takes place by activating the model(initial transfer). For master data that is selected in an active integration model, antransfer of data changes can finally be dealt with in form of a real-time transferor a periodic transfer.

Unit ObjectivesAfter completing this unit, you will be able to:

� Describe master data.� Describe the concept of initial and change data transfer of master data from

an ECC system to an APO System� Create an integration model for the transfer of master data and transfer the

master data.� Transfer data changes.

Unit ContentsLesson: Master Data Overview ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Lesson: Integration Model Master Data.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Exercise 2: Initial Transfer of Material Masters.. . . . . . . . . . . . . . . . . . . . . . . . . 45Lesson: Master Data for Transfer of Data Changes ... . . . . . . . . . . . . . . . . . . . . . 52

Exercise 3: Transfer of Master Data Changes... . . . . . . . . . . . . . . . . . . . . . . . . 57

2005/Q2 © 2006 SAP AG. All rights reserved. 33

Page 42: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Lesson: Master Data Overview

Lesson OverviewThe ECC system is the dominant master data system. The transfer of master datausually only takes place from ECC to the SCM System (as opposed to transactiondata, which can be transferred in either direction). Ideally, the master data forplanning in APO should be completely maintained in ECC and transferred fromthere to the SCM System � if any changes or enhancements to the master dataoccur, then the update of the APO master data takes place with a new transferfrom ECC.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe master data.

Business Example

Figure 17: Master Data Objects in the Supply Chain

The supply chain is initially defined by locations: plants, distribution centers(DCs), vendors, customers. Supply chain planning concerns products that aredefined in APO as product masters. For plants that produce as well as plan, youalso have to create resources and production process models (PPMs) or runtimeobjects for mapping bills of material (BOMs), in addition to the products for

34 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 43: SCM210+ +Core+Interface+APO

SCM210 Lesson: Master Data Overview

planning. You then define transportation lanes, which define material flow throughthe supply chain, between the individual locations of the supply chain (that isplants, vendors and so on).

Even when using an SCM system for supply chain planning, master data isgenerally created in a connected ECC system and transferred to APO from there.You should only create master data that exists only in APO and has no counterpartin ECC in the SCM system.

Transportation lanes are used to connect together a network of plants and DCs sothat stock transfers can be planned between these locations.

The supply relationship between a vendor and a plant is created in ECC in theform of a purchasing info record or outline agreement. When you transfer theseexternal procurement relationships to SAP APO, they are also displayed there asexternal procurement relationships. A corresponding transportation lane is createdat the same time.

Figure 18: Supply Chain Master Data in ECC and APO

The APO Core Interface is a realtime interface. Only the data objects neededin the data structures reconciled in Supply Chain Planning in SAP APO for theparticular planning and optimization processes are transferred from the complexdataset in ECC to SAP APO.

Both the initial data transfer (initial transfer) and the transfer of data changeswithin SAP APO take place via the SAP APO Core Interface.

APO master data objects are therefore not identical to ECC master data objects.During master data transfer, the relevant ECC master data is usually mapped tocorresponding APO planning master data.

2005/Q2 © 2006 SAP AG. All rights reserved. 35

Page 44: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

The ECC system is always the dominant system for master data. Only specificAPO master data that does not exist in ECC is created directly in SAP APO.

Figure 19: Master Data Changes

The ECC system is the dominant system for master data. Maintenance of masterdata, that is, the creation of new data or changes to existing data takes place inECC. New data as well as data changes are then transferred from ECC to APOvia the Core Interface

Within the framework of a data transfer from ECC to APO, the changed datarecords (a material master, for example) are, in principle, completely retransferred.For this reason, it does not make sense to maintain the settings in APO, that can betransferred from ECC.

Ideally, maintenance of master data takes place exclusively in ECC. However,APO master data settings, that is, settings that have no counterpart in ECC, needto have their data maintained directly in APO.

36 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 45: SCM210+ +Core+Interface+APO

SCM210 Lesson: Master Data Overview

Lesson Summary

You should now be able to:� Describe master data.

2005/Q2 © 2006 SAP AG. All rights reserved. 37

Page 46: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Lesson: Integration Model Master Data

Lesson OverviewIn this lesson you will generate and activate an integration model for a materialmaster.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the concept of initial and change data transfer of master data froman ECC system to an APO System

� Create an integration model for the transfer of master data and transfer themaster data.

Business Example

Figure 20: Initial Data Transfer of Master Data: Overview

You define in the ECC System the integration model that controls the transferof master and transaction data. You can find the menu option �Core InterfaceAdvanced Planner and Optimizer� (the �CIF menu�) under Logistics→ CentralFunctions→ Supply Chain Planning Interface.

38 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 47: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Master Data

The integration model distinguishes between master data and transaction data. Werecommend that you select the two types of data in separate integration modelsand then transfer them separately. In the integration model, you select the dataset(master or transaction data) that you want to transfer. You specify the following inthe integration model

� The APO target system for the data transfer� The data objects you want to transfer

You can delete integration models that you no longer need. Note that you mustfirst deactivate these integration models.

Figure 21: Generate Integration Model for Initial Data Transfer

The master data that the system will transfer for the first time (initial transfer) fromthe ECC system into the APO system is defined in an integration model. The ECCsystem generates this integration model (transaction CFM1).

An integration model is uniquely defined by its name and application. It isuseful to create several integration models with the same name but as differentapplications. Ensure that the data pools of your integration models are generallynot too big. This enables you to handle errors more easily.

The target system that you specify in the integration model determines the SCMSystem that the master data is transferred into. The target system is a logical(APO) system that must have a RFC connection.

2005/Q2 © 2006 SAP AG. All rights reserved. 39

Page 48: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Finally, you use a particular integration model to specify which master data youwant the system to transfer. To do so, you first specify the master data types thatflow into the integration model. In the second step, you specify the selectioncriteria to be used for the selection of the individual master data documents inthe ECC System.

You complete the generation of the integration model by �executing� the model(this means that the data objects of the model are compiled) and then you save it.

Figure 22: Activate Integration Model for Initial Data Transfer

To transfer data into APO, you must activate an integration model that haspreviously been generated. Activate an integration model with the �ActivateIntegration Model� transaction (transaction code CFM2) in the CIF.

It is useful to have several integration models active at a time.

Choose the Start function to trigger the data transfer into APO: The masterdata, or the equivalent of the ECC master data in APO, exists in the APOSystem. Basically, only the master data that was not available in any other activeintegration model is transferred again (delta comparison).

To be able to carry out the delta matching that was executed during activationof an integration model quickly, the system refers to the runtime version of theintegration models. The runtime version is formed in the background from allactive integration models, each with one object type and target system, formattedoptimally, and saved to the database. It is automatically updated during theactivation of new models. You can access the runtime version manually fromreport RCIFIMAX.

40 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 49: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Master Data

The initial data transfer usually runs in a particular order: the objects are selectedsuccessively, transferred to APO and processed there in this sequence. Forimproved system performance, it is also possible to execute a parallel initial datatransfer: several integration models can be activated at the same time. Duringparallel processing, you can set whether to run the selection in ECC, the processingin APO, or both at the same time. Parallel processing takes place within an objecttype, whereas the different object types are still transferred in sequence.

Figure 23: Selection Criterion MRP Type �X0�

Planning is not necessarily executed for all materials in SAP APO. Planning forcritical materials can take place in SAP APO, while less critical materials (such asconsumption-controlled purchasing materials) are planned exclusively in ECC.

Materials planned in SAP APO may not be planned again in ECC - the planningresult from SAP APO is transferred directly in the form of planned or productionorders to ECC. However, for materials with a BOM, dependent requirements canbe created in ECC for non-APO-relevant components. You therefore assign thesematerials a special MRP type with the MRP procedure �X� (�without MRP, withBOM explosion�). (This MRP procedure is available as of 4.0; if you work withearlier releases, use MRP type �P4� with a planning time fence of 999 days).

It is also possible to use the MRP type XO to select materials relevant for SAPAPO in the integration model. If you give materials that are to be planned in APOa special plant-specific material status, you can use the material status to limit theselection further.

2005/Q2 © 2006 SAP AG. All rights reserved. 41

Page 50: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

In general, you should be careful about separating SAP APO-relevant materialsfrom those that are not SAP APO-relevant: For effective planning in SAP APO,you must be sure that all materials important for the planning process are actuallyplanned in SAP APO. (Take capacity planning as an example: If the capacitiesare to be planned for the different resources in SAP APO, all materials that areproduced on these resources must be planned in SAP APO.)

Figure 24: Transfer New APO-Relevant Master Data (1)

New APO-relevant master data (in the example on the slide above, a new materialwith MRP type X0), that corresponds with the selection criteria of an existingintegration model (in the example, materials with the MRP type �X0� are selectedin the integration model), can be transferred into APO in the following way: Thesystem re-generates the existing model (the new master data is also selected here).There are then two models with the same name, the only differences being thedates and times. If the activation is performed in this situation, the difference isthen transferred (including any existing change pointers). The system comparesthe existing, active integration models with the new model. After the data transfer,the system deactivates the �old� integration model, leaving the �new� integrationmodel as the active model.

If you have activated model 1 with the material masters A and B, and activate amodel 2 in the second step with material masters B and C, then when you activatemodel 2, only material C will be transferred. Then when you deactivate model 1,the integration for materials B and C remain.

42 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 51: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Master Data

To ensure that the system has transferred all the APO-relevant master data, it ispossible to periodically regenerate and activate the existing integration models.As any existing change pointers are also processed in this procedure, a separatetransfer of data changes is no longer necessary.

Figure 25: Transfer New APO-Relevant Master Data (2)

Defining jobs enables the system to regenerate and then activate the integrationmodels in regular intervals, as the ECC System is constantly creating newAPO-relevant master data.

The system generates an integration model with the RIMODGEN report. Youschedule this report by entering a variant (that you must have defined previously)as a job.

The system activates an integration model via the RIMODAC2 report. You need avariant for this report too, in order to schedule it in a job.

�Executing� an integration model consists of two steps: The generation andactivation of an integration model. You can schedule these two steps with a job,where you define the two activities as two consecutive steps.

To avoid creating many old models that are no longer needed during the regulargeneration and activation of the integration models, you should regularly delete theold models. You can also schedule deletions periodically with the RIMODDELreport.

If you set the �Log deactivated material masters� switch during activation of anintegration model, material masters that are no longer active after the activation ofthe new model are logged (the new model may replace an old model with the same

2005/Q2 © 2006 SAP AG. All rights reserved. 43

Page 52: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

name). Report RCIFMTDE then allows you to display the corresponding list orset the corresponding product masters in APO to external planning, so that theyare not included in an APO planning run.

44 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 53: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Master Data

Exercise 2: Initial Transfer of MaterialMasters

Exercise ObjectivesAfter completing this exercise, you will be able to:� Prepare ECC material masters for planning in APO� Create an integration model for the initial data transfer and execute the

transfer.

Business ExampleYou want to plan pump T-F1## in plant 1000 in APO. Therefore, you first preparethe material master in ECC for planning in APO, and then create an integrationmodel to transfer into APO.

Task 1:You want to plan material T-F1## in APO. Materials planning in ECC is controlledby the MRP type that you enter in the material master. If you do not want to plan amaterial in ECC, it must have the correct MRP type.

1. In Customizing for the ECC system, displayMRP type �X0�. Which MRPprocedure is entered in this MRP type?

_________________________________________

2. What effect does this MRP procedure have?

_________________________________________

3. Which planning method is entered in this MRP type (under �Additionalselection parameters�)?

_________________________________________

Task 2:Change the material master T-F1## in plant 1000 as follows:

1. In MRP1 view, enterMRP type X0.

Task 3:You create an integration model to transfer the material master to APO:

1. Generate an integration model with the following settings:

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 45

Page 54: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Model name: PUMP##Target system: Logical SCM system name that you noted

previouslyApplication: MAT T-F1##

Select the material masters to be included in the integration model. In thegeneral selection options for materials, enter material T-F1## in plant 1000.

Hint: Do not execute the integration model yet!

2. Save your settings as variantMat. T-F1##.

3. Execute the integration model by choosing the corresponding icon. Onthe following results screen, make sure that the integration model selectedyour material T-F1##.

Hint: Make sure that only one material has been selected.

If you have forgotten to specify your material in the general selectionoptions, all materials (several thousand) are selected. In this case,return to where the integration model is created and specify theselection.

4. To complete this process, "generate" your integration model using the saveicon.

Task 4:Activate the integration model as follows:

1. On the initial screen of the Activate integration model transaction, enter themodel name and the application. In addition, choose the option to processthe selection in the ERP System in parallel and enter 20 as the absolutemaximum number of processes. Now execute the function by going to thenext screen (Execute) Select your integration model in the explorer andset a green checkmark in the Status new field by double-clicking. ChooseStart to execute the activation. Acknowledge any messages and make surethat the transaction was successful.

Task 5:Check the result of the material master transfers in APO.

1. In the SCM system, display product T-F1## in location 1000.

Continued on next page

46 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 55: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Master Data

2. What is the name of product T-F1##?

______________________________________________

3. Click the �Administr.� tab page: Which �user�created the product master?

Where does this user come from?

______________________________________________

______________________________________________

4. Go to the �Lot Size� tab page. Which lot-sizing procedure is set here?

______________________________________________

5. Go to the �Procurement� tab page. Which procurement type is set?

______________________________________________

2005/Q2 © 2006 SAP AG. All rights reserved. 47

Page 56: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Solution 2: Initial Transfer of MaterialMastersTask 1:You want to plan material T-F1## in APO. Materials planning in ECC is controlledby the MRP type that you enter in the material master. If you do not want to plan amaterial in ECC, it must have the correct MRP type.

1. In Customizing for the ECC system, displayMRP type �X0�. Which MRPprocedure is entered in this MRP type?

_________________________________________

a) Menu path: ECC Customizing-Production→Material RequirementsPlanning→ Master Data→ Check MRP Types

MRP procedure in MRP type X0: X, �without MRP, with BOMexplosion�.

2. What effect does this MRP procedure have?

_________________________________________

a) Effect: This MRP type means that the corresponding materialswill not be planned in ECC. For planned orders that are createdmanually or transferred from a non-SAP system (APO), a BOMexplosion is still performed so that dependent requirements canbe created.

3. Which planning method is entered in this MRP type (under �Additionalselection parameters�)?

_________________________________________

a) Planning method: 1, �Planned with a non-SAP system�

Task 2:Change the material master T-F1## in plant 1000 as follows:

1. In MRP1 view, enterMRP type X0.

a) Menu path: ECC-Logistics→ Production→Master Data→MaterialMaster→ Material→ Change→ Immediately

Task 3:You create an integration model to transfer the material master to APO:

1. Generate an integration model with the following settings:

Continued on next page

48 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 57: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Master Data

Model name: PUMP##Target system: Logical SCM system name that you noted

previouslyApplication: MAT T-F1##

Select the material masters to be included in the integration model. In thegeneral selection options for materials, enter material T-F1## in plant 1000.

Hint: Do not execute the integration model yet!

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Create

2. Save your settings as variantMat. T-F1##.

a) Save as a variant: Enter the variant name in the integration model inGoto→ Variants→ Save as Variant and then enter the variant nameand choose Save.

3. Execute the integration model by choosing the corresponding icon. Onthe following results screen, make sure that the integration model selectedyour material T-F1##.

Hint: Make sure that only one material has been selected.

If you have forgotten to specify your material in the general selectionoptions, all materials (several thousand) are selected. In this case,return to where the integration model is created and specify theselection.

a) See task

4. To complete this process, "generate" your integration model using the saveicon.

a) See task

Task 4:Activate the integration model as follows:

1. On the initial screen of the Activate integration model transaction, enter themodel name and the application. In addition, choose the option to processthe selection in the ERP System in parallel and enter 20 as the absolutemaximum number of processes. Now execute the function by going to the

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 49

Page 58: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

next screen (Execute) Select your integration model in the explorer andset a green checkmark in the Status new field by double-clicking. ChooseStart to execute the activation. Acknowledge any messages and make surethat the transaction was successful.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

Task 5:Check the result of the material master transfers in APO.

1. In the SCM system, display product T-F1## in location 1000.

a) Menu path: SCM APO→Master Data→ Product→ Product

2. What is the name of product T-F1##?

______________________________________________

a) Name of product: �Pump PRECISION 100� (transferred fromECC).

3. Click the �Administr.� tab page: Which �user�created the product master?

Where does this user come from?

______________________________________________

______________________________________________

a) User who created the product master: �USERADMIN�

Origin of this user: The product master was transferred using theCIF interface, which is based on a RFC connection between theECC and the SCM system. The user USERADMIN is defined inthis RFC connection � the CIF interface uses this user to logon tothe SCM System.

4. Go to the �Lot Size� tab page. Which lot-sizing procedure is set here?

______________________________________________

a) Lot-sizing procedure: The �lot-for-lot� order quantity is set.

5. Go to the �Procurement� tab page. Which procurement type is set?

______________________________________________

a) Procurement type: �E� (In-house production) is set.

50 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 59: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Master Data

Lesson Summary

You should now be able to:� Describe the concept of initial and change data transfer of master data from

an ECC system to an APO System� Create an integration model for the transfer of master data and transfer the

master data.

2005/Q2 © 2006 SAP AG. All rights reserved. 51

Page 60: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Lesson: Master Data for Transfer of Data Changes

Lesson OverviewThis lesson deals with the transfer of master data changes.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Transfer data changes.

Business ExampleChanges to master data must always be made in the ECC System dominant formaster data. You must therefore also transfer the changes to the SCM system.

Figure 26: Changes to APO-Relevant Master Data

Any changes you make to the master data in the ECC System that are alsoAPO-relevant, must be transferred into the SCM System. The system does notusually carry out a new initial data transfer, but just transfers the individualchanges to the master data. In the same way, the system also transfers a deletionflag for a material into APO.

An transfer of data changes assumes that an active integration model is availablefor the relevant master data, and that the master data is APO-relevant.

52 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 61: SCM210+ +Core+Interface+APO

SCM210 Lesson: Master Data for Transfer of Data Changes

With the transfer of master data changes, remember that the system will transferthe complete data record. If, for example, you change a field in the material master,the entire material master will be retransferred in the transfer of data changes.

Figure 27: Online Data Transfer for Master Data

The settings for the transfer of data changes are made in transaction �ConfiguringChange Transfer for Master Data� (transaction CFC9).

For material masters, customers and vendors, data changes can be transferredonline periodically or immediately. Otherwise, transfer can be turned off.

You can also set changes to be transferred immediately for work centers andresources. In principle, the transfer of data changes here only affects the headerdata of the individual work center capacities.

Similarly to the change pointers, the change is checked to see whether it is relevantfor APO before the online transfer. This check takes place based on the APOmaster data structure: it is converted after the change of the new ECC master datadocument into the APO document and compared with the existing APO document� another transfer of master data changes only takes place if there are differences.

2005/Q2 © 2006 SAP AG. All rights reserved. 53

Page 62: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Figure 28: Periodic Transfer of Master Data Changes

If you use CIF transaction �Configure Transfer of Data Changes�, the settings forthe message types CIFMAT, CIFVEN and CIFCUS are automatically set. In ECCsystem Customizing, a periodic change transfer is set. ALE change pointers arewritten for master data changes. First, the change pointers are activated generally(�Activate Change Pointers - Generally� in Customizing in ALE, transactionBD61), and you determine in Customizing, �Activate Change Pointers forMessage Type� (transaction BD50) which master data objects should have changepointers. (CIFMAT message type for material masters, CIFVEN for vendors,CIFCUS for customers, CIFSRC for info records)

The process transferring data changes periodically reverts to the material masters,vendors, sources of supply, and customers object types on the ALE change pointer.This change pointer selects the master data for the system to retransfer. When youcall the �Change Transfer � Master Data� transaction (CFP1), specify the thelogical target systems and the master data objects that have changes you want totransfer. You can save your settings for the transfer of data changes as variantsand, if necessary, use these variants for the periodic scheduling of transferring datachanges as a job (RCPTRAN4 report).

Changes made to ECC routings or BOMs can be transferred to APO as a PPM orPDS transfer of data changes. This transfer takes place with a separate transaction.

54 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 63: SCM210+ +Core+Interface+APO

SCM210 Lesson: Master Data for Transfer of Data Changes

Figure 29: Transfer Master Data Changes Periodically

This gives you the chance to periodically schedule the transfer of master datachanges as a job. To do so, define a variant (containing the target system and theselection of master data objects) for report RCPTRAN4 (hidden behind transactionCFP1), which you can use to define the job.

Figure 30: PPM/PDS Transfer of Data Changes

Changes to ECC production versions, routings, master recipes or BOMs can betransferred to APO via the PPM transfer of data changes (transaction CFP3) orthe PDS transfer of data changes (transaction CURTO_CREATE): The PPM orPDS that corresponds with these objects is created.

2005/Q2 © 2006 SAP AG. All rights reserved. 55

Page 64: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

If one of the ECC objects mentioned above is changed, a PPM change pointeris written. These change pointers are processed with the PPM transfer of datachanges. If change pointers have been written that are not to lead to a transfer (forexample, because the change is old), they can be deleted with transaction CFP4.(Changes to the operation from classification at the work center do not requirea change pointer.)

Note the following restrictions in the PPM transfer of data changes: no changepointers are written for changes to dummy BOMs, changes to referenced referenceoperation sets, changes to referenced objects (for example, component scrap in thematerial master).

Figure 31: Integration Model: More Functions

After deactivation of an integration model for transaction data, the affectedtransaction data is not exchanged between ECC and APO: for example, salesorders that are created in ECC after deactivation of the model are no longertransferred. Planned orders that are created in APO after deactivation of thecorresponding integration model are not transmitted to ECC either.

Deleting an integration model does not mean that the previously selected datain APO is also deleted. (For master data contained within an active integrationmodel, and for which you have set a deletion flag in ECC, the deletion flag istransferred to APO using a transfer of data changes).

56 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 65: SCM210+ +Core+Interface+APO

SCM210 Lesson: Master Data for Transfer of Data Changes

Exercise 3: Transfer of Master DataChanges

Exercise ObjectivesAfter completing this exercise, you will be able to:� Make and check settings for the transfer of master data changes.� Transfer data changes.

Business ExampleAPO is used in combination with ECC. The master data required for planningproduction in SAP APO has already been transferred from ECC. Changes tomaster data are to be transferred from ECC to APO.

Task 1:The master data required for planning was transferred from ECC to APO, and anychanges to this master data are to be created in ECC and transferred to APO.

1. Next determine the settings that have been created in the Customizing step�Configure Change Transfer for Master Data� in ECC Customizing for theCIF:

Are changes to material masters transferred online?

___________________________________________________

2. a) Are changes to work center capacities transferred online?

___________________________________________________

b) Does this statement also refer to the ECC interval of available capacity?

___________________________________________________

Task 2:To point out the effect of online change transfer, change a field in the ECC materialmaster and ensure that the change is transferred to the APO product master.

1. Call the ECC material master for material T-F2## in plant 1000. In MRP2view, change the Planned Delivery Time to any numerical value (forexample, 25 days) and save the material master.

Does this new setting have an effect on planning in APO (as a reminder: theproduct procurement type is �In-house production�)?

2. a) Is the data change transferred to APO?

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 57

Page 66: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

____________________________________________________

b) Why (not)?

____________________________________________________

3. Now call the APO product master for product T-F2## in plant 1000 and viewthe planned delivery time. Which value do you find?

____________________________________________________

58 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 67: SCM210+ +Core+Interface+APO

SCM210 Lesson: Master Data for Transfer of Data Changes

Solution 3: Transfer of Master DataChangesTask 1:The master data required for planning was transferred from ECC to APO, and anychanges to this master data are to be created in ECC and transferred to APO.

1. Next determine the settings that have been created in the Customizing step�Configure Change Transfer for Master Data� in ECC Customizing for theCIF:

Are changes to material masters transferred online?

___________________________________________________

a) Menu path: ECC Customizing Integration with other SAPComponents→ Advanced Planning and Optimization→ BasicSettings for the Data Transfer→ Change Transfer→ ChangeTransfer for Master Data→ Configure Transfer of Data Changes

Changes to material masters online: Yes, changes to material mastersare transferred online. The corresponding indicator is set to 2,�BTE transfer, immediately�.

2. a) Are changes to work center capacities transferred online?

___________________________________________________

b) Does this statement also refer to the ECC interval of available capacity?

___________________________________________________

a) Changes to work center capacities online: Yes, changes to workcenter capacities are also transferred online because the �Transferimmediately� indicator is set.

b) Are ECC intervals of available capacity also transferred: No, ECCintervals of available capacity are not transferred to APO.

Task 2:To point out the effect of online change transfer, change a field in the ECC materialmaster and ensure that the change is transferred to the APO product master.

1. Call the ECC material master for material T-F2## in plant 1000. In MRP2view, change the Planned Delivery Time to any numerical value (forexample, 25 days) and save the material master.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 59

Page 68: SCM210+ +Core+Interface+APO

Unit 3: Transfer of Master Data SCM210

Does this new setting have an effect on planning in APO (as a reminder: theproduct procurement type is �In-house production�)?

a) Menu path: ECC-Logistics→ Production→Master Data→MaterialMaster→ Material→ Change→ Immediately

Effect on the planning in APO: No, this field does not affect theplanning of this material in APO. It is relevant only for externalprocurement.

2. a) Is the data change transferred to APO?

____________________________________________________

b) Why (not)?

____________________________________________________

a) Transfer to APO: Yes, the change is transferred to APO. The totalmaterial master is retransferred to APO because a change hasbeen made.

b) Reason: The online change transfer is set. A retransfer alwaystakes place if a relevant field has been changed. You can configurethe relevant fields using ECC transaction BD52.

3. Now call the APO product master for product T-F2## in plant 1000 and viewthe planned delivery time. Which value do you find?

____________________________________________________

a) Menu path: SCM APO→ Master Data→ Product

Planned delivery time in APO: The new planned delivery time (forexample, 25 days) has been already entered in the product master.

60 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 69: SCM210+ +Core+Interface+APO

SCM210 Lesson: Master Data for Transfer of Data Changes

Lesson Summary

You should now be able to:� Transfer data changes.

2005/Q2 © 2006 SAP AG. All rights reserved. 61

Page 70: SCM210+ +Core+Interface+APO

Unit Summary SCM210

Unit SummaryYou should now be able to:� Describe master data.� Describe the concept of initial and change data transfer of master data from

an ECC system to an APO System� Create an integration model for the transfer of master data and transfer the

master data.� Transfer data changes.

62 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 71: SCM210+ +Core+Interface+APO

SCM210 Test Your Knowledge

Test Your Knowledge

1. What is APO-relevant master data?

2005/Q2 © 2006 SAP AG. All rights reserved. 63

Page 72: SCM210+ +Core+Interface+APO

Test Your Knowledge SCM210

Answers

1. What is APO-relevant master data?

Answer: All master data that is contained in an active integration modelis called APO-relevant master data.

64 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 73: SCM210+ +Core+Interface+APO

Unit 4SAP APO Master Data

Unit OverviewThis unit deals with and sometimes supplements the exact mapping of theindividual ECC master data documents onto their equivalents in APO.

Unit ObjectivesAfter completing this unit, you will be able to:

� Describe the transfer result of plants, distribution centers, MRP areas, clientsand vendors

� Describe the result of the transfer of master data� Describe the result of the transfer of work center data.� Describe the result of the transfer of routing and BOM.as a PPM� Describe the result of the transfer of routing and BOM as a PDS� Configure a variant using a production data structure.� You can use the mass maintenance tool for SAP APO master data external

procurement relationships, locations, production process models, products,quota arrangements, resources and transportation lanes.

Unit ContentsLesson: Locations ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

Exercise 4: Locations .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Lesson: Product master. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79Lesson: Resources .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

Exercise 5: Resources... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105Lesson: Production Process Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

Exercise 6: Production Process Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123Lesson: Production Data Structure .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131

Exercise 7: Production Data Structure ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135Lesson: Configuring Variants Using Production Data Structures.. . . . . . . .140Lesson: Mass Maintenance of APO Master Data ... . . . . . . . . . . . . . . . . . . . . . . .144

Exercise 8: APO Master Data: Mass Change ... . . . . . . . . . . . . . . . . . . . . . . .147

2005/Q2 © 2006 SAP AG. All rights reserved. 65

Page 74: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Lesson: Locations

Lesson OverviewECC plants, distribution centers, MRP areas, clients, and vendors are mapped inAPO as locations with the corresponding location type. Many settings can betransferred from ECC. Settings that exclusively refer to functions in APO (such asSNP) cannot originate from ECC and must be maintained subsequently in APO.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the transfer result of plants, distribution centers, MRP areas, clientsand vendors

Business Example

Figure 32: Master Data: Overview (1)

The system transfers the ECC master data objects plant, client, and vendor all intoAPO as locations with different location types.

The system also transfers classes and characteristics from ECC into the SCMSystem.

66 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 75: SCM210+ +Core+Interface+APO

SCM210 Lesson: Locations

Figure 33: Location Types

Figure 34: Location Type Production Plant

The system transfers a plant into SCM as a location with location type 1001(production plant). The system also copies these basic settings for the plant:Description, address data, time zone and regional assignment.

2005/Q2 © 2006 SAP AG. All rights reserved. 67

Page 76: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 35: Additional Data in APO Location

For APO locations, you can maintain the short text in several languages (incontrast with the plant in ECC), so that after logon in a certain language, thislanguage will appear.

As a rule, APO locations contain additional planning parameters that have noequivalents in ECC. You can then maintain these parameters in APO. The systemcannot transfer them from ECC.

Figure 36: Location Type Distribution Center

68 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 77: SCM210+ +Core+Interface+APO

SCM210 Lesson: Locations

As of Release 4.0, the system can define plants as distribution centers, within theframes of the DRP functionality (DRP: Distribution Resource Planning) in R/3.For this, you use the corresponding entry in the Customizing table (Customizingstep �Assign Node Type � Maintain Plant� in the DRP Customizing settings).

When you transfer plants into APO that are defined in ECC as distribution centers,the system transfers them to location type 1002 (distribution center). The transferof the individual ECC plant settings (in ECC, a DC is simply a plant) takes placein exactly the same way as it does for production plants. If you are working with arelease older than SAP R/3 4.0, where you cannot define DCs, use a customer exitto transfer an R/3 plant as an APO-DC.

Figure 37: Location Type MRP Area

As of R/3 Release 4.5, ECC MRP areas for the differentiation of requirementsplanning below the plant level are available. For each MRP area, you can enteryour own MRP parameters different at plant level than those from the materialmaster . In addition, the consumption values are updated also separately for eachMRP area, and specific settings for the forecast can be made.These settings arenot relevant for planning in APO. You can transfer storage location MRP areas,otherwise known as type 2 MRP areas, into APO as locations with location type1007.

In the ECC, MRP areas are organizational levels below the plant level, meaningthey are assigned to one particular plant. This plant assignment remains in APO.

2005/Q2 © 2006 SAP AG. All rights reserved. 69

Page 78: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

An ECC material master can be included in the plant MRP data and MRP areasegments, and enables planning of this material in different MRP areas. Whenthe system transfers such materials to APO, the MRP area data can also betransferred: In APO, there is then a product master for the plant location andthe MRP area locations.

Figure 38: Customer Location Type

The system transfers customers from ECC as locations with type 1010 (Customer).

You only need a customer in APO when the customer is to be planned in APO(for example, Transportation Planning). If you create a sales order in ECC, andthe demand is planned in APO, the sales order can also be transferred to APOwithout customers.

When the system transfers a customer master from ECC to APO, the actualcustomer location is transferred, as is the transportation zone that is assigned to acustomer in ECC, as location type 1005 (transportation zone).

70 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 79: SCM210+ +Core+Interface+APO

SCM210 Lesson: Locations

Figure 39: Vendor Location Type

The system transfers vendors from ECC as locations with type 1011 (vendor).

If the vendor and the customer have the same number in the ECC System (forexample, customer and vendor 1000), then you must rename one of them in theAPO inbox using the corresponding customer exit. (For example, rename thevendor in S1000). Otherwise, you cannot distinguish between the two locations.

The vendor must be known in APO in order for the vendor selection to take placein APO.

2005/Q2 © 2006 SAP AG. All rights reserved. 71

Page 80: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 40: External Procurement Relationship

The system can transfer a purchasing info record from ECC to APO as an externalprocurement relationship. You should be aware that the source location (thatcorresponds with the vendor in the purchasing info record) must be recognizedin APO in order for a successful data transfer to take place. If necessary, thesystem will transfer the vendor beforehand.

The system transfers the purchasing price from the purchasing info record into theexternal procurement relationship. (Scale prices too).

If a subcontract procurement processing is planned in APO, then the BOMbelonging to a subcontracting purchase info record can be transferred to APO viaCIF as a subcontracting PPM.

72 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 81: SCM210+ +Core+Interface+APO

SCM210 Lesson: Locations

Exercise 4: Locations

Exercise ObjectivesAfter completing this exercise, you will be able to:� Display APO locations resulting from the transfer from ECC

Business ExamplePlant 1000 has already been transferred to the SCM system via the CIF interface.You can now gain an overview of the various locations.

Task 1:Display production plant 1000 in the SCM system (display this location).

1. Use the F4 help (in the Location type field on the initial screen of the locationmaster), to enter the location type for the production plant. Which type isfor production plants?

_____________________________________________________

2. Display production plant 1000. The data is arranged on several tab pages.Click the �Address� tab page:

a) What is the name of the location?

_____________________________________________________

b) Which address is entered for it (street and city)?

_____________________________________________________

c) Which time zone is assigned to plant 1000?

_____________________________________________________

Task 2:In ECC, display the source of production plant 1000. In ECC, plants are definedin Customizing. Display plant 1000 in Customizing.

1. What is the name of plant 1000?

_____________________________________________________

2. What is its address?

_____________________________________________________

3. What is the time zone (hidden behind the Address icon)?

_____________________________________________________Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 73

Page 82: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Task 3:

1. Display other tab pages for location 1000 in APO. Here you will find anumber of settings that have no corresponding settings in the ECC plant. Ifyou want to use such functions in APO, you must maintain these settingsafter you have transferred your data to APO.

Task 4:Display plant 2400 in ECC Customizing.

1. What is the name of plant 2400?

_____________________________________________________

2. The name implies that this plant is a distribution center (DC). Where is theplant type defined in ECC?

_____________________________________________________

Make sure that plant 2400 is actually a DC.

Task 5:Display APO location 2400 (location type 1002).

1. What is the name of this location?

_____________________________________________________

(This location is a distribution center because plant 2400 was transferredfrom ECC.)

2. What are the location types with which the following ECC master data isrepresented in APO (use the F4 help in the Location Type field to answerthis question)?

a) MRP area:

_____________________________________________________

b) Customer:

_____________________________________________________

c) Vendor:

_____________________________________________________

74 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 83: SCM210+ +Core+Interface+APO

SCM210 Lesson: Locations

Solution 4: LocationsTask 1:Display production plant 1000 in the SCM system (display this location).

1. Use the F4 help (in the Location type field on the initial screen of the locationmaster), to enter the location type for the production plant. Which type isfor production plants?

_____________________________________________________

a) Menu path: SCM APO→Master Data→ Location→ Location

Production plant type: 1001

2. Display production plant 1000. The data is arranged on several tab pages.Click the �Address� tab page:

a) What is the name of the location?

_____________________________________________________

b) Which address is entered for it (street and city)?

_____________________________________________________

c) Which time zone is assigned to plant 1000?

_____________________________________________________

a) Name of location: �Hamburg Plant�.

b) Address: Alsterdorferstr. 13, 22299 Hamburg.

c) Time zone: CET.

Task 2:In ECC, display the source of production plant 1000. In ECC, plants are definedin Customizing. Display plant 1000 in Customizing.

1. What is the name of plant 1000?

_____________________________________________________

a) In ECC Customizing, choose Enterprise Structure→ Definition→Logistics - General→ Define, copy, delete, check plant

Plant: �Hamburg�.

2. What is its address?

_____________________________________________________

a) Alsterdorferstr. 13, 22299 Hamburg.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 75

Page 84: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

3. What is the time zone (hidden behind the Address icon)?

_____________________________________________________

a) Time zone: CET

Task 3:

1. Display other tab pages for location 1000 in APO. Here you will find anumber of settings that have no corresponding settings in the ECC plant. Ifyou want to use such functions in APO, you must maintain these settingsafter you have transferred your data to APO.

a) See task

Task 4:Display plant 2400 in ECC Customizing.

1. What is the name of plant 2400?

_____________________________________________________

a) Plant 2400: �Milano Distribution Center�.

2. The name implies that this plant is a distribution center (DC). Where is theplant type defined in ECC?

_____________________________________________________

Make sure that plant 2400 is actually a DC.

a) Defining a distribution center (DC) in ECC: Distribution centers aredefined in Customizing for DRP. Choose Production→ DistributionResource Planning (DRP)→ Basic Settings→Maintain assignmentof node type � plant. In the table that appears, define which plantsare DCs.

Task 5:Display APO location 2400 (location type 1002).

1. What is the name of this location?

_____________________________________________________

(This location is a distribution center because plant 2400 was transferredfrom ECC.)

a) Menu path: SCM APO→Master Data→ Location→ Location

Name of location 2400: �Milan Distribution Center�.

Continued on next page

76 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 85: SCM210+ +Core+Interface+APO

SCM210 Lesson: Locations

2. What are the location types with which the following ECC master data isrepresented in APO (use the F4 help in the Location Type field to answerthis question)?

a) MRP area:

_____________________________________________________

b) Customer:

_____________________________________________________

c) Vendor:

_____________________________________________________

a)

MRP area: 1007

b)

Customer: 1010

c)

Vendor: 1011

2005/Q2 © 2006 SAP AG. All rights reserved. 77

Page 86: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Lesson Summary

You should now be able to:� Describe the transfer result of plants, distribution centers, MRP areas, clients

and vendors

78 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 87: SCM210+ +Core+Interface+APO

SCM210 Lesson: Product master

Lesson: Product master

Lesson OverviewMaterial masters are transferred onto products in APO. The basic data andnumerous settings that exist in ECC for planning material are mapped onto thecorresponding settings in APO.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the result of the transfer of master data

Business Example

Figure 41: Master Data: Overview (2)

The system can transfer the ECC material master to the SCM system as a productmaster.

2005/Q2 © 2006 SAP AG. All rights reserved. 79

Page 88: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 42: Product Master in APO

The product master in APO is divided into different views according to topic. Theheader data (tab pages characteristics, units of measure, classification) is generaland valid for more than one location.

You can specify the planning of a product in APO, according to the location.Locations can come from plant type or MRP area (according to the ECC storagelocation MRP areas).

Many of the fields for the product are automatically filled when the systemtransfers a material master from ECC. To guarantee the consistency of the data inthe ECC and SCM systems, maintain these fields only in the ECC System. Thesystem then only changes the data during a transfer (from ECC) of the masterdata changes.

You can define the length of the APO product master number in APO Customizing(process step �Determine Output Display Of Product Number�). As is standard inECC, an 18-digit product number is used.

80 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 89: SCM210+ +Core+Interface+APO

SCM210 Lesson: Product master

Figure 43: General Data

The system transfers the following general data from the ECC material master intothe APO product: material group (Basic Data 1), transportation group (sales anddistribution: general/plant data), gross weight and volume (Basic Data 1), unitsof measure (Additional Data), classification data (Classification). Note that forclassification data, the system transfers the classes and characteristics to APObeforehand.

Materials that the system transfers to APO must be part of the integration model.The selection of APO-relevant materials can be defined especially easily by theuse of MRP type X0.

2005/Q2 © 2006 SAP AG. All rights reserved. 81

Page 90: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 44: ATP Settings

After the transfer of ATP Customizing, the system can transfer the ATP settingsfrom the material master into the corresponding product.

The system transfers the checking group as the ATP group in the product and thetotal replenishment lead time as the checking horizon directly from the materialmaster.

The system transfers the check mode: It corresponds with the requirements classin ECC, meaning you enter the indicator for the customer requirements class herethat is determined by the strategy group of the material. In ECC, the requirementsclass is usually determined by the strategy group of the material but can also be aresult of the schedule line category in the sales order.

There is a calendar in APO for the checking horizon. The system nowautomatically suggests the production calendar for the particular location. Youcan change this setting later.

82 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 91: SCM210+ +Core+Interface+APO

SCM210 Lesson: Product master

Figure 45: ATP Customizing

For the transfer of ATP settings from the ECC material master to APO, note thatthe system must first transfer the ATP Customizing into APO. You can select theATP Customizing from an integration model, where the import of Customizingsettings in the SCM System is allowed (Customizing step �Maintain GlobalSettings for Availability Check�).

If you execute the availability check in APO and not in ECC, then you define anintegration model, in which you choose the indicator �availability check� and, inthe material selection, enter the materials for which the ATP check should takeplace in SAP APO.

During the transfer of the ATP Customizing, the ECC checking group is displayedin an ATP group with the same indicator.

The ECC checking rule is transferred as the �business event� with the samedescription.

The ECC requirements class is displayed in the check mode in APO. This ATPcheck mode is new and contains the assignment mode (that controls the function ofallocation of customers and planned independent requirements) and the productiontype (standard or characteristic for the planning of variants).

The system then transfers the ECC scope of check to the APO check control thatcontains the scope of check.

2005/Q2 © 2006 SAP AG. All rights reserved. 83

Page 92: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 46: Requirements Strategies

Planning strategies entered in the ECC material master are transferred to the APOproduct master via the ECC-APO interface. Note that the logic varies slightly inboth systems (even the numbers that indicate the strategy in ECC and APO donot usually agree, because several ECC planning strategies can be mapped inAPO with one requirements strategy).

The ECC strategy group, which contains a main strategy and sometimes furthersecondary strategies, is maintained in the ECC material master. The main strategyfrom the ECC strategy group is always transferred to the SCM System.

The ECC strategy of make-to-order production (strategy 20) is not explicitlytransferred to APO as strategies are not needed for make-to-order production inAPO. (APO strategies mainly only concern the planned independent requirements).

In the ECC material master, a MRP group can also be used to assign a strategygroup to the material. When a material like this is transferred to SAP APO, thesystem also checks and, if necessary, transfers these settings.

84 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 93: SCM210+ +Core+Interface+APO

SCM210 Lesson: Product master

Figure 47: Consumption

The settings in the ECC material master for the consumption of plannedindependent requirements by sales orders are transferred via CIF. Becauseconsumption mode �4� does not exist in APO and is not recommended, the systemdoes not transfer this setting.

In the ECC material master, an MRP group can also be used to assign theconsumption to the material. When a material like this is transferred to SAP APO,the system also checks and, if necessary, transfers these settings.

Figure 48: Individual and Collective Requirement

2005/Q2 © 2006 SAP AG. All rights reserved. 85

Page 94: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

The settings for individual/collective requirements for dependent requirementsare transferred from the ECC material master to the APO product master via CIF:If the individual/collective indicator has the value �2� (collective requirementonly), �Always collective requirement� is set in the APO product, and the �Poss.individual customer reqmts� indicator is set for no value or �1�.

Figure 49: Static Lot-Sizing Procedure

The system can transfer the static lot-sizing procedures lot-for-lot order quantity,fixed lot sizes and period lot-sizing procedures from ECC to APO, via the CoreInterface (CIF).

The lot-sizing procedure �lot-for-lot� in the ECC material master is transferred tothe SAP APO product master as the �lot-for-lot lot size�.

The ECC fixed lot size is transferred to APO as the fixed lot size. The systemrefers to Customizing for the ECC lot-sizing procedure. If lot-size indicator �F� isdefined, set the fixed lot size in APO. The system also transfers the value for thefixed lot size specified in the ECC material master.

The ECC lot-sizing procedure �Replenishment to maximum stock level� istransferred to APO as lot-for-lot order quantity, because in SAP APO, theReplenishment to maximum stock level procedure is mapped in combination withreorder point planning and the corresponding heuristic. The system transfers thereorder point maintained in the ECC material master and the maximum stocklevel via the CIF.

86 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 95: SCM210+ +Core+Interface+APO

SCM210 Lesson: Product master

The system transfers the indicator �Lot size of sales order planning� in the ECClot-sizing procedure (defined in Customizing) into the APO product master: If youare working with the lot size in the short term horizon, in the sales order planningin ECC, the indicator �Always lot-size� is set in the APO product master.

Figure 50: Period Lot-Sizing Procedure

The period lot-sizing procedures can be transferred from the ECC material masterto SAP APO. The system uses ECC Customizing that is behind the lot-sizingprocedure. If �P� (period lot size) has been defined for the lot-sizing procedurehere, a period lot size will also be set in SAP APO. The �lot size indicator�determines in Customizing, which �period indicator� the system will transfer intoAPO: The period indicators D (day), W (week), M (month) can be transferred. Ifyou want to use the periodicity H (hours) and transfer the data from ECC, you canuse a customer exit to do this through CIF. The system transfers the number ofperiods, within which the procurement quantity should be grouped.

In a similar way, the system then transfers the �Scheduling� indicator inECC Customizing for the lot-sizing procedure into SAP APO: For the setting�availability date=requirements date�, the availability date indicator in the productis set to blank; for the setting �availability date=start of period� the availabilitydate indicator is �X� and the period factor is 0; for the setting �availabilitydate=end of period�, the availability date indicator is �X� and the period factor is 1.

In the SAP APO product master, you can also use any period factor (for example,0.5) to make the availability date of the procurement element exactly half (0.5)of the period. If you want such a setting to not equal 0 or 1, and transfer the datafrom ECC, you can use a customer exit to do this through CIF.

2005/Q2 © 2006 SAP AG. All rights reserved. 87

Page 96: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 51: Lot Size Parameters

The system can transfer many lot size parameters from the ECC material masterinto APO.

SAP APO contains planning functions that do not exist in ECC. For this reason,extra maintenance of the lot size parameters may be necessary in the APO productmaster, if functions without equivalents in ECC are used.

The system transfers the assembly scrap from the ECC material master to APO.Note that the logic for the calculation of the scrap in ECC does not totally agreewith the logic in APO.

88 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 97: SCM210+ +Core+Interface+APO

SCM210 Lesson: Product master

Figure 52: SNP2, PP/DS, Procurement and GR/GI

The system transfers the purchasing group from the ECC material into the APOproduct.

The call horizon is defined in the ECC material by the scheduling margin keyfor floats. The system transfers this call horizon into the APO product. Theplanning time fence is transferred from the ECC material master record to theAPO product master.

The procurement type, planned delivery time, goods receipt processing time andthe loading group of sales and distribution are also transferred.

2005/Q2 © 2006 SAP AG. All rights reserved. 89

Page 98: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 53: Transportation Lane from a Special Procurement Type

External procurement relationships in the form of purchasing info records, outlineagreements, and scheduling agreements can be transferred from ECC to APO.The main prerequisite is that the supplier concerned be transferred to APO as alocation. The respective transport relationships also are created automatically inaddition to the procurement relationships.

It is possible, using SCM 4.0, to transfer automatically to APO the stock transferbetween various plants or distribution centers defined in the ECC material masterwith a special procurement key. Transportation lanes that may have been createdmanually in APO will not be overwritten.

Maintaining Additional Product Master Fields in APO

� Mass maintenance for product master fields in APO (for those that cannotbe transferred from ECC)

� Alternative solution: Enhancing the ECC material master record withcustomer-specific fields (append structures) and transferring these fields intothe integration model (using a customer exit)

You can use mass maintenance to subsequently maintain product master recordsthat you have copied from ECC (call from the initial screen in product mastermaintenance). In mass maintenance, you can maintain many fields that cannot betransferred out of ECC.

Alternative solution using an enhancement: You can enhance the ECC materialmaster using customer-specific fields (append structures, see SAP Note 44410).You can also enhance the ECC material master so that you can maintain the

90 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 99: SCM210+ +Core+Interface+APO

SCM210 Lesson: Product master

settings for functions that do not exist in ECC in the ECC material master. Forthe CIF transfer for these fields, note that you need to enhance CIF in the ECCoutbox and the APO inbox to define that these fields are transferred (using thecorresponding customer exits).

2005/Q2 © 2006 SAP AG. All rights reserved. 91

Page 100: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Lesson Summary

You should now be able to:� Describe the result of the transfer of master data

92 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 101: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

Lesson: Resources

Lesson OverviewECC work centers are mapped onto resources in APO in the form of their workcenter capacities.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the result of the transfer of work center data.

Business ExampleYou require work centers for production. These are transferred into APO asresources.

Figure 54: Master Data: Overview (3)

An ECC work center (for example, a PP-PI resource) can contain severalcapacities with different capacity categories: For the production of a material inthis work center, all capacities are necessary.

APO displays each capacity category as a single resource. The transfer of a workcenter into APO can result in several resources.

Work center hierarchies from ECC are not supported in APO.

2005/Q2 © 2006 SAP AG. All rights reserved. 93

Page 102: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 55: Resource Categories

The resource category determines the use of a resource. Various resource types areavailable in APO for various scheduling functions.

Figure 56: Resources in APO

Resources are SAP APO master data, in which capacities and working times ofmachines, personnel, means of transport and warehouses are defined.

Resources can be defined as single-activity resources, multi-activity resources orbucket resources.

94 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 103: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

The single/multi-activity resources can be used for continual and exact timescheduling. Production Planning and Detailed Scheduling (PP/DS) usesingle-activity and multi-activity resources. The system can transfer them fromECC.

Bucket-resources are used for medium and long-term scheduling in SupplyNetwork Planning (SNP). The time periods are at least one day long.

Mixed resources can be used in both SNP (bucket-oriented planning) and inPP/DS (time-continuous scheduling).

Figure 57: Work Center and Resources

When an ECC work center is transferred to SAP APO, each capacity category ismapped to an individual resource. These resources are independent of each otherin APO.

The resources in APO must have unique names. The transfer takes place accordingto the following naming convention: The name of the work center will start witha �W�, then comes the plant from which the work center, and then the capacitycategory comes at the end.

ECC work center capacities normally are transferred as �production�-type single-or multi- activity resources. Unlike mixed resources, these resources can onlybe used in PP/DS.

If you want the system to create mixed resources during the transfer, to be usedin SNP as well as PP/DS, then you use a customer exit up to APO Release 3.1.(SAP Note 329733). If you use mixed resources, then activate a customer exitfor PPM (Note 321474).

2005/Q2 © 2006 SAP AG. All rights reserved. 95

Page 104: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 58: Single- and Multiple-Activity Resource

Single-activity resources can only be used by one operation, whereas withmulti-activity-resources, several operations can be scheduled at the same time.The system displays ECC work center capacities with only one individual capacitythat cannot be used by several operations, on single-activity resources. Similarly,the system displays ECC work center capacities that either possess more thanone individual capacity or that can be used by more than one operation, onmulti-activity resources.

During the transfer of the ECC work center capacity, only the data from thestandard available capacity is considered (for the option of single or multi-activityresource) or copied. The system does not transfer possible available capacityintervals that differ from the standard available capacity.

An ECC work center capacity can have more than one individual capacity butcannot be used by several operations. This case cannot be displayed in APO inthis form, as this capacity is displayed on a multi-activity resource.

You can only use setup matrices with single-activity resources.

96 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 105: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

Figure 59: Available Capacity for Planning in APO PP/DS

ECC work centers and resources for which the capacity planning occurs in APOPP/DS, are to be included in the integration model. The corresponding APOresource is created during the initial activation. Since SCM 4.0 and the plug-in2003.1 various possibilities exist for defining available capacity for planning inAPO PP/DS:

Option 1: Available capacity is maintained in APO. Only the header data of thework center capacities are transferred from ECC (for which one change transfer ispossible). Intervals of available capacities which are beyond this blanket offer aremaintained in APO. You can determine in the ECC work center capacity or byusing transaction CFC9 during a procedure of this type whether APO resourcesshould be created as single, multi-, or mixed resources.

Option 2: Available capacity is maintained entirely in ECC. Intervals of availablecapacity created in ECC are used for planning in APO (�external capacity�).Intervals of available capacity maintained in APO do not play role for planning.At the most, downtime that has been defined might be considered. For thisprocedure as well, resources are included in active integration models in which,as above, it can be determined whether the resources should be created as single,multi, or mixed resources.

2005/Q2 © 2006 SAP AG. All rights reserved. 97

Page 106: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 60: Transfer for Resources Header Data

As before, during the initial transfer each ECC work center capacity category ismapped to an APO resource.

The resource type (for example, multi, mixed) is created in ECC before the firsttransfer (transaction CFC9). The resource type cannot be changed in APO after ithas been created. Primarily mixed resources certainly can be used.

APO resources can be used in the same way in production process models andproduction data structures.

Changes to work center header data are made in ECC and can be transferred,either periodically or online, to the respective resources in APO (in transactionCFC9 set the indicator to�transfer immediately�). The transfer of data changesrecords all fields in the work center whose contents an be transferred to APO.However, shift models and intervals are not transferred.

Transaction CFC9 can also be configured for how change transfer affects planningversion dependent resources.

Additional data for APO resources can be directly maintained in the ECC workcenter (icon �APO resource� in the work center capacity header).

98 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 107: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

Figure 61: Transfer of Standard Availability Capacity

During the transfer of an ECC work center, the system creates one APO resourcefor each capacity category. The corresponding resources adopt the short text ofthe capacity. You can maintain the short text in APO in more than one language.If the ECC work center capacity does not have a short text, then the name of thework center is supplemented in APO with the capacity category (for example,1904_001).

The system transfers the factory calendar ID and the active capacity version.The system does not automatically transfer the factory calendar itself (thecorresponding Customizing). Application Customizing generally cannot betransferred from ECC via an integration model. (Exception: Plant, MRP area,ATP). Basis Customizing (factory calendar, units) can be transferred via the SAPtransport system.

The system transfers the standard available capacity of the active capacity versionand the number of individual capacities. The system does not automaticallytransfer intervals that vary from the standard available capacity and that you mayhave defined in ECC.

The system transfers the rate of resource utilization of the ECC capacity. Thesystem does not transfer the field �Overload�, with which you can allow apercentage overload on a capacity in ECC, into the APO resource. The rate ofresource utilization represents the corresponding function.

When you set the indicator �Relevant for finite scheduling� in the ECC capacity,the system activates the indicator �Finite planning� in the relevant APO resourceduring the transfer.

2005/Q2 © 2006 SAP AG. All rights reserved. 99

Page 108: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 62: ECC Work Center Capacity and APO Resource

When you transfer an ECC work center capacity to APO you can configuresettings in ECC that are only relevant for this transfer. Click �APO resource� incapacity to maintain these additional fields.

Depending on the settings in Transaction CFC9 you can define the followingdata: Resource type for the initial creation of the resource in APO, usage of theexternal capacity, validity period of available capacity in APO, finiteness level,SNP relevance, and others.

100 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 109: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

Figure 63: External Resource

The APO Core Interface does not support transfers from ECC to APO for shifts,shift programs, and breaks. You can still use all ECC work center data in the APOresource because, since SCM 4.0 has been released, it is possible to use the externalresource (�External Capacity� tab in the APO resource). The available capacity ofthe APO resource is not determined by data stored in APO (with the exceptionof downtime, which can be maintained directly in the APO resource) but ratherdirectly based on referenced intervals of available capacity specified in ECC. Ifdowntime is defined in APO, downtime and shifts maintained in ECC make upthe available capacity. Thus, APO downtime is combined with ECC availablecapacity. Shifts that may be maintained in the APO resource are not involved.

You use the ECC transaction CFC9 to activate the external capacity and decidewhether to use the external capacity for all transferred resources or whetherto decide to use each resource (configured in the ECC work center capacity,�APO-Resource�).

The functions described above are available in SAP SCM 4.0, R/3 Plug-In 2003.1,and SAP R/3 4.0B or higher.

2005/Q2 © 2006 SAP AG. All rights reserved. 101

Page 110: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 64: Reference Resource

In ECC, a reference available capacity can be assigned to a work center capacity:The system transfers the available capacity of the reference available capacity.

The transfer of a work center capacity containing a reference available capacityresults in two resources in APO: The system transfers the reference availablecapacity as an individual resource (reference resource), therefore this resourcename does not start with a �W�. The system transfers the work center resource(containing a copy of the capacity data of the reference resource), and thereference resource is assigned to it.

Figure 65: Pooled Capacities

102 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 111: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

The system can transfer to APO pooled capacities that are assigned to an ECC workcenter. The system does not only transfer the individual work center capacities, towhich the pooled capacity is assigned, but also the pooled capacity itself.

As far as the data transfer is concerned, the system transfers the pooled capacitiesjust like it does normal resources (the available capacity is also transferred), exceptthat the resource name starts with a �W�.

2005/Q2 © 2006 SAP AG. All rights reserved. 103

Page 112: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

104 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 113: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

Exercise 5: Resources

Exercise ObjectivesAfter completing this exercise, you will be able to:� Display a resource in APO� Describe the result of the transfer of an ECC work center to APO.

Business ExampleThe resources required to produce the pumps in APO have already been transferredfrom ECC. Check the result of the transfer.

Task 1:Work center T-L## in plant 1000 is required for producing pumps.

1. Display the work center in ECC.

2. What is the name of this work center?

_____________________________________________________

3. Which two capacities (with which capacity categories) are defined for thiswork center?

_____________________________________________________

4. Which capacity is relevant for scheduling?

_____________________________________________________

5. Display more detailed data for the capacity with capacity category 001(machine).

a) Which standard available capacity is defined for this capacity?

_____________________________________________________

b) How many individual capacities does this capacity have?

_____________________________________________________

c) Can it be used by several operations?

_____________________________________________________

d) Is it relevant for finite scheduling?

_____________________________________________________

6. What result do you expect when you see the result of the transfer of workcenter T-L## to the SCM system?

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 105

Page 114: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

a) How many APO resources are relevant to the work center?

_____________________________________________________

b) Is capacity category 001 mapped onto a single-activity resource or amulti-activity resource? Why?

_____________________________________________________

7. What are the names of the APO resources that result from the CIF transfer ofECC work center T-L## of plant 1000?

____________________________________________________

Task 2:The capacities of ECC work center T-L## of plant 1000 were transferred to thetraining system asmixed resources. Both the machine capacity (capacity category001) as well as the labor capacity (capacity category 002) were transferred assingle-activity resources.

1. Display APO resourcesWT-L##* in location 1000. Look at the singlemixed resources: does one of these resources represent ECC work centerT-L## in plant 1000?

____________________________________________________

2. Look more closely at resource WT-L##_1000_001:

a) What is the name of this resource?

____________________________________________________

b) Which standard capacity is defined?

____________________________________________________

c) Is this resource scheduled finitely in APO?

____________________________________________________

106 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 115: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

Solution 5: ResourcesTask 1:Work center T-L## in plant 1000 is required for producing pumps.

1. Display the work center in ECC.

a) Menu path: ECC-Logistics→ Production→ Master Data→ WorkCenters→ Work Center→ Display

2. What is the name of this work center?

_____________________________________________________

a) The work center is called �Paint shop�.

3. Which two capacities (with which capacity categories) are defined for thiswork center?

_____________________________________________________

a) The work center contains two capacities: Machine (capacitycategory 001) and Labor (capacity category 002)

4. Which capacity is relevant for scheduling?

_____________________________________________________

a) The machine capacity is used for scheduling.

5. Display more detailed data for the capacity with capacity category 001(machine).

a) Which standard available capacity is defined for this capacity?

_____________________________________________________

b) How many individual capacities does this capacity have?

_____________________________________________________

c) Can it be used by several operations?

_____________________________________________________

d) Is it relevant for finite scheduling?

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 107

Page 116: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

_____________________________________________________

a) Standard available capacity: Work time from 7:00 to 15:00, witha one hour break

b) Number of individual capacities: One

c) No, it cannot be used by several operations.

d) Yes, the capacity is relevant to finite scheduling.

6. What result do you expect when you see the result of the transfer of workcenter T-L## to the SCM system?

a) How many APO resources are relevant to the work center?

_____________________________________________________

b) Is capacity category 001 mapped onto a single-activity resource or amulti-activity resource? Why?

_____________________________________________________

a) Work center T-L## is transferred to APO in the form of tworesources.

b) Capacity category 001 is to be represented at a single-activityresource as the number of individual capacities is one and thecapacity cannot be used by several operations. (In addition, there isno explicit resource type set in the capacity for transfer to APO).

7. What are the names of the APO resources that result from the CIF transfer ofECC work center T-L## of plant 1000?

____________________________________________________

a) Names of the APO resources corresponding to work center T-L##:WT-L##_1000_001 or WT-L##_1000_002

Task 2:The capacities of ECC work center T-L## of plant 1000 were transferred to thetraining system asmixed resources. Both the machine capacity (capacity category001) as well as the labor capacity (capacity category 002) were transferred assingle-activity resources.

1. Display APO resourcesWT-L##* in location 1000. Look at the singlemixed resources: does one of these resources represent ECC work centerT-L## in plant 1000?

Continued on next page

108 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 117: SCM210+ +Core+Interface+APO

SCM210 Lesson: Resources

____________________________________________________

a) Menu path: SCM APO→Master Data→ Resource→ Resource

Yes, resources WT-L##_1000_001 or WT-L##_1000_002 aredisplayed as single mixed resources in APO.

2. Look more closely at resource WT-L##_1000_001:

a) What is the name of this resource?

____________________________________________________

b) Which standard capacity is defined?

____________________________________________________

c) Is this resource scheduled finitely in APO?

____________________________________________________

a) The resource is called �Paint shop (machine capacity)�.

b) Just as in ECC, a working time from 7:00 to 15:00 is set, with aone hour break (Standard Capacity tab)

c) Yes, the resource is planned finitely (as a result of the �Relevant tofinite scheduling� indicator that is set in the ECC work center).

2005/Q2 © 2006 SAP AG. All rights reserved. 109

Page 118: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Lesson Summary

You should now be able to:� Describe the result of the transfer of work center data.

110 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 119: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

Lesson: Production Process Model

Lesson OverviewThe work center and the BOM in ECC do not exist in APO in this form; insteadthey are mapped onto a production process model (PPM) or production datastructure (PDS) that contains information from both documents. (For PP-PI, ECCmaster recipes can be mapped onto APO PPMs in a similar way, see appendix).Only the information needed for planning in APO is transferred (only the routingoperations relevant for scheduling, for example), and you should note that theAPO terminology in this area varies greatly to that in ECC.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the result of the transfer of routing and BOM.as a PPM

Business ExampleWork flows and material components are needed for production. APO productionplanning needs the corresponding master data from the ECC.

The routing and BOM are therefore transferred into a PPM.

Figure 66: Master Data: Overview (4)

2005/Q2 © 2006 SAP AG. All rights reserved. 111

Page 120: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

The SAP ECC routing and bill of material are mapped in SAP APO on aproduction process model or production data structure. Similarly, the ECC masterrecipe (PP-PI) can be mapped in APO.

The following technical BOM categories are supported in the CIF interface:Simple BOMs, multiple BOMs (the relevant alternative is specified in theproduction version), variant BOMs (different material numbers are produced withthe same super BOM).

Figure 67: Alternatives to PPM in APO

In addition to the PPM, there are alternative data structures available in SAPAPO for Production Planning and Detailed Scheduling. These alternatives areof interest if the technical restrictions of the PPM (no change management, novariants) hinder the use of SAP APO. With the �Plan Explosion� indicator in theSAP APO product master, you can determine on which data objects the orderexplosion in SAP APO is based.

Integrated Product and Process Engineering (iPPE) is not currently included in theECC standard. SAP APO contains iPPE, but it can only be transferred from anECC DI system.

The production data structure (PDS) - previously PP/DS RTO and iPPE RTO- is a data structure that is generated as an alternative to the PPM via the CIFinterface from the ECC routing and BOM in SAP APO and used for the orderexplosion. As of SAP R/3 release 4.6B, master recipes can also be transferredas PDS to SAP APO.

112 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 121: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

Figure 68: Transferring PPMs

Figure 69: ECC production version and APO-PPM

For the CIF transfer of the routing and bill of material as a production processmodel (PPM) into APO, a valid production version must be available in thematerial master of the corresponding material. The production version determinesa manufacturing process by specifying a routing and a bill of material.

A PPM matches the assignment of a product to a plan. A plan can be assigned toseveral products and may therefore contain several PPMs.

In the ECC material master, several production versions can be defined fordifferent lot size intervals. Each of these production versions is transferred intoAPO as an individual plan and PPM. The individual plans differ by group counter.

2005/Q2 © 2006 SAP AG. All rights reserved. 113

Page 122: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

The PPMs that are transferred from ECC have usage �P�: They can be used inAPO for Production Planning and Detailed Scheduling (PP/DS). If the plans arealso used for Supply Network Planning (SNP), they need to be copied as PPMswith usage �S�. A special report is available in SAP APO for this.

Figure 70: Task List Description in APO

When a plan or a production process model is created in APO, as a transfer of arouting/bill of material from an ECC production version, the origin is clearlya derivation of the plan number: The plan number in APO is composed of therouting number of the ECC (expressed by a number that specifies the routingtype - for example, �N� for a normal routing, �R� for a line routing, and �2� fora master recipe (process industry)), the group counter and the description of theproduction version. (The system transfers reference operation sets in routings justlike normal routings are transferred.)

The system transfers a description of the routing into APO as a plan text, and thebrief description of the production version is transferred as a PPM text.

If one routing is used in several production versions, the plan number in APOincludes the material number and plant. (For example, for material A in plant1000: N500077010001A1000).

The system only transfers the production versions that are valid at the time ofselection in the integration model.

114 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 123: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

Figure 71: Structure of the Production Process Model (1)

The PPM has validity parameters determined by lot size and time intervals.

A PPM contains one or more operations (you can maintain the short texts of thePPM operations in different languages). Each operation includes at least oneactivity. (These activities may be �produce�, �setup�, �tear down� or �wait�). Thecomponents consumed (or produced) by the activity are assigned to the activities.The sequence of activities within the operation is defined by the relationships.

The transfer of ECC master data can result in two types of relationship:Finish-start relationships, where the end of one activity starts another, andstart-start relationships, where two activities start at the same time.

2005/Q2 © 2006 SAP AG. All rights reserved. 115

Page 124: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 72: Structure of the Production Process Model (2)

The mode determines the resource and the capacity requirement needed to executean activity. As well as the primary resource that is relevant for scheduling, youcan enter one or more secondary resources in a mode. The system also createscapacity requirements for the dependent resources during scheduling.

Several modes can be assigned to one activity, that is, several alternative resourcescan be assigned and the activity can be processed. During scheduling in PP/DS,the system automatically selects a mode. The mode selected is the mode that startslatest if you take the available capacity into consideration.

It is possible to give preference to particular modes that you use for theoptimization in PP/DS. You can therefore give the modes different priorities.

Alternative sequences of a routing can be transferred using a customer exit asalternative modes to APO-PPM (see note no. 217210).

116 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 125: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

Figure 73: Operations in PPM

The operations in a ECC routing correspond with operations in APO PPM. Thesystem transfers all ECC operations that are relevant to scheduling and have acorresponding control key. The system does not transfer operations that are notrelevant to scheduling.

The system does not transfer operations if: There is no work center in the ECCoperation and no work center in any active integration model, and if there are noscheduling results unequal to zero (partly because there are formulas or standardvalues missing).

The operation numbers remain during the transfer.

The system transfers ECC sub-operations as APO operations.

The system transfers parallel sequences of an ECC routing to APO: The systemthen creates the corresponding operations and provides them with relationships sothat they operate as parallel sequences. (Start-start relationship).

2005/Q2 © 2006 SAP AG. All rights reserved. 117

Page 126: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 74: Scheduling and Activities

The operations of a production process model include activities where you willfind a description of the actual process steps for the operation. During the transferof an ECC routing, the system creates the activities of the APO PPM operationrelevant to the ECC operation.

A work center is assigned to an ECC operation. The work center specifies whichtime elements can be taken into consideration during the scheduling (for example,setup time, machine time, personnel time) with the help of a standard value key.The scheduling formulas stored in the work center define the duration from theallowed time elements in the routing.

The setup, processing and tear down of an ECC operation are all displayed inAPO activities. During the CIF transfer of a routing, the scheduling formulas ofthe relevant work center are also interpreted, in order to create the correspondingactivities in PPM with their durations.

The activities of the PPMs include a mode with a primary resource each. Theseprimary resources correspond with the capacity selected in the work center as ascheduling basis. Other possible available capacities that are not relevant forscheduling are displayed using secondary resources.

The capacity requirements of the individual process steps result from thescheduling formulas defined in the work center and the time elements of therouting. The system stores them in APO PPM as variable or fixed durations (thevariable durations relate to the output quantity of the last PPM operation derived

118 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 127: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

from the base quantity of the ECC bill of material). The durations are specifiedin the APO activity, in the base unit of measure of the ECC capacity relevant forscheduling (shown in Hour (H) in the slide).

Figure 75: Overview of Activity Relationships

There are two types of activity relationships:

1. Start-start relationships: The start times of two activities are correlated toeach other.

2. Finish-start relationship: The end of one activity is linked with the startof the next activity.

2005/Q2 © 2006 SAP AG. All rights reserved. 119

Page 128: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 76: Activity Relationships

The �activities� of an ECC operation, setup, process and tear down are transferredin this order into APO PPM as activities. The activity relationships define theorder of APO activities. During the CIF transfer of an ECC operation, the systemcreates these activity relationships automatically, as preceding and subsequentrelationships within an operation.

The operation number determines the sequence of the individual operations of anECC routing. A corresponding activity relationship between the last activity ofone operation and the first activity of the following operation defines this sequencein APO PPM too.

Possible available wait or move times that determine the time interval of thefollow-up operation in the ECC operation, are divided between two PPMoperations in the activity relationship: The sum of the minimum wait time and theminimum move time is transferred as the minimum duration.

ECC sub-operations are transferred as APO operations with the activity �produce�.As ECC sub-operations are not relevant for scheduling (their dates are determinedaccording to the lower-level operation they are assigned to), the sub-operationactivity is linked to a start-start relationship at the start of the operation. Relevantfor scheduling is also still the original main operation in APO.

120 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 129: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

Figure 77: Assignment of Components

In ECC, bill of material components in the routing can be assigned to individualoperations. This assignment of components is transferred into APO: Thecomponent assignment is displayed by input components in activities. Theassignment is made to the first activity of the relevant operation.

The result of production, the finished product, is marked in APO as an outputcomponent. The output component is assigned to activity �produce� (P) in the lastoperation of PPM (if activity �P� does not exist here, then it is assigned to �setup�).

The system only transfers the component assignment for materials contained in anactive integration model. Direct procurement items are transferred as stock items.

If materials are assigned to an operation in ECC that is not transferred to SAPAPO, they are assigned to the first operation in the SAP APO PPM (or moreprecisely: the first activity of the first operation).

2005/Q2 © 2006 SAP AG. All rights reserved. 121

Page 130: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 78: CIF Transfer of PPMs: Miscellaneous

The system can transfer the indicator �Tear down/parallel wait time� in the ECCoperation, into APO in the form of corresponding relationships (see note 321956for details).

Subcontracting PPMs can be transferred via CIF to the source location inAPO. Assign the production version to an info record in ECC and select the�subcontracting PPM� object accordingly in the integration model.

Hint: The ECC indicator Fixed quantity in the BOM item (that ensuresthat the dependent requirements quantity for this item remains fixedindependent of the order quantity), is transferred to the APO-PPM: Thecorresponding item leads to a fixed material consumption in the PPM.

Order splits are currently not supported in APO.

122 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 131: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

Exercise 6: Production Process Model

Exercise ObjectivesAfter completing this exercise, you will be able to:� Transfer a production process model to APO� Describe the result of the transfer of a production version with BOM and

routing to the SCM System

Business ExampleThe production process models required to produce the pumps in APO aretransferred from ECC.

Check the result of the transfer.

Task 1:Extend the ECCmaterial master for the pump T-F1## in plant 1000 for productionversion as follows:

1. The subsequent transfer of the task list and bill of material into the SCMSystem assumes that a valid production version exists in ECC. Therefore,you need to create a production version for material T-F1##. In MRP 4view of the material master, click the production version pushbutton. In theoverview screen, enter a new production version 0001 with the name Normalproduction, which should be valid from today until the end of next year.Using the Details button, go to the detail screen and enter the following data:

Lot size: from 1 (pc) to 999,999 (pc)

Routing: in the detailed scheduling row, specify the routing that you searchfor (and find) using the F4 Help from the planning group field using material(T-F1##).

Bill of material: Enter the alternative BOM 1 from BOM usage 1.

You exit the production version maintenance by pressing the button Continuetwice, then save the material master.

Task 2:View the current ECC routing for producing material T-F1## in plant 1000 inchange mode.

1. Which operations are required for production (what are the operationdescriptions)?

Operation 10: _____________________________________

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 123

Page 132: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Operation 20: _____________________________________

Operation 30: _____________________________________

Operation 40: _____________________________________

Operation 50: _____________________________________

Operation 60: _____________________________________

2. Which components are used to produce this material (see the componentassignment in the routing to answer this question)?

___________________________________________________

3. Assign component T-B3## to operation 40.

Task 3:In the following, create an integration model to transfer the routing and BOM toAPO for material T-F1## as a production process model (PPM).

1. Generate an integration model with the following settings:

Model name: PUMP##Target system: Logical name of the SCM system that you noted

previously.Application: PPM T-F1##

Choose material dependent objects-PPM you want to include in theintegration model. As general selection options for materials, enter materialT-F1## in plant 1000.

Hint: Do not execute the integration model yet!

2. Save your settings as variant PPM T-F1##.

3. Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the integration model selected yourproduction version 0001 for material T-F1##. To complete this process,save your integration model.

4. Activate the integration model as follows: On the initial screen for the"activate integration model" transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmark

Continued on next page

124 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 133: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

in the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

Task 4:Display the production process model (PPM) for the production of productT-F1## in location 1000in APO.

1. Compare the operations of the PPM with the ECC operations of thecorresponding routing (which you wrote down above). Are the operationdescriptions the same?

___________________________________________________

2. View the input components of operation 10. Which components are assignedto this operation?

__________________________________________________

3. View the input components of operation 40. Which components are assignedto this operation?

__________________________________________________

4. Display more detailed information for operation 30 of the PPM.

a) Which activities does this operation have?

__________________________________________________

b) How many modes does the activity Produce have?

__________________________________________________

c) What is the primary resource of the mode?

__________________________________________________

d) Which variable duration is defined for the activity at this resource?

__________________________________________________

e) Which base quantity of the finished product does the variable durationrefer to (notice the output component of the last operation)?

__________________________________________________

2005/Q2 © 2006 SAP AG. All rights reserved. 125

Page 134: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Solution 6: Production Process ModelTask 1:Extend the ECCmaterial master for the pump T-F1## in plant 1000 for productionversion as follows:

1. The subsequent transfer of the task list and bill of material into the SCMSystem assumes that a valid production version exists in ECC. Therefore,you need to create a production version for material T-F1##. In MRP 4view of the material master, click the production version pushbutton. In theoverview screen, enter a new production version 0001 with the name Normalproduction, which should be valid from today until the end of next year.Using the Details button, go to the detail screen and enter the following data:

Lot size: from 1 (pc) to 999,999 (pc)

Routing: in the detailed scheduling row, specify the routing that you searchfor (and find) using the F4 Help from the planning group field using material(T-F1##).

Bill of material: Enter the alternative BOM 1 from BOM usage 1.

You exit the production version maintenance by pressing the button Continuetwice, then save the material master.

a) Menu path: ECC-Logistics→ Production→Master Data→MaterialMaster→ Material→ Change→ Immediately

Task 2:View the current ECC routing for producing material T-F1## in plant 1000 inchange mode.

1. Which operations are required for production (what are the operationdescriptions)?

Operation 10: _____________________________________

Operation 20: _____________________________________

Operation 30: _____________________________________

Operation 40: _____________________________________

Operation 50: _____________________________________

Continued on next page

126 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 135: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

Operation 60: _____________________________________

a) Menu path: ECC-Logistics→ Production→ Master Data→Routings→ Routings→ Standard Routings→ Change

Operations for production:

Operation 10: Material staging by picking list

Operation 20: Press fly wheel in casing

Operation 30: Paint casing

Operation 40: Insert hollow shaft in casing

Operation 50: Final assembly of pump

Operation 60: Deliver to stock

2. Which components are used to produce this material (see the componentassignment in the routing to answer this question)?

___________________________________________________

a) Components T-B1##, T-B2##, T-B3##, T-B4## and screw T-T3##are used in production. A document item is also available.

3. Assign component T-B3## to operation 40.

a) See task

Task 3:In the following, create an integration model to transfer the routing and BOM toAPO for material T-F1## as a production process model (PPM).

1. Generate an integration model with the following settings:

Model name: PUMP##Target system: Logical name of the SCM system that you noted

previously.Application: PPM T-F1##

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 127

Page 136: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Choose material dependent objects-PPM you want to include in theintegration model. As general selection options for materials, enter materialT-F1## in plant 1000.

Hint: Do not execute the integration model yet!

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Create

2. Save your settings as variant PPM T-F1##.

a) See task

3. Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the integration model selected yourproduction version 0001 for material T-F1##. To complete this process,save your integration model.

a) See task

4. Activate the integration model as follows: On the initial screen for the"activate integration model" transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmarkin the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

Task 4:Display the production process model (PPM) for the production of productT-F1## in location 1000in APO.

1. Compare the operations of the PPM with the ECC operations of thecorresponding routing (which you wrote down above). Are the operationdescriptions the same?

___________________________________________________

a) Menu path: SCM APO→Master Data→ Production Process Model→ Production Process Model

Yes, the operation descriptions are the same.Continued on next page

128 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 137: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Process Model

2. View the input components of operation 10. Which components are assignedto this operation?

__________________________________________________

a) Components T-B3## and T-B4## are assigned to operation 10.

3. View the input components of operation 40. Which components are assignedto this operation?

__________________________________________________

a) Component T-B1## is assigned to operation 40.

Hint: You will see that components T-B2## and T-T3## arenot available in APO PPM.

This is because these components are not to be planned inAPO. The materials are not included in any active integrationmodel, so that the PPM does not include these components.

4. Display more detailed information for operation 30 of the PPM.

a) Which activities does this operation have?

__________________________________________________

b) How many modes does the activity Produce have?

__________________________________________________

c) What is the primary resource of the mode?

__________________________________________________

d) Which variable duration is defined for the activity at this resource?

__________________________________________________

e) Which base quantity of the finished product does the variable durationrefer to (notice the output component of the last operation)?

__________________________________________________

a) Operation 30 has the activities �Produce� (P) and �Setup� (S).

b) The activity �Produce�has one mode.

c) The primary resource of this mode is WT L##_1000_001.

d) The variable duration is 0.167 hours (per output quantity of thefinished product).

e) The variable duration refers to one piece of finished productT-F1##.

2005/Q2 © 2006 SAP AG. All rights reserved. 129

Page 138: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Lesson Summary

You should now be able to:� Describe the result of the transfer of routing and BOM.as a PPM

130 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 139: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Data Structure

Lesson: Production Data Structure

Lesson OverviewIn this lesson you will transfer an ECC routing with sub-operations and an ECCBOM with a phantom assembly to SCM.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the result of the transfer of routing and BOM as a PDS

Business ExampleWork flows and material components are needed for production. APO productionplanning needs the corresponding master data from the ECC.

The routing and BOM are therefore transferred into a PDS.

Figure 79: Transfer from PDS

The production data structure (PDS) is a data structure that is generated as analternative to the PPM via the CIF interface from the ECC routing and BOM inSAP APO and used for the order explosion.

If phantom assemblies are included in the BOM, they must be selected separatelyas �material BOMs� in the integration model when using the PDS (phantomassemblies are not exploded in the production data structure, unlike the PPM).There should therefore be one BOM for each phantom assembly.

2005/Q2 © 2006 SAP AG. All rights reserved. 131

Page 140: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

A change transfer is available for the production data structure (transaction codeCURTO_CREATE). Production data structures cannot be changed in SAP APO.

Figure 80: BOM for Phantom Assemblies in the PDS

The production data structure (PDS) supports the use of phantom assemblies.In contrast to processing with a production process model, the reference to thegenerating assembly is retained, on confirmation, on reduction of the components.

A common integration model is created for the phantom assembly (configurationusing special procurement key) and the finished product. In addition to thematerial masters (finished product, assemblies including the phantom assembly,components of the phantom assembly), this model consists of the productiondata structure and the BOM.

In the SAP APO product master of the finished product and the phantom assembly,the setting plan explosion �Production Data Structure Generated from SAP R/3�must be made.

Changes to the BOM of the phantom assembly can be transferred using the ECCtransaction CURTO_CREATE_BOM from the Core Interface menu to SAP APO.

132 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 141: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Data Structure

Figure 81: Change Management in the Production Data Structure

Using the production data structure, it is possible to map various change statusesof the BOM and the routing in SAP APO. The various change statuses aretransferred to the production data structure in the CIF transfer of the productionversion. You should be aware that the relevant change numbers must be includedin the integration model.

Crucial to the selection of the relevant change status in planning in SAP APO isthe explosion date (of each order). You can display a specific change status forchecking purposes in the SAP APO transaction /SAPAPO/CURTO_SIMU byentering such a date.

In the SAP APO product master of the finished product and the assembly, thesetting plan explosion �Production Data Structure Generated from SAP R/3�must be made.

2005/Q2 © 2006 SAP AG. All rights reserved. 133

Page 142: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 82: Maintenance transaction for the PDS as of SCM 5.0

Since the production data structure does not have a change mode, you have tomaintain the planning-specific data for SCM-APO in the SAP ECC System. Thisdata is maintained independently from the master data in ECC in a separate table,and can only be changed using the same transaction. To maintain this additionaldata, you can use transaction PDS_MAINT in the CIF menu of ECC. No changehistory is provided for this data, since no ECC master data is being changedhere. To effect the maintained planning-specific data in SCM-APO, a subsequenttransfer of data changes for the production data structure is required.

To give you a better overview in the maintenance transaction, you have the optionof setting a filter that you can use for the operation data for activity type "Setup",for example.

Transaction PDS_DEL can be used to delete the additional data in the table forthe PDS, and the transfer of data changes for the production data structure used toremove the data in SCM-APO.

134 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 143: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Data Structure

Exercise 7: Production Data Structure

Exercise ObjectivesAfter completing this exercise, you will be able to:� Transfer a production data structure and its corresponding BOMs with a

phantom group from an ECC routing to the APO.� Describe the result of the transfer of a production version with BOM and

routing to the SCM System

Business ExampleYou want to use the production data structure in APO for planning the in-houseproduction of pump T-F1## in plant 1000. Create a corresponding integrationmodel and display the result of the transfer in APO using a phantom group.

Task 1:So far, the in-house production of pump T-F1## in plant 1000 has been plannedusing PPMs. These PPMs have already been transferred to APO. You will nowcreate an integration model for transferring a production data structure witha phantom group.

1. In the ECC BOM, add stock item 70 with material number T-DUMMA andquantity 1. This BOM item is a phantom group and contains a component100-310.

2. In the SCM product master for material T-F1##, view the plan explosion.Which plan explosion indicator is set?

3. Generate an integration model for transferring production version 0001 andthe assembly. Use the following settings:

Model name: PUMP##Target system: Logical SCM system nameApplication: PDS

Select the material masters, bills of material and PDS asmaterial-dependent objects. Using the multiple selection icon, enter thematerials T-F1##, T-DUMMA, 100-310 in plant 1000 as general options formaterials. Select production data structure production version 0001.

Save your settings as variant PDS## and run the integration model.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 135

Page 144: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

On the following results screen, make sure that the integration model selectedmaterial T-F1## with the production version, material masters and BOM forthe phantom assembly group, and save the integration model.

4. Activate the integration model as follows: On the initial screen forthe �activate integration model� transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmarkin the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

Task 2:Display the result of transferring the PDS to APO.

1. In the APO master data, call the production data structure for productT-F1## in plant 1000.

a) Take a look at the components. Are all APO-relevant components there?

___________________________________________________

b) Display the activities and assigned modes. Compare them to the relevantECC routing to ensure that all relevant operations from the routing areincluded.

2. Display the PP/DS view of product master T-F1## in plant 1000.

a) Which setting is used for a plan explosion?

___________________________________________________

b) Give a reason for the result:

___________________________________________________

136 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 145: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Data Structure

Solution 7: Production Data StructureTask 1:So far, the in-house production of pump T-F1## in plant 1000 has been plannedusing PPMs. These PPMs have already been transferred to APO. You will nowcreate an integration model for transferring a production data structure witha phantom group.

1. In the ECC BOM, add stock item 70 with material number T-DUMMA andquantity 1. This BOM item is a phantom group and contains a component100-310.

a) Menu path: ECC-Logistics→ Production→Master Data→ Bills ofMaterial→ Bill of Material→Material BOM→ Change

Item 70; item category L

2. In the SCM product master for material T-F1##, view the plan explosion.Which plan explosion indicator is set?

a) Menu path: SCM APO→Master Data→ Product→ Product

The indicator for the plan explosion is �blank� and appears on thePP/DS tab page.

3. Generate an integration model for transferring production version 0001 andthe assembly. Use the following settings:

Model name: PUMP##Target system: Logical SCM system nameApplication: PDS

Select the material masters, bills of material and PDS asmaterial-dependent objects. Using the multiple selection icon, enter thematerials T-F1##, T-DUMMA, 100-310 in plant 1000 as general options formaterials. Select production data structure production version 0001.

Save your settings as variant PDS## and run the integration model.

On the following results screen, make sure that the integration model selectedmaterial T-F1## with the production version, material masters and BOM forthe phantom assembly group, and save the integration model.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Create

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 137

Page 146: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

4. Activate the integration model as follows: On the initial screen forthe �activate integration model� transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmarkin the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

Task 2:Display the result of transferring the PDS to APO.

1. In the APO master data, call the production data structure for productT-F1## in plant 1000.

a) Take a look at the components. Are all APO-relevant components there?

___________________________________________________

b) Display the activities and assigned modes. Compare them to the relevantECC routing to ensure that all relevant operations from the routing areincluded.

a) Menu path: SCM APO→Master Data→ Production Data Structure→ Display Production Data Structure

b) Yes, all APO-relevant components and components from thephantom assembly group are included.

2. Display the PP/DS view of product master T-F1## in plant 1000.

a) Which setting is used for a plan explosion?

___________________________________________________

b) Give a reason for the result:

___________________________________________________

a) Menu path: SCM APO→Master Data→ Product→ Product

Setting for plan explosion: Indicator �5�, �production data structuregenerated from ECC� are entered.

b) When you transfer a production data structure from ECC, as youhave just done, the indicator for the plan explosion is automaticallyset to �5� in APO. The general premise is that the PDS also will beused with the transfer for planning.

138 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 147: SCM210+ +Core+Interface+APO

SCM210 Lesson: Production Data Structure

Lesson Summary

You should now be able to:� Describe the result of the transfer of routing and BOM as a PDS

2005/Q2 © 2006 SAP AG. All rights reserved. 139

Page 148: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Lesson: Configuring Variants Using Production DataStructures

Lesson OverviewThis lesson provides an example of an ECC variant configuration using ECCand APO.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Configure a variant using a production data structure.

Business ExampleTo plan a product variant in the SCM system, you will need additional master datafrom the ECC system. Ensure that all necessary master data with integrationmodels are transferred to APO.

Figure 83: Variant Configuration Using PDS

The use of PPMs for planning inhouse production is based on various technicalrestrictions. For example, the usual process of variant configuration with PPMcannot be performed.

140 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 149: SCM210+ +Core+Interface+APO

SCM210 Lesson: Configuring Variants Using Production Data Structures

It is possible to plan with variant configuration using the product data structure.For this, the necessary classes and characteristics must be transferred from ECC toAPO via CIF. If a production version is then transferred to APO as a productiondata structure containing a BOM and routing, a production data structure is createdfor this production version, in which the entire dependency from ECC is included.The dependency is therefore not explicitly transferred to APO as an individualobject. For different evaluations, a production data structure of this type cantherefore have, for example, a different look.

Conditions supported can include, for example, selection conditions that areconnected to the BOM and routing. For selection in the integration model,organizational areas must be used when working in the variant classes.

The sales orders evaluated in ECC can then be entered and transferred to APO.This evaluation is then transferred to the corresponding planned and productionorders, so that they reflect the configuration of the sales order.

Figure 84: Variant Configuration � Knowledge Base

The knowledge base of a configurable material consists of the following objects.

In the material master, the configurability of a material is defined, and additionalplanning and control data is set.

In the classification system, a series of characteristics and values are created andsummarized in variant classes (class type 300).

The configuration profile contains control data for the configuration processand for the result.

2005/Q2 © 2006 SAP AG. All rights reserved. 141

Page 150: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

A super BOM must be created that contains all the standard and variant parts, aswell as the assemblies that are necessary to configure a variant product.

A super task list must be created that contains all activities, subactivities, worksequences, and production resources/tools that are necessary for the productionof all possible variants.

Dependency determines the rules or the logic of the configuration process.

142 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 151: SCM210+ +Core+Interface+APO

SCM210 Lesson: Configuring Variants Using Production Data Structures

Lesson Summary

You should now be able to:� Configure a variant using a production data structure.

2005/Q2 © 2006 SAP AG. All rights reserved. 143

Page 152: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Lesson: Mass Maintenance of APO Master Data

Lesson OverviewYou want to change planning data must be in multiple material masters. This stepis carried out using the mass modification transaction.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� You can use the mass maintenance tool for SAP APO master data externalprocurement relationships, locations, production process models, products,quota arrangements, resources and transportation lanes.

Business Example

Figure 85: Mass Maintenance of APO Master Data

144 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 153: SCM210+ +Core+Interface+APO

SCM210 Lesson: Mass Maintenance of APO Master Data

Figure 86: Mass Maintenance of APO Master Data (1)

The mass maintenance of master data enables the following master data types to beprocessed: procurement relationship, location, production process model, product,quota arrangement, resource and transportation lane. It must, however, be notedthat the maintenance of master data in APO is only advisible for those fields thatcannot be maintained as part of a transfer of changes to master data from ECC.

The selection of the master data types to be processed occurs by the selection of anobject type. The documents to be changes are then selected by the specificationof values for individual attributes of a component (for example, product masterscan be selected over the product description). The attributes to be maintained arethen determined.

2005/Q2 © 2006 SAP AG. All rights reserved. 145

Page 154: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Figure 87: Mass Maintenance of APO Master Data (2)

After the master data and attributes to be changed have been selected, values canbe set for the individual attributes. These values are transferred into the individualmaster data documents, during which manual changes are possible at all times.Therefore, multiple attributes can be given new values in one step.

The changes to the fields are then updated during saving. Saving can occur in thebackground if a long runtime is expected due to large quantities of data.

146 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 155: SCM210+ +Core+Interface+APO

SCM210 Lesson: Mass Maintenance of APO Master Data

Exercise 8: APO Master Data: MassChange

Exercise ObjectivesAfter completing this exercise, you will be able to:� Make various APO product master settings for demand planning using mass

maintenance.

Business ExampleThe products required for planning production in SAP APO has already beentransferred from ECC. This data must be enhanced by settings that can only bemade in APO.

Task:The product masters required for planning pump T-F2## and the key componentsof its BOMs in plant 1000 are transferred from ECC to APO. Various settings areAPO-specific and cannot be derived from ECC. You can use master data massmaintenance to add to the PP/DS horizon, the SNP production horizon and theplanning group in the production masters.

1. a) In APO call the transaction for master data mass maintenance and on theinitial screen, specify the �Product� as the object type.

On the �Selection criteria� section of the screen, choose the F4 help for the�Component� field to select the products you want to change.

Component Header data Attribute Product

Select In the appropriate selection, specify the product numbers

T-F2##, T-B1##, T-B22##, T-B3##, T-B4##

. Limit the selection to production plant 1000. To do this, use the F4 help tospecify the following entries in a new line:

Component Location-Dependent data Attribute Location

and enter location 1000.

In the �Maintenance components and attributes� section, specify the fieldsyou want to populate with new values. You may not be able to change theSNP production horizon due to the supply profile. In this case, you need toreset the supply profile. Enter the following:

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 147

Page 156: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Component: Location-Dependent Data Attribute: Supply profileComponent: Location-Dependent Data Attribute: PP/DS HorizonComponent: Location-Dependent Data Attribute: SNP Prod. Hor.Component: Location-Dependent Data Attribute: Planning group

Save the selection as variant T-GRP## with brief description.

Make your selection by choosing Select.

Confirm any messages and make change with display. Now check alllocation-specific data already entered. Is the SNP production horizondisplayed for all selected location products?

______________________________________________________

b) Why (not)?

______________________________________________________

2. Remove the supply profiles that exist by setting the corresponding fixedvalue in mass selection to Blank and Complete changes. The SNPproduction horizon for all location products will now be displayed.

In the same way, define all selected products using the following fixed values(set the relevant value for each):

PP/DS horizon 60 daysSNP production horizon: 60 daysPlanning group: ##

Make the changes and then save them, ignoring any messages that aredisplayed.

3. Call one of the product masters you have just changed (T-F2## in plant 1000,for example) and check the relevant fields. Is the new data there?

____________________________________________________

148 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 157: SCM210+ +Core+Interface+APO

SCM210 Lesson: Mass Maintenance of APO Master Data

Solution 8: APO Master Data: MassChangeTask:The product masters required for planning pump T-F2## and the key componentsof its BOMs in plant 1000 are transferred from ECC to APO. Various settings areAPO-specific and cannot be derived from ECC. You can use master data massmaintenance to add to the PP/DS horizon, the SNP production horizon and theplanning group in the production masters.

1. a) In APO call the transaction for master data mass maintenance and on theinitial screen, specify the �Product� as the object type.

On the �Selection criteria� section of the screen, choose the F4 help for the�Component� field to select the products you want to change.

Component Header data Attribute Product

Select In the appropriate selection, specify the product numbers

T-F2##, T-B1##, T-B22##, T-B3##, T-B4##

. Limit the selection to production plant 1000. To do this, use the F4 help tospecify the following entries in a new line:

Component Location-Dependent data Attribute Location

and enter location 1000.

In the �Maintenance components and attributes� section, specify the fieldsyou want to populate with new values. You may not be able to change theSNP production horizon due to the supply profile. In this case, you need toreset the supply profile. Enter the following:

Component: Location-Dependent Data Attribute: Supply profileComponent: Location-Dependent Data Attribute: PP/DS HorizonComponent: Location-Dependent Data Attribute: SNP Prod. Hor.Component: Location-Dependent Data Attribute: Planning group

Save the selection as variant T-GRP## with brief description.

Make your selection by choosing Select.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 149

Page 158: SCM210+ +Core+Interface+APO

Unit 4: SAP APO Master Data SCM210

Confirm any messages and make change with display. Now check alllocation-specific data already entered. Is the SNP production horizondisplayed for all selected location products?

______________________________________________________

b) Why (not)?

______________________________________________________

a) Menu path: SCM APO→ Master Data→ General Master DataFunctions→ Mass Maintenance

Display SNP production horizon for all selected location products: No,an SNP production horizon is only entered for some assemblies.

b) Reason for not displaying: In the product master of the assemblya supply profile is defined that contains an entry for the SNPproduction horizon and prevents direct maintenance.

2. Remove the supply profiles that exist by setting the corresponding fixedvalue in mass selection to Blank and Complete changes. The SNPproduction horizon for all location products will now be displayed.

In the same way, define all selected products using the following fixed values(set the relevant value for each):

PP/DS horizon 60 daysSNP production horizon: 60 daysPlanning group: ##

Make the changes and then save them, ignoring any messages that aredisplayed.

a) See task

3. Call one of the product masters you have just changed (T-F2## in plant 1000,for example) and check the relevant fields. Is the new data there?

____________________________________________________

a) Menu path: SCM APO→Master Data→ Product→ Product

Yes, the new data is there.

150 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 159: SCM210+ +Core+Interface+APO

SCM210 Lesson: Mass Maintenance of APO Master Data

Lesson Summary

You should now be able to:� You can use the mass maintenance tool for SAP APO master data external

procurement relationships, locations, production process models, products,quota arrangements, resources and transportation lanes.

2005/Q2 © 2006 SAP AG. All rights reserved. 151

Page 160: SCM210+ +Core+Interface+APO

Unit Summary SCM210

Unit SummaryYou should now be able to:� Describe the transfer result of plants, distribution centers, MRP areas, clients

and vendors� Describe the result of the transfer of master data� Describe the result of the transfer of work center data.� Describe the result of the transfer of routing and BOM.as a PPM� Describe the result of the transfer of routing and BOM as a PDS� Configure a variant using a production data structure.� You can use the mass maintenance tool for SAP APO master data external

procurement relationships, locations, production process models, products,quota arrangements, resources and transportation lanes.

152 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 161: SCM210+ +Core+Interface+APO

SCM210 Test Your Knowledge

Test Your Knowledge

1. What are the necessary requirements for producing a complete productiondata model for material in the APO system?Choose the correct answer(s).□ A The MRP type must be set to X0 in the material master.□ B The material master must contain a valid production version with

an alternative plan and BOM.□ C All materials and work centers must be included in an active

integration model.□ D Only operations with standard values are transferred.□ E Only operations with a control key that is relevant to scheduling

are transferred.

2005/Q2 © 2006 SAP AG. All rights reserved. 153

Page 162: SCM210+ +Core+Interface+APO

Test Your Knowledge SCM210

Answers

1. What are the necessary requirements for producing a complete productiondata model for material in the APO system?

Answer: B, C, D, E

154 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 163: SCM210+ +Core+Interface+APO

Unit 5Models and Planning Versions

Unit OverviewThis unit illustrates the structure of models and planning versions regarding theirassignment of the master data.

Unit ObjectivesAfter completing this unit, you will be able to:

� Describe the function of models and planning versions for master andtransaction data in APO.

Unit ContentsLesson: Models and Planning Versions.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156

2005/Q2 © 2006 SAP AG. All rights reserved. 155

Page 164: SCM210+ +Core+Interface+APO

Unit 5: Models and Planning Versions SCM210

Lesson: Models and Planning Versions

Lesson OverviewThis lesson provides an overview of the structure of models and planning versions.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Describe the function of models and planning versions for master andtransaction data in APO.

Business ExampleA business is displayed in active model 000. Plan version 000 is required fortransferring master and transaction data.

Figure 88: Models and Planning Versions in APO

The Supply Chain Model (abbreviation: Model) represents the entire supply chainnetwork ranging from suppliers to production and distribution sites, through tothe customer. It contains locations, transportation lanes, products, resources, andproduction process models. The model is therefore the basis for all planningfunctions in SAP APO. It only contains master data.

156 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 165: SCM210+ +Core+Interface+APO

SCM210 Lesson: Models and Planning Versions

Master data from ECC system is automatically assigned to the active model(model 000) during the transfer to APO. The active model represents the supplychain actually used in the company. In this way, all the transferred master data isautomatically available for operational planning in model 000. You must assignmaster data that you create manually in SAP APO to a model.

For simulation purposes, it is possible to create several planning versions foreach supply chain model. However, only model 000 and planning version 000are active. The planning version contains master data and transaction data. Inan inactive planning version, you can, for example, simulate increased plannedindependent requirements and plan production based on an increased demand.

You can use version management to copy models and planning versions, or createthem manually. They must be uniquely identifiable, however, which means thattwo planning versions in different models must have different names. Activeplanning version 000 only exists in model 000.

Figure 89: Models and Planning Vers. for Locns and Products

If locations and products are created in APO using the ECC-APO interface, theyare automatically created in active planning version 000 and assigned to activemodel 000.

If planning is simulated in an inactive planning version (for example, planningversion 001), the master data fields of the location and the product master ofactive planning version 000 are read (location and product in an inactive planningversion thus refer to the active planning version 000).

2005/Q2 © 2006 SAP AG. All rights reserved. 157

Page 166: SCM210+ +Core+Interface+APO

Unit 5: Models and Planning Versions SCM210

If you want to use modified master data in simulated planning (for example,different MRP attributes of a product), you can maintain certain fields specificallyfor the planning version in the location or the product master in APO (manuallyor mass maintenance). During planning in planning version 001, theseversion-specific fields from planning version 001 are then read. For fields that arespecific to a planning version, and can be maintained as such, the system readsthe fields from active planning version 000 (reference) if no alternative settingshave been made.

If you also want to use certain locations and products in inactive models, you mustmanually assign these locations and products to the inactive model required. Youcan do so from within master data maintenance or via the Supply Chain Engineer.Within the inactive model, planning can be carried out in one or several inactiveplanning versions.

Figure 90: Models and Planning Versions for Resources

If resources are created in APO using the ECC-APO interface, they areautomatically created in a version that is independent of a planning version(planning version �blank�) and assigned to active model 000. In addition, theseplanning version-independent resources are automatically copied into all planningversions (active planning version 000 as well as all inactive planning versions) thatexist in this model during the master data transfer. You are left with a planningversion-independent resource, an active planning version resource, and someinactive planning version resources.

When version management is used to create a new planning version at a laterstage, all resources are automatically copied to the new planning version (as a copyof the planning version-independent resource) when the new version is created.

158 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 167: SCM210+ +Core+Interface+APO

SCM210 Lesson: Models and Planning Versions

If planning is simulated in a particular planning version (for example, in activeplanning version 000 or inactive planning version 001), the resource master datafields are read to the relevant planning version. If you want to use modifiedmaster data in the simulated planning (for example, different operating times ofresources in simulation), you can change the resources specifically for a planningversion in APO.

If you also want to use certain resources in inactive models, you must manuallyassign these resources to the required inactive model. You can do so from withinmaster data maintenance or via the Supply Chain Engineer. When you assignthe resource to the inactive model, the resource is automatically created in allplanning versions of the inactive model (copy of the planning version-independentresources to the planning version-specific resources of the active model).

Figure 91: Models and Planning Versions for PPMs

If PPMs are created in APO using the ECC-APO interface, they are automaticallyassigned to active model 000. However, the PPM is valid in all planning versions.This means it does not depend on a certain planning version. The only exceptionare time-dependent parameters in PPM, such as scrap, resource consumption,material consumption (component quantity). You can plan them specifically for aplanning version in APO but cannot use the ECC-APO interface.

If you simulate planning in an inactive planning version (for example, planningversion 001), the same PPM is used as for operational planning. Modified PPMfields for simulated planning only are not supported.

2005/Q2 © 2006 SAP AG. All rights reserved. 159

Page 168: SCM210+ +Core+Interface+APO

Unit 5: Models and Planning Versions SCM210

If you also want to use certain PPMs in inactive models, you must manually assignthese PPMs to the required inactive model. You can do so from within master datamaintenance or via the Supply Chain Engineer.

Figure 92: Models and Planning Versions for PDS

If PDSs are created in APO using the ECC-APO interface, they are valid in allplanning versions.

160 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 169: SCM210+ +Core+Interface+APO

SCM210 Lesson: Models and Planning Versions

Lesson Summary

You should now be able to:� Describe the function of models and planning versions for master and

transaction data in APO.

2005/Q2 © 2006 SAP AG. All rights reserved. 161

Page 170: SCM210+ +Core+Interface+APO

Unit Summary SCM210

Unit SummaryYou should now be able to:� Describe the function of models and planning versions for master and

transaction data in APO.

162 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 171: SCM210+ +Core+Interface+APO

Unit 6Transfer of Transaction Data

Unit OverviewIn addition to the master data, the exchange of transaction data between the ECCand APO is also determined using the CIF. In this unit, the functionality of thetransaction data transfer (that is not quite the same as the master data transfer)is displayed.

Unit ObjectivesAfter completing this unit, you will be able to:

� It describes the concept of transferring transaction data between ECC andAPO.

� Define an integration model for the transfer of transaction data� Transfer transaction data

Unit ContentsLesson: Transaction Data Overview .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .164Lesson: Integration Model Transaction Data... . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167

Exercise 9: Transfer of Planned Orders .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173

2005/Q2 © 2006 SAP AG. All rights reserved. 163

Page 172: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

Lesson: Transaction Data Overview

Lesson OverviewThis lesson provides an introduction of transaction data objects.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� It describes the concept of transferring transaction data between ECC andAPO.

Business ExampleIn general, planning in APO is based on master data that has been transferredfrom ECC to the SCM system. However, the planning itself takes place on thetransaction data level: Requirements in the form of sales orders, for example, flowinto the planning and the result is procurement elements in form of planned orders.In APO, there must be lots of initial data, and the result of the planning must inturn be returned to ECC so that the planning can be executed.

Figure 93: Transaction Data Interface: Core Interface (CIF)

The selection of transaction data that the system transfers to APO is determined inan integration model that you define in ECC. All transaction data is mapped toorders in SAP APO, which are distinguished by their ATP category.

164 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 173: SCM210+ +Core+Interface+APO

SCM210 Lesson: Transaction Data Overview

Figure 94: CIF Transaction Data Objects

First, the initial data transfer of transaction data takes place through the APOCore Interface. As a rule, the change transfer between ECC and APO followsautomatically for transaction data objects belonging to an active integrationmodel. New transaction data or changes to existing transaction data are transferredautomatically.

APO transaction data is therefore not identical to ECC transaction data. The ECCtransaction data is transferred as orders in APO that differ by ATP category.

Planned independent requirements can only be transferred from ECC to APOthrough CIF. The transfer of planned independent requirements from APO to ECC,that you need if you only perform demand planning in APO, must be triggeredfrom demand planning in APO using a separate transaction.

You can specify in APO that planned orders and purchase requisitions are onlytransferred from APO to ECC if the conversion indicator has been set.

2005/Q2 © 2006 SAP AG. All rights reserved. 165

Page 174: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

Lesson Summary

You should now be able to:� It describes the concept of transferring transaction data between ECC and

APO.

166 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 175: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Transaction Data

Lesson: Integration Model Transaction Data

Lesson OverviewThis lesson deals with the transfer of transaction data.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Define an integration model for the transfer of transaction data� Transfer transaction data

Business ExampleFor production planning it is necessary to define not only master data but alsointegration models for transaction data between systems.

Figure 95: Initial Data Transfer of Transaction Data: Overview

You define the integration model that controls the transfer of transaction data, inthe ECC System.

2005/Q2 © 2006 SAP AG. All rights reserved. 167

Page 176: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

The integration model distinguishes between master data and transaction data. Werecommend that you select the two types of data in separate integration models andthen transfer them separately. In the integration model, you select the transactiondata you want to transfer. You specify the following in the integration model:

� The APO target system for the data transfer� The data objects you want to transfer

For any transaction data from the production planning that is contained in anactive integration model, the system usually performs a continuous real-timetransfer of data changes in the default settings between ECC and APO.

Figure 96: Integration Model for Transaction Data

The transaction data that is to be transferred from the ECC System to the SCMSystem is defined in an integration model. The ECC system generates thisintegration model (transaction CFM1).

An integration model is uniquely defined by its name and application. It isuseful to create several integration models with the same name but as differentapplications. Ensure that the data pools of your integration models are generallynot too big. This enables you to handle errors more easily.

The target system that you specify in the integration model determines the APOSystem that the transaction data is transferred into. The target system is a logical(APO) system that must have a RFC connection. The SCM System determines the(ECC) target system to be used for a retransfer from APO to ECC.

168 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 177: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Transaction Data

You use a particular integration model to specify which transaction data youwant to transfer. To do so, you first specify the transaction data types that are tobe added to the integration model. In the second step, you specify the selectioncriteria to be used for the selection of the individual documents in the ECC System.

You complete the generation of the integration model by �executing� the model(this means that the data objects of the model are compiled) and then you save it.

Figure 97: Activate Integration Model for Transaction Data

To transfer transaction data between ECC and APO, you must activate theintegration model. Activate an integration model with the �Activate IntegrationModel� transaction (transaction code CFM2) in the CIF.

It is useful to have several integration models active at a time.

Choose the �Start� function to trigger the initial data transfer. This means that thetransaction data you have selected is transferred into APO for the first time. Thisinitial transfer is automatically followed by the real-time link between ECC andSCM. This means, for example, that once a selected storage location stock of amaterial changes due to a goods movement posting, the new stock is transferredto APO.

The retransfer of planning results from APO to ECC can also take place inreal-time.

2005/Q2 © 2006 SAP AG. All rights reserved. 169

Page 178: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

Figure 98: Publication of Planning Results

In the APO transaction �User Settings� (transaction code /SAPAPO/C4) youcan set the format in which the new APO transaction data (planning results)is transferred to ECC. The transfer usually takes place for PP/DS in real-time(default setting for PP/DS data). There is also the possibility of collecting thechanges, then transferring them to ECC in a second step (transaction �Processchange pointer� /SAPAPO/C5).

The default setting for SNP ensures that the changes are collected and transferredperiodically.

For the real-time transfer of SNP planning results, you set the form for transferringplanning results to ECC with the Customizing operation: �Set transfer to OLTPsystem�.

Under the �Maintain Distribution Definition� operation in the basic settings inAPO Customizing, specify for each location and publication type (for example,in-house production or external procurement), which ECC System you are goingto publish your planning results in (name of the logical system). You mustmaintain this table, even if you operate only one ECC system.

170 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 179: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Transaction Data

Figure 99: Possible Scenarios (1)

The transaction data you can select in the integration model depends directly onthe planning process. There are several useful models of cooperation betweenECC and APO systems, all of which are based on different integration models.

In the example above, the entire demand and production planning takes place inAPO. As a result of the planning in APO, the system creates production orders andtransfers them to ECC as the executing system. The processing of manufacturingorders takes place in ECC. The processing progress must be known to APO forfurther planning.

Demand planning takes place in the Demand Planning component of APO. It isbased on a forecast that is carried out in APO using historical values from BW.Planned independent requirements are generated as a result of Demand Planning.

The planned independent requirements are the starting point for productionplanning in SAP APO. In addition to the requirements, existing warehouse stockmanaged in ECC should be included in the planning. This means that storagelocation stocks must be added to the integration model.

The result of production planning is planned orders in APO, that can betransferred to ECC for information (or for planning dependent requirements fornon-APO-relevant materials in the BOM). In the next step, they will be convertedinto manufacturing orders in APO (production or process orders), that will betransferred to ECC for execution.

To ensure that these materials are not planned again in ECC, you should assign anMRP type to them to exclude them from demand planning (MRP type X0).

2005/Q2 © 2006 SAP AG. All rights reserved. 171

Page 180: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

Figure 100: Possible Scenarios (2)

In this example, demand management is to take place in ECC. The plannedindependent requirements that result from this planning are transferred intoproduction planning in APO. As a result of the planning in APO, productionorders are created and transferred to ECC as the executing system.

Demand management in ECC can be carried out manually, can be based on aforecast, or can use the functions of Sales & Operations Planning (SOP). Plannedindependent requirements are created as a result and are transferred into theSCM System. Planned independent requirements must therefore be included inthe integration model.

The planned independent requirements are the starting point for productionplanning in SAP APO. Furthermore, storage location stock should be included inthe planning.

Planned independent requirements in APO are a result of the production planning,and will be transferred to ECC for information. In the next step, they will beconverted into manufacturing orders in APO (production or process orders), thatwill be transferred to ECC for execution.

172 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 181: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Transaction Data

Exercise 9: Transfer of Planned Orders

Exercise ObjectivesAfter completing this exercise, you will be able to:� Explain the result of planned orders and production order transfers between

SCM and the ECC System.

Business ExampleThe production of pump T-F2## in plant 1000 is planned in APO: The systemtransfers the result of this planning into the execution ECC System. An integrationmodel for the transaction data of pump T-F2## is already available and is active.

Task 1:View the current planning situation of the material T-F2## at plant 1000 in ECC.

1. Then call the current stock/requirements list for the material.

2. Do planned or production orders exist for the material?

____________________________________________________

Hint: Call up the current stock/requirements list of the material,so that you can view the result at the same time as the planningdata in APO.

3. How high is the current plant stock level?

____________________________________________________

Task 2:You create a planned order manually in the SCM System, for the pump T-F2## inproduction plant 1000.

1. Select the following path:

2. Call up the product view for product T-F2##:

Planning version 000Product T-F2##Location 1000

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 173

Page 182: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

Confirm current messages using Enter and enter the product view. TheElements tab page displays the current planning elements.

How many items of stock exist for location 1000?

____________________________________________________

3. Go to the change mode of the product view (where you press the iconChange). Copy the suggested propagation range (SAPALL) with Save. Nowpress the button Create order and create the following data for the order:

Planning version 000Product T-F2##Location 1000Receipt/reqmts quantity 5 piecesStart date Delete entryAvailability date a week from today

Create the order and save the plan. What is the number of the order youhave just created?

____________________________________________________

4. Update the product view. What is the number of the planned order now?

____________________________________________________

Hint: The planned order is transferred from APO to ECC andthen assigned the ECC planned order number. This number is thentransferred for the corresponding APO planned order.

This operation may take a while depending on the system load. Youmay therefore need to update the product view several times untilthe planned order is displayed with its new number.

Task 3:Now go to the current stock/requirements list of materials T-F2## in ECCand refresh the list.

1. Is a planned order displayed?

____________________________________________________

2. What is the availability date of the planned order and how high is the orderquantity?

____________________________________________________Continued on next page

174 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 183: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Transaction Data

3. Finally, note the number of the planned order:

____________________________________________________

Make sure that the number in APO is the same as the order number thatyou noted in task 2 under point 4.

Task 4:Return to the product view in APO, and then go to the change mode again. Selectyour planned order and set the conversion indicator by pressing the correspondingbutton. (This indicator means that the planned order will be converted to aproduction order.) Save the product view in APO and then update it.

Hint: The planned order with the conversion indicator is transferred fromAPO to ECC as a production order and assigned the ECC production ordernumber. This number is then transferred for the corresponding APO order.

This operation may take a while depending on the system load. You maytherefore need to update the product view several times until the orderis displayed with its new number.

1. What is the (new) number of the APO order?

Task 5:Finally, view the current stock requirements list again in ECC and refreshthe list. Make sure that your planned order has been replaced with a productionversion in ECC.

2005/Q2 © 2006 SAP AG. All rights reserved. 175

Page 184: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

Solution 9: Transfer of Planned OrdersTask 1:View the current planning situation of the material T-F2## at plant 1000 in ECC.

1. Then call the current stock/requirements list for the material.

a) Menu path: ECC Logistics→ Production→MRP→ Evaluations→Stock/Requirements List

2. Do planned or production orders exist for the material?

____________________________________________________

Hint: Call up the current stock/requirements list of the material,so that you can view the result at the same time as the planningdata in APO.

a) No, no planned orders or production orders are available.

3. How high is the current plant stock level?

____________________________________________________

a) There are currently 0 items of stock.

Task 2:You create a planned order manually in the SCM System, for the pump T-F2## inproduction plant 1000.

1. Select the following path:

a) Menu path: SCM-APO→ Production Planning→ InteractiveProduction Planning→ Product View

2. Call up the product view for product T-F2##:

Planning version 000Product T-F2##Location 1000

Confirm current messages using Enter and enter the product view. TheElements tab page displays the current planning elements.

How many items of stock exist for location 1000?

Continued on next page

176 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 185: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Transaction Data

____________________________________________________

a) The stock for location 1000 is 0 pieces

3. Go to the change mode of the product view (where you press the iconChange). Copy the suggested propagation range (SAPALL) with Save. Nowpress the button Create order and create the following data for the order:

Planning version 000Product T-F2##Location 1000Receipt/reqmts quantity 5 piecesStart date Delete entryAvailability date a week from today

Create the order and save the plan. What is the number of the order youhave just created?

____________________________________________________

a) Varies, for example, 159666

4. Update the product view. What is the number of the planned order now?

____________________________________________________

Hint: The planned order is transferred from APO to ECC andthen assigned the ECC planned order number. This number is thentransferred for the corresponding APO planned order.

This operation may take a while depending on the system load. Youmay therefore need to update the product view several times untilthe planned order is displayed with its new number.

a) Varies, for example, 35920

Task 3:Now go to the current stock/requirements list of materials T-F2## in ECCand refresh the list.

1. Is a planned order displayed?

____________________________________________________

a) Yes, a firm planned order is displayed.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 177

Page 186: SCM210+ +Core+Interface+APO

Unit 6: Transfer of Transaction Data SCM210

2. What is the availability date of the planned order and how high is the orderquantity?

____________________________________________________

a) The planned order with a quantity of 5 pieces is available a weekfrom today. (If this day is not a workday, then the next workday).

3. Finally, note the number of the planned order:

____________________________________________________

Make sure that the number in APO is the same as the order number thatyou noted in task 2 under point 4.

a) Varies, for example 35920 (as above)

Task 4:Return to the product view in APO, and then go to the change mode again. Selectyour planned order and set the conversion indicator by pressing the correspondingbutton. (This indicator means that the planned order will be converted to aproduction order.) Save the product view in APO and then update it.

Hint: The planned order with the conversion indicator is transferred fromAPO to ECC as a production order and assigned the ECC production ordernumber. This number is then transferred for the corresponding APO order.

This operation may take a while depending on the system load. You maytherefore need to update the product view several times until the orderis displayed with its new number.

1. What is the (new) number of the APO order?

a) Varies, for example 60003333

Task 5:Finally, view the current stock requirements list again in ECC and refreshthe list. Make sure that your planned order has been replaced with a productionversion in ECC.

178 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 187: SCM210+ +Core+Interface+APO

SCM210 Lesson: Integration Model Transaction Data

Lesson Summary

You should now be able to:� Define an integration model for the transfer of transaction data� Transfer transaction data

2005/Q2 © 2006 SAP AG. All rights reserved. 179

Page 188: SCM210+ +Core+Interface+APO

Unit Summary SCM210

Unit SummaryYou should now be able to:� It describes the concept of transferring transaction data between ECC and

APO.� Define an integration model for the transfer of transaction data� Transfer transaction data

180 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 189: SCM210+ +Core+Interface+APO

Unit 7Monitoring/Error Handling

Unit Overview� Monitoring of application errors using the qRFC monitor� Application Log� SCM Queue Manager� Monitoring data transfer with the CIF Cockpit� Notification About Queue Blocks Using qRFC Alert� Compare/Reconcile Functions to Ensure Data Consistency in ECC and APO.

Unit ObjectivesAfter completing this unit, you will be able to:

� Use the qRFC monitor to monitor application errors� Use the application log to perform an error analysis� Use the SCM Queue Manager as a central tool for handling errors� Use CIF Cockpit� Monitoring data transfer with the CIF Cockpit� Describe the compare/reconcile function used to ensure data consistency in

ECC and APO.

Unit ContentsLesson: Monitoring .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182

Exercise 10: Error Handling Part 1.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191Lesson: CIF Cockpit, qRFC Alert and Comparisons ... . . . . . . . . . . . . . . . . . . . .198

Exercise 11: Optional Exercise: Error Handling Part 2 .. . . . . . . . . . . . . . .201

2005/Q2 © 2006 SAP AG. All rights reserved. 181

Page 190: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Lesson: Monitoring

Lesson OverviewTransfer problems will be analyzed in this lesson.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Use the qRFC monitor to monitor application errors� Use the application log to perform an error analysis� Use the SCM Queue Manager as a central tool for handling errors� Use CIF Cockpit

Business ExampleThe data exchange between the ECC and the SCM system takes place throughthe CIF. If problems appeared during the transfer, they can be analyzed with thediverse monitoring functions of the ECC and APO.

Figure 101: Integration Monitoring

The APO Core Interface offers two basic monitoring functions to monitor the datatransfer from ECC to APO as well as from APO to ECC: the qRFC monitor todisplay incorrect queue entries and the application log.

182 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 191: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

In addition, the qRFC alert monitor is used to monitor the queues in APO andECC that are relevant to APO-ECC integration. If queue blocks are detected, anautomatic message can be sent to a predefined address.

Instead of evaluating the analyses in both systems (ECC and APO) separatelywhen errors occur, the user can use the central SCM Queue Manager available inAPO to monitor the queues and application logs in both systems.

Whereas the transactions qRFC monitor and qRFC alert are to be carried outseparately for outbound and inbound queues, both queue types can be monitoredat the same time in the SCM Queue Manager.

You can use the CIF Cockpit via APO Core interface to monitor data transferbetween your APO system and all connected ECC systems centrally.

Figure 102: Necessity of a qRFC Monitor

Communication between ECC and APO is based on the asynchronous transfertechnology of the �queued Remote Function Call� (qRFC). A Remote FunctionCall (RFC) is when a function module in a different system is called. Thistechnology is used in the integration between APO and ECC both for the initialdata supply and transfer of data changes (from ECC to APO) as well as for thepublication of planning results (from APO to ECC).

The data is first buffered by the sending system and then transferred to the targetsystem (outbound queues, inbound queues are also possible). The big advantageof this is that the application that triggered the data transfer does not have to waituntil the update has been completed in the target system. However, this meansthat return parameters cannot be passed on and potential error messages cannotbe directly returned to the application.

2005/Q2 © 2006 SAP AG. All rights reserved. 183

Page 192: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Two types of errors are distinguished for the processing of qRFC calls:

1. Communication errors: This includes network problems, a non-existingRFC destination, and so on. Since the data transfer is repeated after certainperiods, most of these communication errors should disappear once thenetwork connection is available again.

2. Application error: This includes program errors, non-posting of data in thetarget system, missing master data at a transaction date etc. Applicationerrors cannot be solved by the system independently and must be processedby the system administrator.

The central instance for monitoring application errors is the SCM Queue Manageror CIF Cockpit, a central tool containing information about the ECC and SCMqRFC monitors. The qRFC monitors are available in ECC and APO for outboundor inbound queues. All transfer fields (queues) are displayed for the target system,they can be activated or deleted.

Figure 103: Queue Channels for Data Transfer: Examples

In the example above, the PPM could not be transferred for material C becausethe material itself was not transferred. The queue for the next initial transfers ofmaster data is therefore blocked. However, online transfers for transaction datacan still be carried out, provided that an active integration model exists for themaster or transaction data in question.

There are various queue channels available in the interface: Initial data transferCFFL[log. ECC System], stocks CFSTK*, purchase orders and purchaserequisitions CFPO*, planned orders/production orders CFPLO*, sales orders

184 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 193: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

CFSLS*, manual reservations CFRSV*, confirmations CFCNF*, plannedindependent requirements CFPIR*, production campaigns CFPCM*, transportsCFSHP* etc. (* stands for the number of the purchase order, sales order etc.).

If only temporary communication errors occur in the network connection, thefailed transfers (entry in the qRFC monitor) can be started again (by choosing�Activate queue� in the qRFC monitor). If you only want to re-start an object type(for example, locations) within a queue, you can choose the �Execute LUW�function to repeat the transfer of locations.

If there are communication errors and you want to execute the new activationof the queue automatically, you can make a setting in the RFC destination(transaction SM59) so that the system attempts in defined time intervals to transferthe data (in the RFC destination under �TRFC Options�; default setting - 30attempts every 15 minutes).

Figure 104: Using the qRFC Monitor (1)

In the initial data transfer, transfer fields are recognized and displayed at the timeof the integration model activation. �Repeat� and �Ignore� functions are availablein the dialog box. If you choose �Repeat�, the system attempts to restart the initialdata transfer (for example, if there was an only temporary problem in systemcommunication). The �Ignore� button can be used if the activation has failed dueto an existing transaction data queue. As failed transaction data transfers do notnecessarily affect a master data transfer, the initial transfer can ignore this entry.This function cannot be used for previous failed initial data transfers. In this case,the problem must be analyzed with the qRFC monitor.

2005/Q2 © 2006 SAP AG. All rights reserved. 185

Page 194: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

For online transfers (for example, stock postings in ECC), transfer fields are notdisplayed at the runtime in the dialog (asynchronous transfer technology). Thismeans that you do not have to check in the qRFC monitor during non-transfers ofdata between APO and ECC whether entries marked in red are displayed. Thischeck can be carried out automatically by qRFC alert.

There is a qRFC monitor in both ECC and APO. In the qRFC monitor, bydouble-clicking on the affected lines, all function calls for the selected transferqueue are displayed. The top function module blocks all following entries in thecase of an error. You can display the current status text from the error short text. Amore detailed error message is stored in the application log of the target system.In the example above, the user was either blocked from the RFC destination inAPO or does not exist.

Figure 105: Using the qRFC Monitor (2)

In the example above, a planned order was created in APO for a finished product.However, at the time the sales order was created these were not included in anyactive integration model in ECC and therfore could not be transferred to ECC.

186 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 195: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

Figure 106: Application Log

You can use the application log to trace when (time), and what (data objects andintegration model) was transferred by whom (user). In addition, the applicationlog provides a detailed error message if an application error occurred. Theprerequisite is that logging is enabled.

The setting of the logging mode takes place in ECC or in APO (transaction CFC2in ECC and /SAPAPO/C4 in APO). Using the ECC transaction CFC6 you can setthe interface parameters for display in the application log.

The detailed logging can quickly lead to large data quantities and thereforeperformance problems in the production operation. For this reason, we recommendusing detailed logging only when the detailed data is actually needed, for example,in the implementation phase.

The system does not delete the logs automatically. To prevent extreme databaseload, we recommend deleting the logs periodically (also possible in backgroundprocessing). If you do not make an entry in the date and time fields, all logs olderthan two weeks are deleted.

Protocols can be selected according to various criteria in the ECC and APOapplication log. For example, you can select different subobjects for the CIFobject. These include, for example, �EP External procurement�, �IP In-houseproduction�, or �INITIAL Initial supply� and �LOCATION Location: customer,plant, vendor� (the entries for an initial supply and an transfer of data changes aregrouped under the subobject INITIAL).

2005/Q2 © 2006 SAP AG. All rights reserved. 187

Page 196: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Figure 107: SCM Queue Manager (1)

Instead of evaluating the monitors in both systems (ECC and APO) separatelywhen errors occur, the user can use the central SCM Queue Manager available inAPO to monitor the queues and application logs in both systems centrally.

With the SCM Queue Manager, you can monitor both outbound and inboundqueues. To monitor the inbound queues, set the corresponding switch when youenter the transaction.

188 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 197: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

Figure 108: SCM Queue Manager (2)

In the SCM Queue Manager, transfer fields are indicated by red thunderbolts,whereas correct transfer channels have a green checkmark. In this way, you canimmediately recognize whether incorrect transfers exist.

Any errors can be analyzed directly in the SCM Queue Manager and solved.

2005/Q2 © 2006 SAP AG. All rights reserved. 189

Page 198: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

190 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 199: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

Exercise 10: Error Handling Part 1

Exercise ObjectivesAfter completing this exercise, you will be able to:� Analyze transfer errors with the SCM Queue Manager.

Business ExampleFor transferring transaction data between ECC and APO, you need activeintegration models for the underlying master and transaction data. You trigger atransfer error and then use the SCM Queue Manager to analyze it.

Task 1:First create an integration model to transfer transaction data for material T-F1##:

1. Generate an integration model with the following settings:

Model name

PUMP##

Targetsystem Logical SCM system name that you noted previously

Application

TD T-F1##

Select the material dependent objects storage location stocks, sales orders,planned independent requirements, planned orders, production ordersyou want to include in the integration model. In the general selection optionsfor materials, enter material T-F1## in plant 1000.

Save your settings as variant TD T-F1##.

Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the required object was selected bythe integration model and then save your integration model.

2. Activate the integration model as follows: On the initial screen of the�Activate Integration Model� transaction, enter the model name and theapplication. Now choose the option to process the selection in ECC in

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 191

Page 200: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

parallel and enter 20 as the �absolute maximum number of processes�. Toexecute the function, choose Execute to go to the next screen, choose thegreen checkmark for your model and choose Execute. Acknowledge anymessages and make sure that the transaction was successful.

Task 2:In ECC, create planned independent demand for pump T-F1## in plant 1000 withversion 00 as follows:

1. Using week as the planning period, create a planned independentrequirement of 10 pieces each for current week +3 and the current week+4.

2. The planned independent requirements you created are transferred toAPO because of the integration model. In the APO product view, find therequirements created in ECC.

3. Carry out planning in the product view in APO. In product view, go tochange mode, start planning in form of a product heuristic and thenclick Plan. APO planned orders are created for the requirements. Savethe planning result.

4. The planned orders can be transferred to ECC. Look at the ECCstock/requirements list for created planned orders.

Task 3:Now activate an error when transferring the transaction data.

1. For pump T-F1##, you have created multiple integration models for thetransfer of master data. Use the filter object search to determine whichintegration model is used for the material master for pump T-F1##.

2. Now trigger an error by deactivating the integration model determined.Use the "Activate Integration Model" transaction and permit 20 parallelprocesses.

3. Set the conversion indicator in the APO product view for the first plannedorder (you convert this in a production order). Save the product view. Nowlook at the current ECC stock/requirements list. You will not see anychanges, the conversion of the planned order was not transferred to ECC.

Continued on next page

192 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 201: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

Task 4:There was no change in the ECC stock/requirements situation, but an order wasalready converted. There is obviously a failed transaction data transfer. Analyzethis situation using the SCM Queue Manager in APO.

1. In the SCM Queue Manager, expand the APOCLNT80X menu in theexplorer.

2. There are probably already other queues (created by the other groups) inaddition to your in-house production queue. First find the queue you createdusing the material number and your user. Double-click on the thunderboltin your error message to see details on the error.

3. To eliminate the error, activate the integration model for material masterT-F1## (model name PUMP##, application MAT T-F1##) and permit 20parallel processes for the selection in ECC.

4. In APO, carry out the new transfer of the conversion of the planned order, byactivating the queue in the SCM Queue Manager.

5. Find the results in ECC again. The planned order should be converted to aproduction order.

2005/Q2 © 2006 SAP AG. All rights reserved. 193

Page 202: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Solution 10: Error Handling Part 1Task 1:First create an integration model to transfer transaction data for material T-F1##:

1. Generate an integration model with the following settings:

Model name

PUMP##

Targetsystem Logical SCM system name that you noted previously

Application

TD T-F1##

Select the material dependent objects storage location stocks, sales orders,planned independent requirements, planned orders, production ordersyou want to include in the integration model. In the general selection optionsfor materials, enter material T-F1## in plant 1000.

Save your settings as variant TD T-F1##.

Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the required object was selected bythe integration model and then save your integration model.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Create

2. Activate the integration model as follows: On the initial screen of the�Activate Integration Model� transaction, enter the model name and theapplication. Now choose the option to process the selection in ECC inparallel and enter 20 as the �absolute maximum number of processes�. Toexecute the function, choose Execute to go to the next screen, choose thegreen checkmark for your model and choose Execute. Acknowledge anymessages and make sure that the transaction was successful.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

Continued on next page

194 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 203: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

Task 2:In ECC, create planned independent demand for pump T-F1## in plant 1000 withversion 00 as follows:

1. Using week as the planning period, create a planned independentrequirement of 10 pieces each for current week +3 and the current week+4.

a) Menu path: ECC Logistics→ Production→ Production Planning→Demand Management´→ Planned Independent Requirements→ Create

2. The planned independent requirements you created are transferred toAPO because of the integration model. In the APO product view, find therequirements created in ECC.

a) Menu path: SCM-APO→ Production Planning→ InteractiveProduction Planning→ Product View

3. Carry out planning in the product view in APO. In product view, go tochange mode, start planning in form of a product heuristic and thenclick Plan. APO planned orders are created for the requirements. Savethe planning result.

a) See task

4. The planned orders can be transferred to ECC. Look at the ECCstock/requirements list for created planned orders.

a)

Task 3:Now activate an error when transferring the transaction data.

1. For pump T-F1##, you have created multiple integration models for thetransfer of master data. Use the filter object search to determine whichintegration model is used for the material master for pump T-F1##.

a) Menu path: Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer → Integration Model→ Filter Object Search Twointegration models with model name PUMP## were found. One modelfor MAT T-F1## and one model for PDS T-F1##.

2. Now trigger an error by deactivating the integration model determined.Use the "Activate Integration Model" transaction and permit 20 parallelprocesses.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 195

Page 204: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

3. Set the conversion indicator in the APO product view for the first plannedorder (you convert this in a production order). Save the product view. Nowlook at the current ECC stock/requirements list. You will not see anychanges, the conversion of the planned order was not transferred to ECC.

a) APO menu path: Production Planning→ Interactive ProductionPlanning→ Product View

Task 4:There was no change in the ECC stock/requirements situation, but an order wasalready converted. There is obviously a failed transaction data transfer. Analyzethis situation using the SCM Queue Manager in APO.

1. In the SCM Queue Manager, expand the APOCLNT80X menu in theexplorer.

a) Menu path: SCM APO→ APO Administration→ Integration→Monitor→ SCM Queue Manager

2. There are probably already other queues (created by the other groups) inaddition to your in-house production queue. First find the queue you createdusing the material number and your user. Double-click on the thunderboltin your error message to see details on the error.

a) See task

3. To eliminate the error, activate the integration model for material masterT-F1## (model name PUMP##, application MAT T-F1##) and permit 20parallel processes for the selection in ECC.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

4. In APO, carry out the new transfer of the conversion of the planned order, byactivating the queue in the SCM Queue Manager.

a) See task

5. Find the results in ECC again. The planned order should be converted to aproduction order.

a) See task

196 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 205: SCM210+ +Core+Interface+APO

SCM210 Lesson: Monitoring

Lesson Summary

You should now be able to:� Use the qRFC monitor to monitor application errors� Use the application log to perform an error analysis� Use the SCM Queue Manager as a central tool for handling errors� Use CIF Cockpit

2005/Q2 © 2006 SAP AG. All rights reserved. 197

Page 206: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Lesson: CIF Cockpit, qRFC Alert and Comparisons

Lesson OverviewThis lesson introduces error handling using the CIF Cockpit in SCM4.1 and later.You may need to trigger automatic alerting due to errors. You can use the CIFcompare/reconcile functions to eliminate data inconsistencies.

Lesson ObjectivesAfter completing this lesson, you will be able to:

� Monitoring data transfer with the CIF Cockpit� Describe the compare/reconcile function used to ensure data consistency in

ECC and APO.

Business ExampleTransfer errors have occurred. Use the CIF Cockpit to analyze the errors.

Figure 109: CIF Cockpit

In SAP SCM 4.1 and SAP R/3 Plug-In 2004.1 and later, SAP APO features theCIF Cockpit, which enables you to monitor data transfer between your SAPAPO system and all connected SAP ECC systems centrally using the APO CoreInterface (CIF).

The system selects basic data for all connected systems and clients and displays thesystems and system combinations with the corresponding information categoriesin the navigation tree. Double-click a node in the navigation tree to display thecorresponding information in the right screen area.

198 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 207: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Figure 110: qRFC Alert for Automatic Notification

The qRFC alert monitors all APO queues and the queues of the connected logicalECC systems. If there are queue errors or blocks, a message is generated fromthe status information and can be sent via SAP Office. All incorrect outboundqueues are issued as a list.

The following can be notified automatically:

� The initiator of the block through SAP Office Inbox Mail (the initiator ofevery queue block receives a message informing him or her that he or shehas caused a block)

� The administrator, through an SAP Office Inbox or by Internet mail (oneperson is chosen to receive all messages). If you want to send the messages toan e-mail address, you must have made the necessary settings in SAPconnect.

With the settings for �Local Queues�, you can determine whether a notification isto take place if no queue appears in the SCM System. In the �Remote Queues�group, define the settings for monitoring the queues of connected ECC systems.

2005/Q2 © 2006 SAP AG. All rights reserved. 199

Page 208: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Figure 111: CIF Compare/Reconcile Function

Data inconsistencies between APO and ECC can arise in certain circumstances,for example, if queue entries are deleted manually. The compare/reconcilefunction helps you to identify and correct such data inconsistencies. For example,the function covers the following objects: Stock, sales orders, planned orders,production/process orders, purchase orders and transports.

When you use the compare/reconcile function, the system performs a comparisonand lists any inconsistent objects it identifies. Then you can select individual,several, or all objects for the reconcile function. The selected data is then sentagain from ECC to APO or APO to ECC.

The transaction is called in APO. In the �Partner System� field, specify the ECCsystem you want to use for the reconcile function. In addition, you can restrict thecompare/reconcile function to certain products, locations, integration models, ordata objects and therefore influence the runtime of the transaction.

After executing the compare function, the results are displayed in an overview.Any existing errors are also shown. You can eliminate the error (reconcilefunction) directly from the display of the results.

200 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 209: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Exercise 11: Optional Exercise: ErrorHandling Part 2

Exercise ObjectivesAfter completing this exercise, you will be able to:� Analyze the transfer error using the CIF Cockpit and after you have removed

the error activate the blocked queue.

Business ExampleFor transferring the configurable material between ECC and APO, you need activeintegration models for the underlying master and transaction data. You trigger atransfer error and then use the CIF Cockpit to analyze it.

Task 1:In ECC, create a material master with material type FERT for machine engineeringwith views basic data 1+2, sales and distribution 1-4 for material T-PDS##. Usematerial T-PDS210 as a template for creating the material master.

1. Select the following values for organizational level data:

Organizational level Value of newmaterial

Value of referencematerial

Plant 1000 1000Sales organization 1000 1000Distribution channel 10 10

Add your group number 0## to the material master name. Acknowledge allmessages and click Save to close material master maintenance.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 201

Page 210: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Task 2:Create a routing and a bill of material for material T-PDS##. Use ECC transactionCEWB with the work area P_ALLES. Enter material T-PDS210 as a templateand plant 1000 for the selection criteria. To get an overview of the routing header,click Load Plans and BOMs. Select the row on the General Routing Headertab and click Copy (fourth icon from the left). Confirm the today's date as thekey date. On screen EWB: Copy Target Data enter material number T-PDS##,plant 1000 and task list type N. You must clear the group number and set theCopy hierarchically indicator. On the screen choose Copy. Save the copy resultand exit the transaction.

1. On the screen choose Copy. Save the copy result and exit the transaction.

Task 3:Add a production version to the ECC material master for pump T-PDS## inplant 1000 as follows:

1. The subsequent transfer of the task list and bill of material into the SCMSystem assumes that a valid production version exists in ECC. Therefore,you need to create a production version for material T-PDS##. In MRP 4view of the material master, click the production version button. In theoverview screen, enter a new production version 0001 with the name Normalproduction, which should be valid from today until the end of next year.Using the Details button, go to the detail screen and enter the following data:

Lot size from 1 (PC) to 999,999 (PC)

Routing: in the detailed scheduling row, specify the routing that you searchfor (and find) using the F4 Help from the planning group field using material(T-PDS##).

Bill of material: Enter the alternative BOM 1 from BOM usage 1.

You exit the production version maintenance by pressing the button Continuetwice, then save the material master.

Task 4:Create a configuration profile for material T-PDS##.

1. Use transaction CU41 and material T-PDS210 as a template.

Task 5:Create an integration model to transfer data for material T-PDS##:

1. Generate an integration model with the following settings:

Continued on next page

202 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 211: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Model name: PDS##Target system: Logical SCM system name that you noted previouslyApplication: MD T-PDS##

Select the material-dependent objects material masters, plants, PDS andsales orders you want to include in the integration model. Under the generalselection options for materials, enter material T-PDS## in plant 1000.

Save your settings as variants with variant namesMD## and definitionsT-PDS##.

Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the required object was selected bythe integration model and then save your integration model.

2. Activate the integration model as follows: On the initial screen forthe �activate integration model� transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmarkin the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

Task 6:Check the results for PDS in SCM. Check the material components and theprocedures.

1. Check the material components and the procedures.

Task 7:In the ECC system create a sales requirement, for pump T-PDS## in plant 1000and plan them in the SCM system.

1. In the ECC system, use transactionMD81 to create a sales requirement forpump T-PDS## in plant 1000 as follows:

Desired delivery date In 2 weeksReqmts type KEKDelivering plant 1000

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 203

Page 212: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Item Material Order quantity10 T-PDS## 3

Choose Enter and choose white as the pump color characteristic. Save thesales order.

2. The planned independent requirements you created are transferred to APObased on the integration model. Look in the product view in APO at theplanned independent demand created in ECC.

3. Carry out planning in the product view in APO. In product view, go tochange mode, start planning in form of a product heuristic and then clickPlan. APO planned orders are created for the requirements. Save theplanning result.

4. Exit the product view and go to the planned order of your pump T-PDS##.Search for the components and the operation with the sales order for theselected colors.

5. Compare the planning results from the SCM system with thestock/requirements list from the ECC system. Was the planned ordercorrectly transferred?

Task 8:An error was generated when the the planned order was transferred to the ECCsystem. Analyze it using the CIF Cockpit.

1. In the CIF Cockpit go to Monitoring, and see the information for the dataflow from SCM to ECC for the post-processing records. Which informationis displayed?

____________________________________________________

2. In CIF Cockpit Monitoring, view the system combination independentinformation for the ECC system (T90) in the application log. Also payattention to the system messages and double-click the messages until youcome to the error handling procedures.

Task 9:To correct the error create and activate an integration model for transferringplanned and production orders for material T-PDS##.

1. Generate an integration model with the following settings:

Continued on next page

204 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 213: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Model name: AUF##Target system: Logical SCM system name that you noted

previouslyApplication: TD T-PDS##

Select the material-dependent objects planned orders and productionorders you want to include in the integration model. In the general selectionoptions for materials, enter material T-PDS## in plant 1000.

Save your settings as variants with variant names TD## and definitionsT-PDS##.

Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the required object was selected bythe integration model and then save your integration model.

2. Activate the integration model as follows: On the initial screen forthe �activate integration model� transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmarkin the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

Task 10:To start the transfer from CIF Cockpit Monitoring with post-processing records, inthe SCM to ECC data flow, double-click the queue with errors.

1. On the following screen, click Send to R/3 to activate the queue.

Task 11:Display the transfer results in the stock/requirements situation of the ECC system.Was the planned order transferred?

1. Was the planned order transferred?

____________________________________________________

Task 12:Convert the planned order in the SCM system to a production order.

1. Go back to the product view in change mode, set the conversion indicatorand save your changes.

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 205

Page 214: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Task 13:Search the stock/requirements situation of the ECC system for a productionorder. If the production order has not been created, use the CIF Cockpit in SCMto locate the error.

1. Search the stock/requirements situation of the ECC system for a productionorder.

2. Search for the cause of the error in the SCM CIF Cockpit in Monitoringand in the non-system-combination information for the ECC system in theapplication log. After double-clicking the error messages multiple timesyou receive a message from the performance assistant that the materialmaster in the ECC system does not contain a view for work scheduling. Onthe Performance Assistant screen, choose Execute. This takes you to thetransaction for creating material masters. Choose and update the followingdata:

Material T-PDS##Industry Machine engineeringMaterial type Finished product

Update the work scheduling view for plant 1000 and in the ProductionScheduler field, enter your group 0##.

Task 14:1. In CIF Cockpit Monitoring, look at the post-processing records in the data

flow from SCM to ECC, and transfer the production order to the ECCSystem. Double-clicking a line of data displays a button for sending to R/3.

Task 15:

1. Now view the production order in the stock/requirements list and check theoperation and the components for the color in white.

206 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 215: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Solution 11: Optional Exercise: ErrorHandling Part 2Task 1:In ECC, create a material master with material type FERT for machine engineeringwith views basic data 1+2, sales and distribution 1-4 for material T-PDS##. Usematerial T-PDS210 as a template for creating the material master.

1. Select the following values for organizational level data:

Organizational level Value of newmaterial

Value of referencematerial

Plant 1000 1000Sales organization 1000 1000Distribution channel 10 10

Add your group number 0## to the material master name. Acknowledge allmessages and click Save to close material master maintenance.

a) Menu path: ECC-Logistics→ Production→Master Data→MaterialMaster→Material→ Create (Special)→ Finished Product

Task 2:Create a routing and a bill of material for material T-PDS##. Use ECC transactionCEWB with the work area P_ALLES. Enter material T-PDS210 as a templateand plant 1000 for the selection criteria. To get an overview of the routing header,click Load Plans and BOMs. Select the row on the General Routing Headertab and click Copy (fourth icon from the left). Confirm the today's date as thekey date. On screen EWB: Copy Target Data enter material number T-PDS##,plant 1000 and task list type N. You must clear the group number and set theCopy hierarchically indicator. On the screen choose Copy. Save the copy resultand exit the transaction.

1. On the screen choose Copy. Save the copy result and exit the transaction.

a) Menu path: ECC-Logistics→ Production→ Master Data→Engineering Workbench

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 207

Page 216: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Task 3:Add a production version to the ECC material master for pump T-PDS## inplant 1000 as follows:

1. The subsequent transfer of the task list and bill of material into the SCMSystem assumes that a valid production version exists in ECC. Therefore,you need to create a production version for material T-PDS##. In MRP 4view of the material master, click the production version button. In theoverview screen, enter a new production version 0001 with the name Normalproduction, which should be valid from today until the end of next year.Using the Details button, go to the detail screen and enter the following data:

Lot size from 1 (PC) to 999,999 (PC)

Routing: in the detailed scheduling row, specify the routing that you searchfor (and find) using the F4 Help from the planning group field using material(T-PDS##).

Bill of material: Enter the alternative BOM 1 from BOM usage 1.

You exit the production version maintenance by pressing the button Continuetwice, then save the material master.

a) Menu path: ECC-Logistics→ Production→Master Data→MaterialMaster→ Material→ Change→ Immediately

Task 4:Create a configuration profile for material T-PDS##.

1. Use transaction CU41 and material T-PDS210 as a template.

a) Menu path: ECC Logistics → Central Functions → VariantConfiguration→ Configuration Profile→ Create

Click Copy Template.

Task 5:Create an integration model to transfer data for material T-PDS##:

1. Generate an integration model with the following settings:

Model name: PDS##Target system: Logical SCM system name that you noted previouslyApplication: MD T-PDS##

Continued on next page

208 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 217: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Select the material-dependent objects material masters, plants, PDS andsales orders you want to include in the integration model. Under the generalselection options for materials, enter material T-PDS## in plant 1000.

Save your settings as variants with variant namesMD## and definitionsT-PDS##.

Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the required object was selected bythe integration model and then save your integration model.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Create

2. Activate the integration model as follows: On the initial screen forthe �activate integration model� transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmarkin the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

Task 6:Check the results for PDS in SCM. Check the material components and theprocedures.

1. Check the material components and the procedures.

a) Menu path: SCM APO→Master Data→ Production Data Structure→ Display Production Data Structure

Task 7:In the ECC system create a sales requirement, for pump T-PDS## in plant 1000and plan them in the SCM system.

1. In the ECC system, use transactionMD81 to create a sales requirement forpump T-PDS## in plant 1000 as follows:

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 209

Page 218: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Desired delivery date In 2 weeksReqmts type KEKDelivering plant 1000

Item Material Order quantity10 T-PDS## 3

Choose Enter and choose white as the pump color characteristic. Save thesales order.

a) Menu path: ECC Logistics→ Production→ Production Planning→Demand Management→ Customer Requirements→ Create

2. The planned independent requirements you created are transferred to APObased on the integration model. Look in the product view in APO at theplanned independent demand created in ECC.

a) Menu path: SCM-APO→ Production Planning→ InteractiveProduction Planning→ Product View

3. Carry out planning in the product view in APO. In product view, go tochange mode, start planning in form of a product heuristic and then clickPlan. APO planned orders are created for the requirements. Save theplanning result.

a) See task

4. Exit the product view and go to the planned order of your pump T-PDS##.Search for the components and the operation with the sales order for theselected colors.

a) See task

5. Compare the planning results from the SCM system with thestock/requirements list from the ECC system. Was the planned ordercorrectly transferred?

a) Menu path: ECC Logistics→ Production→MRP→ Evaluations→Stock/Requirements List

The planned order was not transferred.

Continued on next page

210 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 219: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Task 8:An error was generated when the the planned order was transferred to the ECCsystem. Analyze it using the CIF Cockpit.

1. In the CIF Cockpit go to Monitoring, and see the information for the dataflow from SCM to ECC for the post-processing records. Which informationis displayed?

____________________________________________________

a) Menu path: SCM APO→ APO Administration→ Integration→Monitor→ CIF Cockpit

Information: There is no active integration model for type plan.

2. In CIF Cockpit Monitoring, view the system combination independentinformation for the ECC system (T90) in the application log. Also payattention to the system messages and double-click the messages until youcome to the error handling procedures.

a) See task

Task 9:To correct the error create and activate an integration model for transferringplanned and production orders for material T-PDS##.

1. Generate an integration model with the following settings:

Model name: AUF##Target system: Logical SCM system name that you noted

previouslyApplication: TD T-PDS##

Select the material-dependent objects planned orders and productionorders you want to include in the integration model. In the general selectionoptions for materials, enter material T-PDS## in plant 1000.

Save your settings as variants with variant names TD## and definitionsT-PDS##.

Execute the integration model by pressing the execute icon. On thefollowing results screen, make sure that the required object was selected bythe integration model and then save your integration model.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Create

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 211

Page 220: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

2. Activate the integration model as follows: On the initial screen forthe �activate integration model� transaction, enter the model name andapplication. In addition, choose the option to process the selection in theERP System in parallel and enter 20 as the absolute maximum number ofprocesses. Now execute the function by going to the next screen (Execute)Select your integration model in the explorer and set a green checkmarkin the Status new field by double-clicking. Choose Start to execute theactivation. Acknowledge any messages and make sure that the transactionwas successful.

a) Menu path: ECC Logistics→ Central Functions→ Supply ChainPlanning Interface→ Core Interface Advanced Planner andOptimizer→ Integration Model→ Activate

Task 10:To start the transfer from CIF Cockpit Monitoring with post-processing records, inthe SCM to ECC data flow, double-click the queue with errors.

1. On the following screen, click Send to R/3 to activate the queue.

a) Menu path: SCM APO→ APO Administration→ Integration→Monitor→ CIF Cockpit

Task 11:Display the transfer results in the stock/requirements situation of the ECC system.Was the planned order transferred?

1. Was the planned order transferred?

____________________________________________________

a) Menu path: ECC Logistics→ Production→MRP→ Evaluations→Stock/Requirements List

The planned order was now transferred.

Task 12:Convert the planned order in the SCM system to a production order.

1. Go back to the product view in change mode, set the conversion indicatorand save your changes.

a) Menu path: SCM-APO→ Production Planning→ InteractiveProduction Planning→ Product View

Continued on next page

212 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 221: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Task 13:Search the stock/requirements situation of the ECC system for a productionorder. If the production order has not been created, use the CIF Cockpit in SCMto locate the error.

1. Search the stock/requirements situation of the ECC system for a productionorder.

a) Menu path: ECC Logistics→ Production→MRP→ Evaluations→Stock/Requirements List

The production order was not created.

2. Search for the cause of the error in the SCM CIF Cockpit in Monitoringand in the non-system-combination information for the ECC system in theapplication log. After double-clicking the error messages multiple timesyou receive a message from the performance assistant that the materialmaster in the ECC system does not contain a view for work scheduling. Onthe Performance Assistant screen, choose Execute. This takes you to thetransaction for creating material masters. Choose and update the followingdata:

Material T-PDS##Industry Machine engineeringMaterial type Finished product

Update the work scheduling view for plant 1000 and in the ProductionScheduler field, enter your group 0##.

a) Menu path: SCM APO→ APO Administration→ Integration→Monitor→ CIF Cockpit

Task 14:1. In CIF Cockpit Monitoring, look at the post-processing records in the data

flow from SCM to ECC, and transfer the production order to the ECCSystem. Double-clicking a line of data displays a button for sending to R/3.

a) See task

Continued on next page

2005/Q2 © 2006 SAP AG. All rights reserved. 213

Page 222: SCM210+ +Core+Interface+APO

Unit 7: Monitoring/Error Handling SCM210

Task 15:

1. Now view the production order in the stock/requirements list and check theoperation and the components for the color in white.

a) Menu path: ECC Logistics→ Production→MRP→ Evaluations→Stock/Requirements List

Double-click the order and choose the pushbutton with the glasses todisplay the order.

You can check the operations by pressing the operation overviewpushbutton (F5) and check components using the component overviewpushbutton (F6).

214 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 223: SCM210+ +Core+Interface+APO

SCM210 Lesson: CIF Cockpit, qRFC Alert and Comparisons

Lesson Summary

You should now be able to:� Monitoring data transfer with the CIF Cockpit� Describe the compare/reconcile function used to ensure data consistency in

ECC and APO.

2005/Q2 © 2006 SAP AG. All rights reserved. 215

Page 224: SCM210+ +Core+Interface+APO

Unit Summary SCM210

Unit SummaryYou should now be able to:� Use the qRFC monitor to monitor application errors� Use the application log to perform an error analysis� Use the SCM Queue Manager as a central tool for handling errors� Use CIF Cockpit� Monitoring data transfer with the CIF Cockpit� Describe the compare/reconcile function used to ensure data consistency in

ECC and APO.

216 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 225: SCM210+ +Core+Interface+APO

SCM210 Course Summary

Course SummaryYou should now be able to:

� Describe the architecture of integration of ERP systems with SAP SCM(APO).

� Select and transfer master and transaction data� Specify to which positions in the APO system it may be necessary to add to

master data transferred from ECC� Describe monitoring and the compare/reconcile function to ensure data

consistency.

2005/Q2 © 2006 SAP AG. All rights reserved. 217

Page 226: SCM210+ +Core+Interface+APO

Course Summary SCM210

218 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 227: SCM210+ +Core+Interface+APO

Appendix 1Business System Group

This appendix has additional information for the business system group

Figure 112: Concrete Example

2005/Q2 © 2006 SAP AG. All rights reserved. 219

Page 228: SCM210+ +Core+Interface+APO

Appendix 1: Business System Group SCM210

Figure 113: Solution to the Problem Using BSGs (1)

Solution to the Problem Using BSGs (2)

� For each ECC System, define a separate business system group.� Assign the (logical) ECC systems to their business system groups.� Activate the customer exit EXIT_/SAPAPO/SAPLCIF_PROD_001

(APOCF005) for the initial transfer of material masters.

Example for the programming of customer exits:

*----------------------------------------------------------------------*

* INCLUDE ZXCIFUSERU08 *

*----------------------------------------------------------------------*

loop at it_matkey.

* set external material number

et_matmap-ext_matnr = it_matkey-ext_matnr.

* set APO-internal material number per default

et_matmap-matnr = it_matkey-ext_matnr.

* start of customer specific material mapping

if cf_dst_bsg = ’BSG_1’ and

et_matmap-matnr(1) = ‘7’.

et_matmap-matnr(1) = ‘6’.

endif.

* end of customer specific material mapping

collect et_matmap.

endloop.

* set control flags

if not et_matmap[] is initial.

* tell system to use customer specific material mapping

ef_map_use = ’X’.

220 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 229: SCM210+ +Core+Interface+APO

SCM210 Appendix 1: Business System Group

* tell system to allow duplicate product numbers for different BSGs

ef_dup_check = ’A’.

endif.

Solution to the Problem Using BSGs (3)

� APO 3.0 or higher with Support Package 4� The parameter EF_DUP_CHECK in the customer exit

EXIT_/SAPAPO/SAPLCIF_PROD_001 (APOCF005) must beset to �A�, so that multiple entries are allowed (for the internal materialnumber).

2005/Q2 © 2006 SAP AG. All rights reserved. 221

Page 230: SCM210+ +Core+Interface+APO

Appendix 1: Business System Group SCM210

222 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 231: SCM210+ +Core+Interface+APO

Appendix 2Master Recipe

This appendix has additional information for the ECC master recipe.

Master recipe (PP-PI)

� Mapping an ECC master recipe (PP-PI) onto an APO production processmodel

Master Recipe and PPM: Basics

� Operations and phases (and also secondary resources) of the ECC recipe aretransferred as operations with different operation types to APO-PPM.

� Relationships between ECC phases are transferred as activity relationshipsbetween APO activities.

� For more detailed information on the integration of PPMs in the areas ofPI and PM/SM, see the SAP Online Documentation in the �Supply ChainManagement (SCM) Business Scenarios� unit, in the section �master data→ production process model�..

2005/Q2 © 2006 SAP AG. All rights reserved. 223

Page 232: SCM210+ +Core+Interface+APO

Appendix 2: Master Recipe SCM210

Figure 114: Master Recipe and PPM

Figure 115: Relationships/Activity Relationships

224 © 2006 SAP AG. All rights reserved. 2005/Q2

Page 233: SCM210+ +Core+Interface+APO

FeedbackSAP AG has made every effort in the preparation of this course to ensure theaccuracy and completeness of the materials. If you have any corrections orsuggestions for improvement, please record them in the appropriate place in thecourse evaluation.

2005/Q2 © 2006 SAP AG. All rights reserved. 225


Recommended