49
V1.470 October 2004 English H33: Configuration Product Design and Engineering Building Block Installation Guide

H33 BB InstallGuide en ZH

  • Upload
    lojo123

  • View
    42

  • Download
    5

Embed Size (px)

Citation preview

Page 1: H33 BB InstallGuide en ZH

V1.470

October 2004

English

H33: Configuration Product Design and Engineering

SAP AGNeurottstr. 1669190 Walldorf

Building Block Installation Guide

Page 2: H33 BB InstallGuide en ZH

Germany

Page 3: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Copyright

© Copyright 2004 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 PowerPoint are 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, and Informix are trademarks or registered trademarks of IBM Corporation 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 MultiWin are 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, 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 additional warranty.

© SAP AG Page 3 of 39

Page 4: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Icons

Icon Meaning

Caution

Example

Note

Recommendation

Syntax

Typographic 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.

© SAP AG Page 4 of 39

Page 5: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

ContentsH33: Configuration Product Design and Engineering: Installation Guide........................................5

1 Purpose................................................................................................................................ 5

2 Preparation.......................................................................................................................... 6

2.1 Essential Information (Building Block J00).....................................................................6

2.2 Basic Documentation for High Tech and Industrial Machinery & Components (Building Block E00)............................................................................................................................... 6

2.3 Prerequisites..................................................................................................................6

2.4 Uploading the Installation Role......................................................................................7

3 Requesting the Installation Status........................................................................................7

4 Installation............................................................................................................................ 8

4.1 Logistics - General.........................................................................................................8

4.2 Controlling...................................................................................................................10

4.3 Document Management..............................................................................................11

4.4 Project System............................................................................................................12

4.5 Supersession...............................................................................................................14

4.6 Sales and Distribution..................................................................................................15

4.7 Optional: Workflow Settings.........................................................................................19

5 Setting the Installation Status.............................................................................................37

© SAP AG Page 5 of 39

Page 6: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

H33: Configuration Product Design and Engineering: Installation Guide

1 PurposeThe Scenario Installation Guide provides you with the information you need to set up your business scenario. It forms the backbone of the installation documentation, because it summarizes which building blocks you need to implement for this scenario, and specifies the predefined configuration sequence you have to follow for all building blocks.

Note that the installation documentation for SAP Best Practices business scenarios is structured on two levels:

Scenario Installation Guide: one document for a business scenario

Building Block Installation Guide: one document for a building block, but several documents for a scenario installation

For the installation of each building block, refer to the corresponding Building Block Installation Guide where you can find detailed installation procedures of this building block.

If you are not familiar working with BC Sets or other configuration tools, refer to the section on SAP Best Practices tools document Essential Information.

For detailed procedures on how to manually set up the configuration of a building block, refer to the corresponding configuration guide.

Always use the Scenario Installation Guide (this document) as the starting point for all your installation activities.

For a successful installation of the entire scenario, it is important that:

You follow the building block sequence in the scenario installation guide from the first to the very last configuration activity

You carry out all of the configuration activities for a building block before you start installing the next building block

© SAP AG Page 6 of 39

Page 7: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

2 Preparation

2.1 Essential Information (Building Block J00)

UseEssential Information explains the concept of building block installations and gives detailed instructions on how to use the automated configuration tools, such as BC Sets, CATT procedures or the handling of user roles. A profound understanding of the concepts and tools used in the installation process is important for a successful installation.

ProcedureRead the documentation of the document Essential Information (building block J00).

ResultYou have gained an understanding of how to install solutions using building blocks.

You know how to use the tools for automated configuration and data import processes, and how to import user roles.

2.2 Basic Documentation for High Tech and Industrial Machinery & Components (Building Block E00)

UseThe basic documentation of E00 is only used for High Tech and Industrial Machinery & Components.

2.3 PrerequisitesThe following building blocks form the basis for all mySAP All-in-One High Tech and Industrial Machinery and Components solutions. You only have to install these building blocks once.

Building Blocks Comment

Baseline Building Blocks (Layer 0)

J02 - Organizational Structure

J03 - Financial Accounting

J04 - Sales and Distribution

J05 - Materials Management

J08 - Cost/Profit Center Accounting

J06 - Production Planning and Control

J07 - Quality Management

© SAP AG Page 7 of 39

Page 8: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Building Blocks Comment

Industry-Generic Building Blocks

E99 - Supplement Settings for China Baseline

A01 - DI Basic Settings

E04 - Supplement Settings

H37 - Configuration Sales and Profit Planning in CO-PA

For details of how to install an individual building block, refer to the relevant building block installation documentation.

2.4 Uploading the Installation RoleBefore you start the installation using the automated procedures described in this installation guide, upload the installation role and assign it to your user. If you prefer to carry out some of the steps manually, refer to the configuration guide of this building block.

This building block provides one or more installation roles, which enable you to access all the transactions required for the installation from the relevant system. The following roles are available for this building block:

Technical name Description File name for upload

/SMB31/H33_05I H33: Installation Role – Configuration Product Design and Engineering

