English
Process Manufacturing
Cockpit (PMC) (P14)
SAP AG Dietmar-Hopp-Allee 16 69190 Walldorf GermanyCopyright
© Copyright 2007 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
Microsoft, Windows, Outlook,and PowerPointare registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner,
WebSphere, Netfinity, Tivoli, Informix, i5/OS, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWinare trademarks or registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide 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.
MaxDB is a trademark of MySQL AB, Sweden.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
Icons
Icon Meaning Caution Example Note Recommendation SyntaxTypographic Conventions
Type Style Description
Example text Words or characters that appear on the screen. These include field names, screen titles, pushbuttons as well as menu names, paths and options.
Cross-references to other documentation.
Example text Emphasized words or phrases in body text, titles of graphics and tables. EXAMPLE TEXT Names of elements in the system. These include report names,
program names, transaction codes, table names, and individual key words of a programming language, when surrounded by body text, for example, SELECT and INCLUDE.
Example text Screen output. This includes file and directory names and their paths, messages, source code, names of variables and parameters as well as names of installation, upgrade and database tools.
EXAMPLE TEXT Keys on the keyboard, for example, function keys (such as F2) or the ENTER key.
Example text Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation.
<Example text> Variable user entry. Pointed brackets indicate that you replace these words and characters with appropriate entries.
Contents
Process Manufacturing Cockpit (PMC): Configuration Guide...5
1 Purpose... 5
2 Preparation... 5
.2.1 Prerequisites... 5
2.1.1 Building Blocks... 5
3 Configuration... 5
.3.1 Defining Process Message Categories, Characteristics and Target Fields...5
.3.2 Assigning Characteristics to Process Instructions...7
.3.3 Assigning Process Instructions to Control Recipe Destinations...9
.3.4 Defining Process Manufacturing Cockpit...11
.3.5 Valuating Process Instructions...11
.3.6 Activate Process Manufacturing Cockpit (PMC)...12
.3.7 Defining MIME Types in SAP Web Repository...12
Process Manufacturing Cockpit (PMC):
Configuration Guide
1
Purpose
This configuration guide provides the information you need to set up the configuration of this building block manually.
2
Preparation
.2.1 Prerequisites
2.1.1
Building Blocks
Before you start installing this building block, you must install prerequisite building blocks. For more information, see the Building Block Prerequisites Matrix for Pharmaceuticals .
3
Configuration
All objects such as html files and gif files that are required for designing the Process Manufacturing Cockpit within SAP Best Practices for Pharmaceuticals are available in the system after initial importing the Add-On transport.
However, in order to support customers for designing their own (personalized) Process Manufacturing Cockpit example files (txt, gif and htm files) can be found on the HTML-DVD (Path: Misc\Pharmaceuticals\Global\PMC_Files).
.3.1 Defining Process Message Categories, Characteristics
and Target Fields
Use
The purpose of this activity is to assign process messages categories, characteristics, destinations and target fields.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Production Planning for Process Industries Process Management Process Messages Define and Set up Process Message Categories
Transaction Code O13C
2. On the Determine Work Area: Entry screen enter your plant (e.g. BP01) in the Plant field and choose Enter.
3. On the Change View “Process message categories”: Overview screen choose New
Key field Value (description) ProcMessage Cat YP_TREAD
Description Pharma: Message containing long text 4. Go back and select the process message categories YP_TREAD.
5. Select Characteristics/Message categories from the Dialog Structure to get to Change
View “Characteristics/Message categories”: Overview screen.
6. Choose New entries and make the following entries:
Characteristic Description
PPPI_CONTROL_RECIPE Control recipe PPPI_EVENT_DATE Date of event PPPI_EVENT_TIME Date/time of event
PPPI_MATERIAL Material number
PPPI_MATERIAL_CONSUMED Quantity of consumed material PPPI_MATERIAL_QUANTITY Material quantity
PPPI_MESSAGE_TEXT Message long text
PPPI_OPERATION Operation number
PPPI_PHASE Phase number
PPPI_PROCESS_ORDER Process order
PPPI_SOURCE Source
PPPI_UNIT_OF_MEASURE Unit of measure
7. Go back and keep the process message categories YP_TREAD selected.
8. Select Destinations/Message categories from the Dialog Structure to get to Change View
“Destinations/Message categories”: Overview screen.
9. Choose New entries and make the following entries:
Key field Value (description)
Dest PI01
Description Process message record
Typ 01
Destination address COCM_PROCESS_RECORD 10. Go back and select the destination PI01.
11. Select Characteristics/destination-specific target fields from the Dialog Structure to get to Change View “Characteristics/destination-specific target fields”: Overview screen.
12. Choose New entries and make the following entries:
Characteristic Target field
PPPI_PROCESS_ORDER PROCESS_ORDER 13. Go back twice and save your entries.
Result
.3.2 Assigning Characteristics to Process Instructions
Use
The purpose of this activity is to define process instruction categories and to assign characteristics.
The valuation of process instructions must be done manually. Please use the txt file “Longtexts PMC P14.TXT” from the HTML-DVD (Path:
Misc\Pharmaceuticals\Global\PMC_Files).
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Production Planning for Process Industries Process Management Process Instructions Process Instruction Categories (General)
Transaction Code O12C
2. On the Determine Work Area: Entry screen enter your plant (e.g. BP01) in the Plant field and choose Enter.
3. On the Change View “Process instruction categories”: Overview screen choose New
entries and make the following entries:
InstrCat Characteristic ProcInstr.type
YP_LAY1 Pharma: Layout def. PI-Sheet CRD 10 0 YP_LAY2 Pharma: Layout def. PI-Sheet CRD 11 0 YP_LAY3 Pharma: Layout def. PI-Sheet CRD 12 0 YP_LAY4 Pharma: Layout def. PI-Sheet CRD 13 0 YP_LAY5 Pharma: Layout def. PI-Sheet CRD 14 0 YP_LAY6 Pharma: Layout def. PI-Sheet CRD 20 0 YP_LAY7 Pharma: Layout def. PI-Sheet CRD 21 0 YP_LAY8 Pharma: Layout def. PI-Sheet CRD 33 0 YP_LAY9 Pharma: Layout def. PI-Sheet CRD 34 0 YP_PMC01 Pharma: Internet links, docs and mpeg 0 YP_PMC02 Pharma: Dyn. Funct. Calls (2x and SOP) 0
YP_PMC03 Pharma: Sending note 0
4. Go back and select one process instruction category e.g YP_LAY1.
5. Select Characteristics/Process instruction category from the Dialog Structure to get to
Change View “Characteristics/Process instruction category”: Overview screen.
6. Choose New entries and make the following entries:
Not Characteristic Characteristic value
10 PPPI_LAYOUT
7. In order to valuate the characteristic select the assigned characteristic and choose
<?xml version="1.0"?> <LAYOUT>
<FRAMESET ROWS="140,*">
<FRAME SCROLLING="NO" NORESIZE="NORESIZE" SRC="SAPR3-WR-/SMB10/HEADER_1.HTML"></FRAME> <FRAMESET COLS="75%,25%"> <FRAME SRC="#DOCUMENT#"></FRAME> <FRAME SRC="SAPR3-PIDOC-BP01PIYP_PMC01"></FRAME> </FRAMESET> </FRAMESET> </LAYOUT>
8. Format the paragraph as * (= Align left), save the long text and go back get to Change
View “ Characteristics/Process instruction category”: Overview screen.
9. Repeat the steps 3-8 for all instructions YP_LAYX considering the changes in line 5 of long text (YP_LAY2 requires SRC="SAPR3-WR-/SMB10/HEADER_2.HTML"></FRAME> etc.).
10. Select the process instruction category YP_PMC01.
11. Select Characteristics/Process instruction category from the Dialog Structure to get to
Change View “Characteristics/Process instruction category”: Overview screen.
12. Choose New entries and make the following entries:
Not Characteristic Characteristic value
10 PPPI_INSTRUCTION
20 PPPI_OUTPUT_TEXT Important links
30 PPPI_OUTPUT_CHARACTERISTIC PPPI_INSTRUCTION 13. In order to valuate the characteristic PPPI_INSTRUCTION select the assigned
characteristic and choose Maintain long text (Shift + F6) and enter: <!--#file-SAPR3-WR-/SMB10/PMC.HTML#-->
14. Format the paragraph as HT (= HTML), save the long text and go back get to Change
View “Characteristics/Process instruction category”: Overview screen.
15. Select the process instruction category YP_PMC02.
16. Select Characteristics/Process instruction category from the Dialog Structure to get to
Change View “Characteristics/Process instruction category”: Overview screen.
17. Choose New entries and make the following entries:
Not Characteristic Characteristic value
10 PPPI_FUNCTION_NAME COPF_DOCUMENT_SHOW_DIRECT
20 PPPI_BUTTON_TEXT SOP: GMP Information
30 PPPI_FUNCTION_DURING_DISPLAY Allowed
40 PPPI_EXPORT_PARAMETER DOCUMENT_TYPE
50 PPPI_STRING_CONSTANT SOP
60 PPPI_EXPORT_PARAMETER DOCUMENT
Not Characteristic Characteristic value 80 PPPI_EXPORT_PARAMETER DOCUMENT_PART 90 PPPI_STRING_CONSTANT 000 100 PPPI_EXPORT_PARAMETER DOCUMENT_VERSION 110 PPPI_STRING_CONSTANT 00 120 PPPI_FUNCTION_NAME COPF_CALL_TRANSACTION
130 PPPI_BUTTON_TEXT Stock overview
140 PPPI_EXPORT_PARAMETER NEW_SESSION
150 PPPI_INSTRUCTION
160 PPPI_EXPORT_PARAMETER TCODE
170 PPPI_TRANSACTION_CODE MMBE
180 PPPI_FUNCTION_NAME COPF_CALL_TRANSACTION
190 PPPI_BUTTON_TEXT Stock & Requirement List
200 PPPI_EXPORT_PARAMETER NEW_SESSION
210 PPPI_INSTRUCTION
220 PPPI_EXPORT_PARAMETER TCODE
230 PPPI_TRANSACTION_CODE MD04
18. Save your entries and go back get to Change View “Characteristics/Process instruction
category”: Overview screen.
19. Select the process instruction category YP_PMC03.
Not Characteristic Characteristic value
10 PPPI_DATA_REQUEST_TYPE Simple data request
20 PPPI_MESSAGE_CATEGORY YP_TREAD
30 PPPI_AUTOMATIC_VALUE Event date
40 PPPI_AUTOMATIC_VALUE Event date
50 PPPI_INPUT_REQUEST Process order number
60 PPPI_REQUEST_VALUE PPPI_PROCESS_ORDER
70 PPPI_INPUT_REQUEST Message text
80 PPPI_REQUEST_VALUE PPPI_MESSAGE_TEXT
20. Go back and save your entries.
Result
Process instruction categories were created and characteristics were assigned.
.3.3 Assigning Process Instructions to Control Recipe
Destinations
Use
The purpose of this activity is to define control recipe destinations and to assign process instructions.
Prerequisites
Process instructions must be defined already and control recipe destinations must exist!
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Production Planning for Process Industries Process Management Control Recipes / PI Sheets Define and Set up Control Recipe Destinations
Transaction Code O10C
2. On the Determine Work Area: Entry screen enter your plant (e.g. BP01) in the Plant field and choose Enter.
3. On the Change View “Maintain control recipe destinations”: Overview screen select a control recipe (e.g. 10).
4. Select Process instructions to be generated from the Dialog Structure to get to Change
View “Process instructions to be generated”: Overview screen.
5. Choose New entries and make the following entries: Key field Value (description)
Position 01
Sequence 1
Instruct. cat YP_LAY1 Gen.scope
Filter
6. Go back and repeat the steps 3-5 for the control recipe destinations considering the assignment below:
CRD CRD description Required Proc. Instr. 11 Central Dispensing YP_LAY2
12 Granul. & Compres. YP_LAY3
13 Blistering YP_LAY4
14 Packaging YP_LAY5
20 Mixing YP_LAY6
21 Mixing & Suspending YP_LAY7 33 Packaging (Tablets) YP_LAY8 34 Packaging (Blister) YP_LAY9 7. Save your entries.
Result
.3.4 Defining Process Manufacturing Cockpit
Use
The purpose of this activity is to define a process manufacturing cockpit and to make required assignments.
Prerequisites
Process instructions must be defined already.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu Production Planning for Process Industries Process Management Define Process Manufacturing Cockpit
Transaction Code O06C
2. On the Define Application Area: Entry screen enter your plant (e.g. BP01) in the Plant field and choose Enter.
3. On the Change View “Define Process Manufacturing Cockpit”: Overview screen choose
New entries.
4. On the New Entries: Overview of Added Entries screen enter your cockpit in the Cockpit field (e.g. YP_PMC01) and the corresponding description.
5. Go back and select the cockpit.
6. Select Assign Process Instructions to Cockpits from the Dialog Structure to get to Change
View “Assign Process Instructions to Cockpits”: Overview screen.
7. Choose New entries and make the following entries:
Line no. Instr.cat. Description Ref
0010 YP_PMC01 Pharma: Internet links, docs and mpeg Indicator set 0020 YP_PMC02 Pharma: Dyn. Funct. Calls (2x and SOP) Indicator set 0030 YP_PMC03 Pharma: Sending note Indicator set 8. Go back the Change View “Define Process Manufacturing Cockpit”: Overview screen
choose Activate before saving and leaving the transaction.
Result
A process manufacturing cockpit was defined and activated after process instructions were assigned.
.3.5 Valuating Process Instructions
Use
The purpose of this activity is to valuate 10 process instructions with long texts.
The valuation of process instruction must be done manually. Please use the txt file “Longtexts PMC P14.TXT” from the HTML-DVD (Path:
Prerequisites
Process instructions must be defined already.
Procedure
1. Access the activity using one of the following navigation options: Transaction Code O12C
2. Enter your plant (e.g. BP01) in the Plant field on the Determine Work Area: Entry screen and choose Enter.
3. On the Change View “Process Instruction Categories”: Overview screen select the required process instruction category, e.g. YP_LAY1.
4. Double-click on Characteristics/Process instruction category in the Dialog structure. 5. Select the process instruction characteristic on the Change View “Characteristics/Process
instruction category”: Overview screen (e.g. PPPI_LAYOUT) and choose Maintain long text (Shift+F6).
6. Copy and paste the long texts from txt file, save your entry and go back to the Change
View “Process Instruction Categories”: Overview screen.
7. Repeat the steps 3-6 for all process instruction categories in the file and save all changes before leaving the transaction.
Result
Process instruction characteristics were valuated with long texts manually.
.3.6 Activate Process Manufacturing Cockpit (PMC)
Use
The purpose of this activity is to activate the PMC.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu Production Planning for Process Industries → Process
Management → Define Process Manufacturing Cockpits Transaction Code O06C
2. Enter your plant (e.g. BP01) in the Plant field and an application key (e.g. PI) on the
Determine Work Area: Entry screen and choose Enter.
3. Select your Process Manufacturing Cockpit (e.g. YP_PMC01). 4. Choose Activate and save the settings.
Result
PMC activated.
.3.7 Defining MIME Types in SAP Web Repository
Use
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu Tools → Web Development → Web Repository Transaction Code SMW0
2. Refer to the following file for details of the master data required: SMB10_SMW0_O002_P14.TXT.
Result
MIME types were defined.
.3.8 Assigning MIME Editor
Use
The purpose of this activity is to assign MIME editors in the SAP Web Repository. Skip this activity if you do NOT want to replace the objects that are delivered for Web Repository within SAP Best Practices for Pharmaceuticals and SAP Best Practices for Chemicals with your own objects.
However, if you plan to create and change own objects (e.g. personalizing PI sheet headers or Process Manufacturing Cockpits) in the Web Repository the assignment of editors is mandatory.
Be advised that the delivered PI sheet headers can not be personalized with the Personalization Assistant.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu Tools → Web Development → Web Repository Transaction Code SMW0
2. On the SAP Web Repository: Initial screen, select 'Binary data for WebRFC applications' and choose Find (F8).
3. On the SAP Web Repository: Object Selection screen, enter the package name (e.g. Z001) in the Package field and choose Execute (F8). Please consider you can NOT change objects delivered by SAP Best Practices (Package /SMB10/ for Pharmaceuticals, package /SMB18/ for Chemicals).
4. On the SAP Web Repository: Object Display screen, choose Settings -> Assign MIME editor from the menu bar.
5. On the upcoming SAP Web Repository: MIME type editor assignment screen, select a MIME Type using F4-Help (e.g. text/html) and assign the corresponding editor (e.g. C:\WINDOWS\system32\notepad.exe).
6. Consider to assign editors to all required MIME types! 7. Choose Save.