_SMB31_H33_05I.SAP

ProcedureFor detailed information about uploading the installation roles to the system and working with the roles, see the Essential Information building block.

3 Requesting the Installation Status

UseThe purpose of this activity is to check whether the current building block has already been installed. This enables you to keep track of the installation process.

Procedure1. Access the activity using one of the following navigation options:

© SAP AG Page 8 of 39

Page 9: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

SAP R/3 Role Menu Installation Role for H33 Get Status for Building Block H33

Transaction Code /SMB99/T001_J01_H33

2. Choose Execute to start the eCATT procedure.

3. The installation status information is displayed (incomplete, successfully installed (complete), or reset to incomplete).

ResultIf the installation of the current building block is incomplete and you want to complete it now, go back to the installation role and proceed with the next step.

If the installation of the current building block is complete, you can proceed to the next building block. If, for some reason, you want to redo some or all of the completed installation of the current building block, first go to the activity Setting the Installation Status to reset the status to incomplete. Then make your changes before returning to the activity Setting the Installation Status to set the status to complete again.

4 Installation

4.1 Logistics - General

4.1.1 Defining Attributes of Material Types

UseIn this step, you define the attributes for material type VERP.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Logistics – General Define Attributes of Material Types

Transaction Code /SMB50/B003_H33_01

2. Activate the BC set /SMB50/T134_B003_H33.

3. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Material Type VERP

Number range 01

Number range 02

4. Ignore any warning messages that appear.

© SAP AG Page 9 of 39

Page 10: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

5. Complete the activation of the BC set and go back to the installation role.

4.1.2 Classification System

UseThe purpose of this activity is to create all settings for the classification system. The hierarchical BC set /SMB50/Classification_S100_H33 contains the settings for the following BC sets:

/SMB50/V_CMG_B101_H33

/SMB50/V_CLG_B102_H33

If you activate this BC set, you do not have to activate the BC sets listed above. Alternatively, you can choose not to activate this hierarchical BC set, but individually activate the BC sets listed above.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Logistics – General Classification System

Transaction Code /SMB50/S100_H33_01

2. Activate the BC set /SMB50/Classification_S100_H33.

3. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Chars Group YHT_TE

Description (Chinese) 高科技分类组

Description (English) HT Class Group Technic

4. Finish activating the BC set and go back to the installation role.

4.1.3 Defining BOM Status

UseIn this step, you define the BOM status ‘99’.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Logistics – General Define BOM Status

© SAP AG Page 10 of 39

Page 11: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Transaction Code /SMB50/B009_H33_01

2. Activate the BC set /SMB50/T415S_B109_H33.

3. Complete the activation of the BC set and go back to the installation role.

4. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Descr. BOM status (Chinese) 将被释放

Descr. BOM status (English) To be released

ResultBOM status 99 has been created.

4.1.4 Setting Control Data

UseIn this step, you set the control data for change management.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Logistics – General Set Control Data

Transaction Code /SMB50/B021_H33_01

2. Activate the BC set /SMB50/V_TCC08_B004_H33.

3. Complete the activation of the BC set and go back to the installation role.

4.2 Controlling

UseThe purpose of this activity is to make settings for the costing variants. The hierarchical BC set /SMB50/COPC_S300_H33 contains the settings for the following BC set:

/SMB50/V_CK03_B301_H33

If you activate the hierarchical BC set, you do not have to activate the BC set named above. Alternatively, you can choose not to activate this hierarchical BC set, but rather activate the BC sets named above.

© SAP AG Page 11 of 39

Page 12: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Controlling

Transaction Code /SMB50/S300_H33_01

2. Activate the BC set /SMB50/COPC_S300_H33.

3. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Name (Chinese) 标准成本估算

Name (English) Standard cost est.(Mat)

4. Complete the activation of the BC set and go back to the installation role.

ResultThe costing variants have been defined.

4.3 Document Management

4.3.1 Changing Document Type

UseThe purpose of this activity is to change document type KPR.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Document Management

Transaction Code /SMB50/B001_H40_01

2. Activate the BC set /SMB50/TDWA_B001_H40.

3. Complete the activation of the BC set and go back to the installation role.

4. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Doc.type description (Chinese) 设计图纸

Doc.type description (English) Engin/Des. Drawing

© SAP AG Page 12 of 39

Page 13: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

4.4 Project System

4.4.1 Defining Project Profile and Parameters

UseThe purpose of this activity is to make settings for the project definition, the project profile and the parameters for the network type. The hierarchical BC set /SMB50/PS_S400_H33 contains the settings for the following BC sets:

/SMB50/V_TCJED_B401_H33

/SMB50/V_TCJ41_B402_H33

/SMB50/V_T399X_NN_B403_H33

If you activate the hierarchical BC set, you do not have to activate the BC sets listed above. Alternatively, you can choose not to activate this hierarchical BC set, but rather activate the BC sets listed above individually.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Project System

Transaction Code /SMB50/S400_H33_01

2. Activate the BC set /SMB50/PS_S400_H33.

3. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Business area

Company code BP01

Controlling area BP01

Description (Chinese) 开发项目

Description (Chinese) 设计项目参数文件

Description (English) Design project profile

Description (English) Development Project

Distribution channel

Division

Factory calendar 01

Functional area

Plant BP01

Project coding ID P

Sales organization

© SAP AG Page 13 of 39

Page 14: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

SubProductionSchedlr

Substitute MRP ctrl.

4. Complete the activation of the BC set and go back to the installation role.

4.4.2 Changing Project Profile

UseThe purpose of this activity is to change currency type in the project profile.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Change Project Profile

Transaction Code /SMB31/B001_H33_01

2. Activate the BC set /SMB31/V_TCJ41_B402_H33.

3. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Business area

Company code BP01

Controlling area BP01

Description (Chinese) 设计项目参数文件

Description (English) Design project profile

Distribution Channel

Division

Factory calendar CN

Functional Area

Plant BP01

Sales Organization

4. Complete the activation of the BC set and go back to the installation role.

ResultThe settings for the project definition, project profile and parameters for the network type have been defined.

© SAP AG Page 14 of 39

Page 15: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

4.5 Supersession

UseThe purpose of this activity is to make the settings for the number ranges. The hierarchical BC set /SMB50/V_T399X_NN_B403_H33 contains the settings for the following BC set:

/SMB50/NRIV_B501_H33

If you activate the hierarchical BC set, you do not have to activate the BC set listed above. Alternatively, you can choose not to activate this hierarchical BC set, but rather activate the BC set listed above individually.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Supersession

Transaction Code /SMB50/S500_H33_01

2. Activate the BC set /SMB50/SHIPPING_S500_H33.

3. On the Enter Variable Field Values screen, change the values of the following fields:

To avoid overlaps, check the existing number range status in your system (transaction: SNUM; object: PIC_PICNUM) and, if necessary, change the values of the fields depending on your system settings.

Key field Value (description)

Number range status 00000000000000000000

Number range status 00000000000000000021

External

External X

From number 000000000000000001

From number A00000000000000000

To number 999999999999999999

To number ZZZZZZZZZZZZZZZZZZ

4. Complete the activation of the BC set and go back to the installation role.

To avoid overlaps, check the number range status with the number ranges in your system and change the values of the fields depending on your system.

ResultThe number ranges have been set.

© SAP AG Page 15 of 39

Page 16: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

4.6 Sales and Distribution

4.6.1 Defining Item Categories

UseIn this step, you define item category YH33 for the sales documents.

ProcedureThis activity can only be carried out manually.

1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Sales and Distribution Define Item Categories

Transaction Code SPRO

R/3 Implementation Guide IMG Sales and Distribution Sales Sales Documents Sales Document Item Define Item Categories

2. On the Change View: Specify scheduling parameters: Overview screen, select TAD (Service) and choose Copy as….

3. Maintain the following entries:

Field name Description R/O/C User action and values

Note

Item Category R YH33

Completion Rule R B Completed after full quantity has been referenced

Pricing X

Business item R Select

Sched.line allowed

R Select

Credit Activate Select

Determine cost R Select

4. Leave the other entries as they are under Service.

5. Save your entries and confirm the dialog box Dependent entries for copying control with Yes.

6. Go back to the installation role.

© SAP AG Page 16 of 39

Page 17: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

4.6.2 Sales Order Settings

UseThe purpose of this activity is to make the other settings for the sales order. The hierarchical BC set /SMB50/Sales_S600_H33 contains the settings for the following BC set:

/SMB50/V_TPTM_B102_H33

/SMB50/V_T184_B103_H33

/SMB50/V_T459K_B104_H33

/SMB50/V_T459A_B105_H33

/SMB50/V_TVEPZ_V_B106_H33

If you activate the hierarchical BC set, you do not have to activate the BC set listed above. Alternatively, you can choose not to activate this hierarchical BC set, but rather activate the BC set listed above individually.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Sales and Distribution Sales Order Settings

Transaction Code /SMB50/S600_H33_01

2. Activate the BC set /SMB50/Sales_S600_H33.

3. On the Enter Variable Field Values screen, change the values of the following fields:

Key field Value (description)

Description (Chinese) 设计

Description (Chinese) 设计项目

Description (English) Design

Description Design Item

Requirements type (Chinese) 有成本管理的项目设计

Requirements type (English) Design item with cost managmt

4. Complete the activation of the BC set and go back to the installation role.

ResultThe sales order settings have been done.

© SAP AG Page 17 of 39

Page 18: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

4.6.3 Defining Incompletion Procedures

UseYou define the incompletion procedures that apply to the various incompletion objects. In an incompletion procedure, you group together the fields that are to be checked for completion. If you have not entered data in one of the fields in the document, the document is incomplete. Depending on the status group, you can block certain subsequent activities for the document.

ProcedureThis activity can only be carried out manually.

1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Sales and Distribution Define Incompletion Procedure (manually)

Transaction Code OVA2

R/3 Implementation Guide IMG Sales and Distribution Basic Functions Log of Incomplete Terms Define Incompletion Procedures

2. On the Display View “Groups”: Overview screen, select the entry B and double-click on the Procedures folder.

3. Choose New Entries make the following entries:

Field name Description R/O/C User action and values

Note

InProc Incompletion Procedure

R Y3 IP for Sales Header

Description R Sales Item Name the IP

4. Confirm your entries with ENTER.

5. Select the entry Y3 and double-click on the Fields folder.

6. Choose New Entries and make the following entries:

Field name Description R/O/C User action and values Note

Table R VBAP

Fld name R ARKTX Description

Scr. Screen R PKAU

Status R 04

Field name Description R/O/C User action and values Note

Table R VBAP

Fld name R KWMENG Order quantity

Scr. Screen R PKAU

Status R 04

Warning Mark

© SAP AG Page 18 of 39

Page 19: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Field name Description R/O/C User action and values Note

Table R VBAP

Fld name R WERKS Plant

Scr. Screen R PDE2

Status R 02

Warning Mark

Field name Description R/O/C User action and values Note

Table R VBKD

Fld name R ZTERM Payment terms

Scr. Screen R PDE3

Status R 04

Field name Description R/O/C User action and values Note

Table R VBAP

Fld name R PS_PSP_PNR WBS Element

Scr. Screen R PKNT

Status R 58

Field name Description R/O/C User action and values Note

Table R VBKD

Fld name R PRSDT Pricing date

Scr. Screen R PKAU

Status R 04

7. Save your entries.

4.6.4 Assigning Incompletion Procedures

UseThe purpose of this activity is to assign the incompletion procedure Y3 to the sales item category YH33.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Sales and

© SAP AG Page 19 of 39

Page 20: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Distribution Assign Incompletion Procedures

Transaction Code /SMB50/B008_H33_01

2. Activate the BC set /SMB50/V_TVAK_B108_H33.

3. Complete the activation of the BC set and go back to the installation role.

4.7 Optional: Workflow SettingsThe following activities are optional steps. You only have to make these settings if you want to carry out the corresponding optional activities described in the Business Process Procedure.

4.7.1 Creating Business Object

UseIn this procedure, you create a new business object Y_H33_BOM.

This procedure is cross-client. Therefore, if you find that business object Y_H33_BOM has been created in another client, skip this step.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Workflow (manually) Business Object Builder

Transaction Code SWO1

2. On the Business Object Builder: Initial Screen, enter BUS1080 in the Object Type field. Choose Copy. In the Copy Object Type dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Object Type R Y_H33_BOM

Program R Y_H33_BOM

Object name R Y_H33_BOM

3. Confirm any message and save your entries. Go back to Business Object Builder: Initial Screen.

Creating Key Fields1. Choose Change, and on the Change Object Type Y_H33_BOM view, expand Key fields.

2. Choose Delete to delete all the key fields copied from BUS1080.

© SAP AG Page 20 of 39

Page 21: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

3. Choose Create. Confirm the Create key field dialog box.

4. In the Create with Data Dictionary Field Proposals dialog box, enter STZU and confirm your entry with ENTER.

5. Select STLTY and STLNR and continue.

6. Confirm the Create dialog box.

You have created two new key fields: Y_H33_BOM.BOMCategory and Y_H33_BOM.BillOfMaterial.

Creating Attributes1. Delete all the attributes copied from BUS1080.

Not all attributes can be deleted.

2. Choose Create. Confirm the Create Attribute dialog box.

3. In the Create with Data Dictionary Field Proposals dialog box, enter STZU and confirm your entry with ENTER.

4. Select AENRL and continue.

5. Confirm the Create dialog box.

You have created a new attribute: Y_H33_BOM.LastChangeNumber.

Creating Methods1. Delete all the methods coped from BUS1080.

Not all methods can be deleted.

2. Choose Create. In the Create method dialog box, choose No. In the next dialog Create Method, make the following entries:

Field name Description R/O/C User Action and Values

Note

Method R get_bom_data

Name R get_bom_data

Description R get_bom_data

Dialog Do not select

Synchronous Select

3. Confirm your entries and continue.

4. Choose the created method Y_H33_BOM.get_bom_data, and choose Parameters.

5. Create a new parameter BOMCategory. In the Create Parameter dialog box, choose No.

6. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Note

© SAP AG Page 21 of 39

Page 22: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Values

Parameter R BOMCategory

Name R BOMCategory

Description R BOMCategory

Import Selected

Reference table

R STZU

Reference field R STLTY

7. Create a new parameter BillOfMaterial. In the Create Parameter the dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R BillOfMaterial

Name R BillOfMaterial

Description R BillOfMaterial

Import Selected

Reference table

R STZU

Reference field R STLNR

8. Create a new parameter BOMUsage. In the Create Parameter the dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R BOMUsage

Name R BOMUsage

Description R BOMUsage

Export Selected

Reference table

R STZU

Reference field R STLAN

9. Create a new parameter LastChangeNumber. In the Create Parameter the dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R LastChangeNumber

Name R LastChangeNumber

Description R LastChangeNumber

© SAP AG Page 22 of 39

Page 23: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Export Selected

Reference table

R STZU

Reference field R AENRL

10. Create a new parameter Material. In the Create Parameter the dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R Material

Name R Material

Description R Material

Export Selected

Reference table

R MAST

Reference field R MATNR

11. Create a new parameter Plant. In the Create Parameter the dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R Plant

Name R Plant

Description R Plant

Export Selected

Reference table

R MAST

Reference field R WERKS

12. On the Object Type Y_H33_BOM: Edit Parameters for Method Y_H33_BOM.GET_BOM_DATA screen, choose Program, and confirm the dialog box to prompt the system to generate a program. Insert the following code into the program:

© SAP AG Page 23 of 39

Page 24: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

13. Save and go back to the Change Object Type Y_H33_BOM screen.

If the message Table STZU isn’t implemented, do you want to implement it now? appears, choose Yes and continue.

14. Create the second method as follows.

15. Choose Create. In the Create method dialog box, choose No. In the next dialog Create Method, make the following entries:

Field name Description R/O/C User Action and Values

Note

Method R show_CS03

Name R show_CS03

Description R show_CS03

Dialog Selected

Synchronous Selected

16. Confirm your entries and continue.

17. Choose the created method Y_H33_BOM.show_CS03, then choose the Parameters.

18. Create a new parameter Material. In the Create Parameter dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R Material

Name R Material

© SAP AG Page 24 of 39

SWC_GET_ELEMENT CONTAINER 'BOMCategory' BOMCATEGORY.

SWC_GET_ELEMENT CONTAINER 'BillOfMaterial' BILLOFMATERIAL.

*** inserted

select single STLAN AENRL into (BOMUSAGE, LASTCHANGENUMBER)

from stzu

where stlty = BOMCATEGORY

and STLNR = BILLOFMATERIAL.

select single MATNR WERKS into (MATERIAL, PLANT)

from MAST

where STLAN = BOMUSAGE

and STLNR = BILLOFMATERIAL.

*** end of insert

Page 25: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Description R Material Number

Import Selected

Reference table

R MAST

Reference field R MATNR

19. Create a new parameter Plant. In the Create Parameter dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R Plant

Name R Plant

Description R Plant

Import Selected

Reference table

R MAST

Reference field R WERKS

20. Create a new parameter BOMUsage. In the Create Parameter dialog box, choose No. In the Object Type Y_H33_BOM: Edit Parameters … dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Parameter R BOMUsage

Name R BOMUsage

Description R BOMUsage

Import Selected

Reference table

R MAST

Reference field R STLAN

21. Save and go back to the Object Type Y_H33_BOM: Edit Parameters for Method Get_BOM_DATA screen. Choose method Y_H33_BOM.show_CS03, and choose Program, to prompt the system to generate a program. Insert the following code into the program:

© SAP AG Page 25 of 39

Page 26: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

22. Save and go back to the view Change Object Type Y_H33_BOM.

Creating Events1. Choose the Events row, and choose Create. In the Create Event dialog box, make the

following entries:

Field name Description R/O/C User Action and Values Note

Event R Y_H33_BOM_CHANGED

Name R Y_H33_BOM_CHANGED

Description R Y_H33_BOM_CHANGED to status "99"

2. Save your entries and go back.

3. Save and go back to the Change Object Type Y_H33_BOM screen. Save and go back to the Change Object Type Y_H33_BOM screen.

Setting Status and Generating Object Type1. In the menu, choose Edit Change Release Status Object Type To Implemented.

2. Open the Methods folder and select method Y_H33_BOM.get_bom_data. From the menu, choose Edit Change Release Status Object Type Component To Implemented. Repeat this step for Method Y_H33_BOM.show_CS03.

3. Open the Events folder and select event Y_H33_BOM.Y_H33_BOM_CHANGED. From the menu, choose Edit Change Release Status Object Type Component To Implemented.

4. Open the Key fields folder and select event Y_H33_BOM. BOMCategory. From the menu, choose Edit Change Release Status Object Type Component To Implemented. Repeat this step for Key fields Y_H33_BOM.BillofMaterial.

5. Open the Attributes folder and select event Y_H33_BOM. LastChangeNumber. From the menu, choose Edit Change Release Status Object Type Component To Implemented.

© SAP AG Page 26 of 39

SWC_GET_ELEMENT CONTAINER 'Material' MATERIAL.

SWC_GET_ELEMENT CONTAINER 'Plant' PLANT.

SWC_GET_ELEMENT CONTAINER 'BOMUsage' BOMUSAGE.

* start insert

SET PARAMETER ID 'MAT' FIELD MATERIAL.

SET PARAMETER ID 'WRK' FIELD PLANT.

SET PARAMETER ID 'CSV' FIELD Bomusage.

CALL TRANSACTION 'CS03' AND SKIP FIRST SCREEN.

* end insert

END_METHOD.

Page 27: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

6. Choose Check and Generate the whole object.

In case of errors, check the error log and fix the errors manually. You can check the log by choosing Goto Error List from the menu.

ResultYou have created and generated business object type Y_H33_BOM.

4.7.2 Event Generation by Change Document STUE

UseIn this procedure, you set field restrictions to table STKO.

This procedure is cross-client.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Workflow Setting Event Generation by Change Document STUE

Transaction Code SWEC

2. Confirm any warning message. On the Change View “Events for Change Document”: Overview screen, choose New Entries.

3. On the Change View “Events for Change Document”: Detail screen, make the following entries:

Field name Description R/O/C User Action and Values Note

Change doc. object

R STUE

Object Category

R BOR Object Type

Object Type R Y_H33_BOM

Event R Y_H33_BOM_CHANGED

Trigger Event R On Change

4. Choose the sub-item Field Restriction, and confirm any warning message. Make a new entry:

Field name Description R/O/C User Action and Values

Note

© SAP AG Page 27 of 39

Page 28: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Table R STKO

Field Name R STLST

Old Value *

New Value R 99

5. Save your entries and go back.

4.7.3 Checking and Maintaining Prefix Number

UseIn this procedure, you check and maintain the prefix number for workflow.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Workflow Setting Maintaining Prefix Number

Transaction Code SWU3

2. On the Automatic Workflow Customizing screen, choose and expand item Maintain Definition Environment.

If the green checkmark is set you do not have to carry out this activity and can skip the following steps.

3. Choose Maintain Prefix Numbers and choose Execute.

4. On the Prefix numbers for Workflow and Organizational Management screen, check if the following record exists and is activated. If not, create the record and activate it:

Field name Description R/O/C User Action and Values Note

Prefix no. R Prefix no. (for example, 900)

SAP System R Your current system number (for example, KD6)

Client R Your current client number (for example,146)

Package R $TMP

5. Save and go back.

4.7.4 Building Workflow

UseThe purpose of this activity is to build the workflow for BOM change.

© SAP AG Page 28 of 39

Page 29: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

This procedure is cross-client. If you have already built this workflow in another client, you can skip this procedure.

Procedure1. Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Workflow Setting Building Workflow

Transaction Code SWDB

2. Confirm any warning message or dialog. On the Workflow Builder – Create “Unnamed” screen, choose Goto Basic data. Make the following entries:

Field name Description R/O/C User Action and Values

Note

Abbreviation R H_33_BOM

Description R BOM to be checked and released

Release status R Implemented

SAP phone R Not suitable for SAPphone

3. Go to the Start Events view, and create an event record with the following entries:

Field name Description R/O/C User Action and Values

Note

Object Category

R BO

Object Type R Y_H33_BOM

Event of the object

R Y_H33_BOM_Changed

4. Save this workflow with workflow number WS9000003 (the name of the workflow is assigned by the system, e.g. WS90000003).

5. Choose Workflow Container, and choose Create. In the Change Container Element dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Element R bom_type

Name R bom_type

Short Descript. R bom_type

ABAP Dictionary Reference

Select

Structure R STZU

© SAP AG Page 29 of 39

Page 30: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Field R STLTY

Import Select On the view: Properties

6. Choose Workflow Container, and choose Create. In the Change Container Element dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Element R bom_number

Name R bom_number

Short Descript. R bom_number

ABAP Dictionary Reference

Select

Structure R STZU

Field R STLNR

Import Select On the view: Properties

7. Choose Workflow Container, and choose Create. In the Change Container Element dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Element R BOMUsage

Name R BOMUsage

Short Descript. R BOMUsage

ABAP Dictionary Reference

Select

Structure R STZU

Field R STLAN

Import Select On the view: Properties

Export Select On the view: Properties

8. Choose Workflow Container, and choose Create. In the Change Container Element dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Element R LastChangeNumber

Name R LastChangeNumber

Short Descript. R LastChangeNumber

© SAP AG Page 30 of 39

Page 31: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

ABAP Dictionary Reference

Select

Structure R STZU

Field R AENRL

9. Choose Workflow Container, and choose Create. In the Change Container Element dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Element R Material

Name R Material

Short Descript. R Material

ABAP Dictionary Reference

Select

Structure R MAST

Field R MATNR

Import Select On the view: Properties

Export Select On the view: Properties

10. Choose Workflow Container, and choose Create. In the Change Container Element dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Element R Plant

Name R Plant

Short Descript. R Plant

ABAP Dictionary Reference

Select

Structure R MAST

Field R WERKS

Import Select On the view: Properties

Export Select On the view: Properties

© SAP AG Page 31 of 39

Page 32: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

11. Choose Enter to confirm your entries.

12. Choose Goto Basic data, and choose Start Event. Choose to activate the event. The

icon should change from grey to green .

13. Choose Binding.

14. In the Change Binding for Workflow dialog box, expand Event Container _EVT_OBJECT. Drag and drop BOMCategory from Event to Binding Event Workflow: Event and drag and drop bom_type from workflow to Binding Event Workflow: Workflow in the same line.

15. In the Change Binding for Workflow dialog box, expand Event Container _EVT_OBJECT. Drag and drop BillOfMaterial from Event to Binding Event Workflow: Event and drag and drop bom_number from workflow to Binding Event Workflow: Workflow accordingly.

16. Choose to exit the binding editor.

17. In the navigation area, double-click on Steps 000002 (Undefined) to create a new activity.

18. On the dialog box choose Activity.

19. On the Workflow Builder – Change ‘H_33_BOM’, choose and choose Create task. On the Standard Task: Create screen, make the following entries:

Field name Description R/O/C User Action and Values Note

Abbr. R get_data

Name R get_data

Work item text R Pleaseplease have a look on the BOMbom &BILLOFMATERIAL&

Release status R Implemented

Object Category

R BOR Object Type

Object Type R Y_H33_BOM

Method R GET_BOM_DATA

Background processing

Select

20. Choose Save to save the data, and back to the former screen. Confirm any message with

Continue.

21. Double-click the task. On the Standard Task: Display screen, choose to go to change

mode. Choose Binding Object Method and confirm any message. In the Change Binding for Method. dialog box, drag and drop the following objects to get the following result:

Binding Task ‘get_data’ Method

Task ‘get_data’ Method

&BOMCATEGORY& &BOMCATEGORY&

&BILLOFMATERIAL& &BILLOFMATERIAL&

© SAP AG Page 32 of 39

Page 33: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Task ‘get_data’ Method

&BOMUSAGE& &BOMUSAGE&

&LASTCHANGENUMBER& &LASTCHANGENUMBER&

&MATERIAL& &MATERIAL&

&PLANT& &PLANT&

22. Exit the Binding Editor with Exit Binding Editor. Save and go back to the Workflow Builder – Change ‘H_33_BOM’ screen.

23. Double-click get_data, and choose Control. Choose Binding, and confirm any messages:

Depending on the confirmation of a dialog box in the former step the binding may already exist. You can skip the following steps and just check if the binding was created correctly.

24. In the Change Binding for Step dialog box, use drag and drop to get the following result:

Binding Workflow Step ‘get_data’

Task ‘get_data’ Method

&BOMNUMBER& &BILLOFMATERIAL&

&BOMTYPE& &BOMCATEGORY&

&Y_H33_BOM& &_WI_OBJECT_ID&

Binding Workflow <- Step ‘get_data’

Task ‘get_data’ Method

&BOMUSAGE& &BOMUSAGE&

&LASTCHANGENUMBER& &LASTCHANGENUMBER&

&MATERIAL& &MATERIAL&

&PLANT& &PLANT&

25. Continue with Exit Binding Editor. Save and go the Workflow Builder – Change ‘H_33_BOM’ screen.

Creating Step “Show the BOM”

1. Choose Steps. In the right screen area, choose the step workflow completed. Choose Create Step….

2. In the Step Selection dialog box, choose the item Activity , and choose the Control view.

3. On the Workflow Builder – Change ‘H_33_BOM’ screen, choose and choose Create task. On the screen Standard Task: Create, make the following entries:

Field name Description R/O/C User Action and Values Note

Abbr. R Show me

© SAP AG Page 33 of 39

Page 34: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Name R Show the bom

Work item text

R BOMbom was changed by &_WI_ACTUAL_AGENT& : Please check the BOM

Release status

R Implemented

Object Category

R BOR Object Type

Object Type R Y_H33_BOM

Method R SHOW_CS03

4. Confirm any messages with Yes.

5. On the Control data screen, choose Binding Object Method, and confirm any messages. In the Change Binding for Method dialog box, drag and drop the following objects to get the following result:

Binding Task ‘show me’ Method

Task ‘get_data’ Method

&Material& &Material&

&Plant& &Plant&

&BOMUsage& &BOMUsage&

&Y_H33_BOM& &_WI_OBJECT_ID&

6. Continue with Exit Binding Editor. Save and go the Workflow Builder – Change ‘H_33_BOM’ screen.

7. In the Control view, choose the Define Binding Autom .

Then change the Agent to User, and enter the user name WF-BP01 by execute following actions:

8. Choose Agent Assignment for Task. On the Standard task: Maintain Agent Assignment

screen, choose the item Show the bom, and choose Create agent assignment.

9. In the Choose Agent Type dialog box, choose User. In the Choose User dialog box, enter the user name WF-BP01. Confirm your entry and go the Workflow Builder – Change ‘H_33_BOM’ screen.

Creating Step “User Decision”1. Choose Steps, and on the right screen area, choose the step Workflow completed. Choose

Create Step… .

2. In the Step Selection dialog box, choose the item User Decision.

3. In the Decision view of new task, make the following entries:

Field name Description R/O/C User Action and Values

Note

© SAP AG Page 34 of 39

Page 35: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Title R Product manager decision about bom release

Agents R User

User R WF-BP01

Decision Texts R Accept

R Reject

Outcome Name R Change is o.k.

R Change should be discussed; do not release

4. Switch to Control view and choose Create with Reference.

5. In the Copy Task dialog box, make the following entries:

Field name Description R/O/C User Action and Values

Note

Abbreviation R Y_BOM_DEC

Name R Decision task bom

6. Choose Copy Task. On the Standard Task: Change screen, choose Container. Choose Create Element and make entries for the following container elements:

Field name Description R/O/C User Action and Values Note

Element R bom_material

Name R bom_material

Short Descript. R bom_material

ABAP Dictionary Reference

Select

Structure R MAST

Field R MATNR

Import Select Under Properties

Field name Description R/O/C User Action and Values

Note

Element bom_change_number

Name bom_change_number

Short Descript. bom_change_number

ABAP Dictionary

Select

© SAP AG Page 35 of 39

Page 36: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Reference

Structure STZU

Field AENRL

Import Select Under Properties

Field name Description R/O/C User Action and Values

Note

Element R bom_plant

Name R bom_plant

Short Descript. R bom_plant

ABAP Dictionary Reference

Select

Structure R MAST

Field R WERKS

Import Select Under Properties

Field name Description R/O/C User Action and Values

Note

Element R BOMUSAGE

Name R BOMUSAGE

Short Descript. R BOMUSAGE

ABAP Dictionary Reference

Select

Structure R STZU

Field R STLAN

Import R Select Under Properties

7. Save your entries, and back to the screen before.

In the decision view, change the Agent to User, and enter the user name WF-BP01 by execute following actions

8. Choose Agent Assignment for Task. On the Standard task: Maintain Agent Assignment

screen, choose the item Decision task bom, and choose Create agent assignment.

9. On the dialog Choose Agent Type, choose item User. Then in the next dialog Choose User, you enter the user name WF-BP01. Confirm your entry and go back twice to the Workflow Builder – Change ‘H_33_BOM’ screen.

10. Switch to the Basic data view and make the following entries:

© SAP AG Page 36 of 39

Page 37: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Field name Description R/O/C User Action and Values Note

Work item text R Release BOM &BOM_MATERIAL& for change &BOM_CHANGE_NUMBER&

11. Save your entries and go back to Workflow Builder – Change H_33_BOM screen. Choose

Steps. On the right screen area, choose the item Change is OK and choose Create Step….

12. In the Step Selection dialog box, choose Send Mail.

13.Make the following entries in the Mail view:

Field name Description R/O/C User Action and Values Note

SendExpress Select

Subject R The change is o.k. for &BOMUSAGE& &MATERIAL& &PLANT&

(Text under the subject)

R The bom for material &MATERIAL&, usage &BOMUSAGE&, Change number &LASTCHANGENUMBER&

to be released for logistics

14.Choose Control. If the Give you new task a name dialog box appears, make the following entries:

Field name Description R/O/C User Action and Values

Note

Abbr. R Accept

Name R Mail to designer, if o.k.

15.Confirm your entries with Enter. Make the following entries in the Control view:

Field name Description R/O/C User Action and Values

Note

Step name R Mail to designer, if o.k.

Outcome name R Mail sent

16.Confirm your entries and go back to the Workflow Builder – Change H_33_BOM screen.

17.Choose Steps. Choose the item Change should be discussed; do not release and choose

Create Step.

18. In the Step Selection dialog box, choose Send Mail.

19.Make the following entries in the Mail view:

Field name Description R/O/C User Action and Values Note

© SAP AG Page 37 of 39

Page 38: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

Send Express

Select

Subject R Please call back regarding change &LASTCHANGENUMBER&

(Text under the subject)

R Please call back....

20. Switch to the Control view. If the Give you new task a name dialog box appears, make the following entries:

Field name Description R/O/C User Action and Values

Note

Abbr. R Reject

Name R Mail to designer, if not o.k.

21.Make the following entries in the Control view:

Field name Description R/O/C User Action and Values

Note

Step name R Mail to designer, if not o.k.

Outcome name R Mail sent

22.Confirm your entries with and go back to the screen Workflow Builder – Change H_33_BOM.

23.Choose Generate and activate the runtime version and go back to the installation menu.

5 Setting the Installation Status

UseThe purpose of this activity is to set the installation status for the current building block to complete. This status is then used when building block installation status requests are made, and therefore enables you to keep track of the installation process.

Procedure1.     Access the activity using one of the following navigation options:

SAP R/3 Role Menu Installation Role for H33 Set Status for Building Block H33

Transaction Code /SMB99/T002_J01_H33

2.     Choose Execute to start the eCATT procedure.

© SAP AG Page 38 of 39

Page 39: H33 BB InstallGuide en ZH

SAP Best Practices H33 Configuration Product Design & Engineering: Installation Guide

3.     Choose Complete if all steps in the installation role for this building block have been completed successfully.

Note that if the installation status is already complete, you have the option of resetting it to incomplete if you want to redo part or all of the installation of the building block for some reason.

ResultThe installation status is now set to complete.

 

© SAP AG Page 39 of 39