unit testing pp
TRANSCRIPT
-
8/13/2019 Unit Testing Pp
1/35
ut pp in detail
Application area pp
Client 810
user id pp01
Unit testing AH
sl no Bill of material
1
2 work center
3 routing
4 sop
5 Demand management
Page 1
-
8/13/2019 Unit Testing Pp
2/35
ut pp in detail
6 production planning
7 production control
8 settlement profile
Page 2
-
8/13/2019 Unit Testing Pp
3/35
ut pp in detail
Project Envision
01 unit te
points to be tested tr code
create of bom cs01
change of bom cs02display of bom cs03
create work center cr01
change work center cr02
display work center cr03
create routing ca01
change routing ca02
display routing ca03
create rough cut plan mc87
change the plan mc88
display plan mc89
copying the inactive plan to a active
plan mc74
transferring of plan to demand
managemnet mc78
checking the plan in stock and reqt
list md04
Page 3
-
8/13/2019 Unit Testing Pp
4/35
ut pp in detail
crest cust ind reqrmnts (cir) md81
change cust ind reqrmnts (cir) md82
display cust ind reqrmnts (cir) md83
create planned ind reqt.(pir) md61change planned ind reqt.(pir) md62
display planned ind reqt.(pir) md63
Page 4
-
8/13/2019 Unit Testing Pp
5/35
ut pp in detail
sting AK01
Page 5
-
8/13/2019 Unit Testing Pp
6/35
bom
Unit testing for BOM in detail
creation of a BOM
sl no details of testing description input
1 creation of a BOM
a) Go to sap easy
access and put
transaction code cs01
and observe that
CREATE MATERIAL
BOM screen opens CS01
ENTER DETAILS
b) ENTER THE
DETAILS IN EACH
FIELD
plant,material,b
om usage
ENTER THE REQUIRED DETAILS of
bom items
c) ENTER THE REQUIRED
DETAILS of bom items
items and its
unit of
measurement
SAVE THE BOM d) SAVE THE BOM Click on SAVE Button
change of BOM
sl no details of testing description input
1 change a BOM
a) Go to sap easy
access and put
transaction code cs02
and observe that
changeBOM screen
opens cs02
ENTER DETAILS B)ENTER DETAILS Material: Plant: Usage:
Page 6
-
8/13/2019 Unit Testing Pp
7/35
bom
CHANGE THE REQUIRED DETAILS CHANGE THE REQUIRED VALUES
Item Category:
Component: Quantity:
MESSAGE of the result
a message should
come as Bom change
saved ------
sl no details of testing description input
1 OPEN TRANSACTION SCREENGo to sap easy access and put
transaction code - CS03 CS03
ENTER DETAILS
ENTER THE DETAILS IN EACH
FIELD Material: Plant: Usage:
CHECK THE REQUIRED DETAILS CHECK THE REQUIRED VALUES
Item Category:
Component: Quantity:
Display of a BOM
Page 7
-
8/13/2019 Unit Testing Pp
8/35
bom
actual result expected result remark
Bom creation
screen opens
Bom creation screen
opens
a new screen
should open
a new screen should
open
no error message
should trigger
no error message should
triggerBOM Will get saved and
message will display
bom was saved
BOM get saved and message
displayed
actual result expected result remark
Bom change
screen opens
Bom change screen
should open
Press ENTER and observe
that GENERAL ITEM
OVERVIEW screen appears
ITEM OVERVIEW screen should
appear
Page 8
-
8/13/2019 Unit Testing Pp
9/35
bom
Press ENTER and observe
that System reads the Unit
of Measure, Component
Description data from thematerial master. Try to
change the quantity of
components and save is
the Bom should save the
details
message
displayed
message should be
displayed as Bom
change was saved
actual result expected result remark
Press ENTER and observe
that DISPLAY MATERIAL
BOM screen opens
MATERIAL BOM screen in display
mode should open
Press ENTER and observe
that GENERAL ITEM
OVERVIEW screen appears
GENERAL ITEM OVERVIEW screen
appears
Item Category:
Component: Quantity:
displayed
Item Category: Component:
Quantity: should be displayed
Page 9
-
8/13/2019 Unit Testing Pp
10/35
wc
Unit testing for work center
creation of asl no details of testing description input
1 creation of a work center
Go to sap easy access
menu and put transaction
code cr01 CR01
ENTER THE DETAILS IN EACH
FIELD
ENTER THE DETAILS IN
EACH FIELD
Plant: Work center
name, Work center
Category:
ENTER THE REQUIRED DETAILS
ENTER THE REQUIRED
DETAILS
Description: Work
center Category: Person
Responsible: Location:
Usage: Standard Value
Key:
ENTER THE REQUIRED DETAILS
ENTER THE REQUIRED
DETAILS
Control Key: Suitability:
Set Type Key: Wage
Group: Setup: MIN,
Machine: MIN, Labour:
MIN
ENTER THE REQUIRED DETAILS
ENTER THE REQUIRED
DETAILS
Capacity.cat: Set UP
Formula: Processing
Formula:
ENTER THE REQUIRED DETAILS
ENTER THE REQUIRED
DETAILS
Capacity Category
Discription: Capacity
Planner Group:
Grouping: Factory
Calender ID: Active
Version: Base Unit Of
Measure: Start : Finish:
Length of Breaks:
Capacity Utilization:
No.of.Indiv.cap:
ENTER THE REQUIRED DETAILS
ENTER THE REQUIRED
DETAILS
Capacity Category:
Setup Formula:
Processing Formula:
Location group:
Std.queue time:
Min.queue time:
Page 10
-
8/13/2019 Unit Testing Pp
11/35
wc
ENTER THE REQUIRED
DETAILS
Cost Center: Activity
Type:
SAVE THE WORK CENTER SAVE THE WORK CENTER Click on SAVE Button
sl no details of testing description input
1 change a work center
Go to sap easy access
menu and put transaction
code cr02 cr02
ENTER DETAILS
ENTER THE DETAILS IN
EACH FIELD
Plant: Work center
name, Work center
Category:
CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED
DETAILS
Description: Work
center Category: Person
Responsible: Location:
Usage: Standard Value
Key:
CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED
DETAILS
Control Key: Suitability:
Set Type Key: Wage
Group: Setup: MIN,
Machine: MIN, Labour:
MIN
CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED
DETAILS
Capacity.cat: Set UP
Formula: Processing
Formula:
CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED
DETAILS
Capacity Category
Discription: Capacity
Planner Group:
Grouping: Factory
Calender ID: Active
Version: Base Unit Of
Measure: Start : Finish:
Length of Breaks:
Capacity Utilization:
No.of.Indiv.cap:
Chang
Page 11
-
8/13/2019 Unit Testing Pp
12/35
wc
CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED
VALUES
Capacity Category:
Setup Formula:
Processing Formula:
Location group:
Std.queue time:
Min.queue time:
CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED
DETAILS
Cost Center: Activity
Type:
SAVE THE WORK CENTER SAVE THE WORK CENTER Click on SAVE Button
MESSAGE MESSAGE
Display of a
sl no details of testing description input
1 display of work center
Go to sap easy access
menu and put transaction
code cr03 cr03
ENTER DETAILS
ENTER THE DETAILS IN
EACH FIELD
Plant: Work center:,
work center category
CHECK THE REQUIRED DETAILS
CHECK THE REQUIRED
VALUES
Description: Work
center Category: Person
Responsible: Location:
Usage: Standard Value
Key:
CHECK THE REQUIRED DETAILS
CHECK THE REQUIRED
DETAILS
Control Key: Suitability:
Set Type Key: Wage
Group: Setup: MIN,
Machine: MIN, Labour:
MIN
CHECK THE REQUIRED DETAILS
CHECK THE REQUIRED
DETAILS
Capacity.cat: Set UP
Formula: Processing
Formula:
Page 12
-
8/13/2019 Unit Testing Pp
13/35
wc
CHECK THE REQUIRED DETAILS
CHECK THE REQUIRED
DETAILS
Capacity Category
Discription: Capacity
Planner Group:
Grouping: Factory
Calender ID: ActiveVersion: Base Unit Of
Measure: Start : Finish:
Length of Breaks:
Capacity Utilization:
No.of.Indiv.cap:
CHECK THE REQUIRED DETAILS
CHECK THE REQUIRED
DETAILS
Capacity Category:
Setup Formula:
Processing Formula:
Location group:
Std.queue time:
Min.queue time:
CHECK THE REQUIRED DETAILS
CHECK THE REQUIRED
DETAILS
Cost Center: Activity
Type:
Page 13
-
8/13/2019 Unit Testing Pp
14/35
wc
work centeractual result expected result remarkPut tr. Code cr01 and Press ENTER
and observe that CREATE WORK
CENTER screen opensCREATE
WORK CENTER screen
should open
Press ENTER and observe that BASIC
DATA screen appears BASIC DATA screen should appears
Click on the 'Default Valeues' tab and
observe that DEFAULT VALUES
screen opens
DEFAULT VALUES screen should
open
Click on the 'Capacity' tab and
observe that CAPACITY OVERVIEW
screen opens
CAPACITY OVERVIEW screen should
open
Double Click on the 'Capacity
Category' and observe that
CAPACITY HEADER screen opens
CAPACITY HEADER screen should
open
go back and click on the 'Scheduling'
tab and observe that SCHEDULING
screen opens SCHEDULING screen should open
Click on the 'Costing' tab and
observe that COST CENTER
ASSIGNMENT screen opens COST CENTER screen should open
Page 14
-
8/13/2019 Unit Testing Pp
15/35
wc
Press Enter
data sholuld be accepted
by the fields and and no
error message sholuld
display
Work center Will get saved
actual result expected result remarkPut tr. Code cr01 and Press ENTER
and observe that Change WORK
CENTER screen open change
Change WORK CENTER screen
should open
Press ENTER and observe that BASIC
DATA screen appears BASIC DATA screen should appears
Click on the 'Default Valeues' tab and
observe that DEFAULT VALUES
screen opens
DEFAULT VALUES screen should
open
Click on the 'Capacity' tab and
observe that CAPACITY OVERVIEW
screen opens
CAPACITY OVERVIEW screen should
openDouble Click on the 'Capacity
Category' and observe that
CAPACITY HEADER screen opens
CAPACITY HEADER screen should
open
go back and click on the 'Scheduling'
tab and observe that SCHEDULING
screen opens SCHEDULING screen should open
Work Center
Page 15
-
8/13/2019 Unit Testing Pp
16/35
wc
Click on the 'Costing' tab and
observe that COST CENTER
ASSIGNMENT screen opens COST CENTER screen should open
Press Enter
data sholuld be accepted
by the fields and and no
error message sholuld
display
Work center Will get saved
ork center
actual result expected result remark
DISPLAY of WORK CENTER screen
opens
DISPLAY of WORK CENTER screen
should open
Press ENTER and observe that BASIC
DATA screen appears BASIC DATA screen should appear
Click on the 'Default Valeues' tab and
observe that DEFAULT VALUES
screen opens
Click on the 'Capacity' tab and
observe that CAPACITY OVERVIEW
screen opens
Double Click on the 'Capacity
Category' and observe that
CAPACITY HEADER screen opens
Page 16
-
8/13/2019 Unit Testing Pp
17/35
wc
go back and click on the 'Scheduling'
tab and observe that SCHEDULING
screen opens
Click on the 'Costing' tab and
observe that COST CENTER
ASSIGNMENT screen opens
Press Enter
Page 17
-
8/13/2019 Unit Testing Pp
18/35
routing
Unit testing details of routin
Creation o
sl no details of testing description input
to create a routingIN SAP EASY ACCESS TYPE IN
COMMAND FIELD - CA01 ca01
ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN EACH
FIELD Material: Plant:
ENTER THE REQUIRED DETAILS ENTER THE REQUIRED VALUES
Usage: Status:
From Lot Size: To
Lot Size:
ENTER THE REQUIRED DETAILS ENTER THE REQUIRED VALUES
Work Center:
Control Key:
ENTER THE REQUIRED DETAILS ENTER THE REQUIRED VALUES
ENTER THE REQUIRED DETAILS ENTER THE REQUIRED VALUES
Operation/Activity:
Sequence:
SAVE THE ROUTING SAVE THE ROUTING
Click on SAVE
Button
MESSAGE MESSAGE
change of a routing
sl no details of testing description input
1 change a routingIN SAP EASY ACCESS TYPE IN
COMMAND FIELD CA02 ca02
Page 18
-
8/13/2019 Unit Testing Pp
19/35
routing
ENTER DETAILS
ENTER THE DETAILS IN EACH
FIELD Material: Plant:
CHANGE THE REQUIRED DETAILS CHANGE THE REQUIRED DETAILS
Work Center:
Control Key:
CHANGE THE REQUIRED DETAILS CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED DETAILS CHANGE THE REQUIRED DETAILS
Operation/Activity:
Sequence:
SAVE THE ROUTING Click on SAVE Button
MESSAGE MESSAGE
Display of routing
sl no details of testing description input
1 display of routingIN SAP EASY ACCESS TYPE IN
COMMAND FIELD - CA03 ca03
ENTER DETAILS
ENTER THE DETAILS IN EACH
FIELD Material: Plant:
CHANGE THE REQUIRED DETAILS CHANGE THE REQUIRED DETAILS
Work Center:
Control Key:
Page 19
-
8/13/2019 Unit Testing Pp
20/35
routing
CHANGE THE REQUIRED DETAILS CHANGE THE REQUIRED DETAILS
CHANGE THE REQUIRED DETAILS CHANGE THE REQUIRED DETAILS
Operation/Activity:
Sequence:
Page 20
-
8/13/2019 Unit Testing Pp
21/35
routing
routing
actual result expected result remarkPress ENTER and observe
that CREATE ROUTING
screen opens
CREATE ROUTING screen should
open
Press ENTER and observe
that HEADER DETAILS
screen appears
Click on the 'Operation' tab
and observe that
OPERATION OVERVIEW
screen opensSelect one operation and
click on the 'Component
Allocation' tab and observe
that MATERIAL
COMPONENT OVERVIEW
screen opens
Select the components and
click on the 'New
Assignment' tab and
observe that NEW
ASSIGNMENT Popup
window opens
Click on Continue and
observe that components
are allocated; go back
Routing Will get saved
Routing was saved with
Group--- and material ---
actual result expected result remarkPress ENTER and observe
that CHANGE ROUTING
screen opens
Page 21
-
8/13/2019 Unit Testing Pp
22/35
routing
Press ENTER and observe
that OPERATION
OVERVIEW screen appears
Select one operation and
click on the 'ComponentAllocation' tab and observe
that MATERIAL
COMPONENT OVERVIEW
screen opens
Select the components and
click on the 'New
Assignment' tab and
observe that NEW
ASSIGNMENT Popup
window opens
Click on Continue and
observe that components
are allocated; go back
Routing Will get saved
Routing was saved with
Group--- and material ---
actual result expected result remarkPress ENTER and observe
that DISPLAY ROUTING
screen opens
Press ENTER and observe
that OPERATION
OVERVIEW screen appears
Select one operation and
click on the 'Component
Allocation' tab and observethat MATERIAL
COMPONENT OVERVIEW
screen opens
Page 22
-
8/13/2019 Unit Testing Pp
23/35
routing
Select the components and
click on the 'New
Assignment' tab and
observe that NEW
ASSIGNMENT Popup
window opens
Click on Continue and
observe that components
are allocated; go back
Page 23
-
8/13/2019 Unit Testing Pp
24/35
SOP & DM
Unit testing details SOP
create rough cut plan
sl no details of testing description input
1 create rough cut plan
go to sap easy menu put the
trnsaction code mc87 and
press enter mc87
2 give all the details fill all the required fields Mat , plant,
3 give all the details
give the quantity accordind to
the date or month or week of
requirement required quantity
4 ENTER THE REQUIRED DETAILSENTER THE DETAILS INEACH FIELD
Sales Plan forOct:250, Nov:300
5 SAVE THE SOP CLICK ON SAVE BUTTON
6 OPEN TRANSACTION SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD -
MC78 MC78
7 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD Source: 006
8 OPEN TRANSACTION SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD -
MC74 MC74
9 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD
Version:A00;
Requirement
Type:VSF;
Version:01
10 OPEN TRANSACTION SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD -
MD04 MD04
11 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD
Material: ABC;
Plant: AH01
12 CHECK THE REQUIRED DETAILS
CHECK THE DETAILS IN
EACH FIELD
Page 24
-
8/13/2019 Unit Testing Pp
25/35
SOP & DM
Change Rough Cut Plan
sl no details of testing description input
1 create rough cut plan
go to sap easy menu put the
trnsaction code mc88 and
press enter mc88
2 give all the details fill all the required fields Mat , plant,
3 give all the details
give the quantity accordind to
the date or month or week of
requirement required quantity
4 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD
Sales Plan for
Oct:250, Nov:300
5 SAVE THE SOP CLICK ON SAVE BUTTON
6 OPEN TRANSACTION SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD -
MC78 MC78
7 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD Source: 006
8 OPEN TRANSACTION SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD -
MC74 MC74
9 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD
Version:A00;
Requirement
Type:VSF;
Version:01
10 OPEN TRANSACTION SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD -
MD04 MD04
11 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD
Material: ABC;
Plant: AH01
12 CHECK THE REQUIRED DETAILSCHECK THE DETAILS INEACH FIELD
escr p on: Transaction Code:
Performed on:
Page 25
-
8/13/2019 Unit Testing Pp
26/35
SOP & DM
sl no details of testing description input
1 OPEN TRANSACTION SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD -
MD63 MD63
2 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD
Material: Plant:
Version: From Date:To Date: Planning
Period:
3 ENTER THE REQUIRED DETAILS
ENTER THE DETAILS IN
EACH FIELD
Plant: Requirement
Type:
4 CHECK THE REQUIRED DETAILS
CHECK THE DETAILS IN
EACH FIELD Quantity:
Page 26
-
8/13/2019 Unit Testing Pp
27/35
SOP & DM
expected result actual result remark
create planning screen should open
create planning screen
opens
news screen opens
create plan screen should
open
goto EDIT and Click on 'Create Production
plan synchronous to Sales Plan' and
observe that production Plan will getcreated
Observe the Message that Plan saved
under the version number 006
Press ENTER and observe that COPY
PLANNING VERSION screen opens
Click on the INACTIVE button in 'Source
Version' and select 006 version & Click on
the ACTIVE button in the 'Target Version'
and Click on COPY and observe the
message that 'A00 version already Exits'and Pr ess Enter and observe that a pop-up
window opens 'Do you want to Reset the
version A00' and click on RESET button
Press ENTER and observe that
TRANSFER PLANNING DATA TO
DEMAND MANAGEMENT screen opens
Click on the TRANSFER NOW Button
Press ENTER and observe that
STOCK/REQUIREMENTS LIST screen
opens
Press Enter and observe the
STOCK/REQUIREMENTS LIST AS OF ---
HRS screen opens
Observe that Planned Independent
Requirements Created
Page 27
-
8/13/2019 Unit Testing Pp
28/35
-
8/13/2019 Unit Testing Pp
29/35
SOP & DM
expected result actual result remarkPress ENTER and observe that DISPLAY
PLANNED INDEPENDENT
REQUIREMENTS screen opens PASS
Click on the 'User Parameters' tab and
observe that a popup window opens PASSClick on Continue and observe Information
message appears that USER
PARAMETERS WERE SAVED & Press
Enter and observe that PLANNING TABLE
screen opens PASS
PASS
Page 29
-
8/13/2019 Unit Testing Pp
30/35
-
8/13/2019 Unit Testing Pp
31/35
sl no details of te description input
1
OPEN
TRANSACTION
SCREEN
IN SAP EASY ACCESS TYPE IN
COMMAND FIELD - MD63 MD63
2
ENTER THE
REQUIRED
DETAILS
ENTER THE DETAILS IN EACH
FIELD
Version: From
Date: To Date:
Planning Period:
3
ENTER THE
REQUIRED
DETAILS
ENTER THE DETAILS IN EACH
FIELD
Plant:
Requirement
Type:
4
CHECK THE
REQUIRED
CHECK THE DETAILS IN EACH
FIELD Quantity:
Transaction Code:
Performed on:
-
8/13/2019 Unit Testing Pp
32/35
expected result actual r remark
Press ENTER and observe that CREATE
PLANNED INDEPENDENT
REQUIREMENTS screen opens
Click on the 'User Parameters' tab and
observe that a popup window opens
Information message appears that USER
PARAMETERS WERE SAVED & Press
Enter and observe that PLANNING
TABLE screen opens
Click on SAVE button and the
Requirement get saved
Requirement saved
expected result actual r remark
Press ENTER and observe that
CHANGE PLANNED INDEPENDENT
REQUIREMENTS screen opens PASS
Click on the 'User Parameters' tab and
observe that a popup window opens PASS
Click on Continue and observe
Information message appears that USER
PARAMETERS WERE SAVED & PressEnter and observe that PLANNING
TABLE screen opens PASS
Click on SAVE button and the
Requirement get saved PASS
Requirement saved PASS
Independent Requirements
Independent RequirementsMD62
24/09/2011
Independent RequirementsMD61
24/09/2011
-
8/13/2019 Unit Testing Pp
33/35
expected result actual r remarkPress ENTER and observe that
DISPLAY PLANNED INDEPENDENT
REQUIREMENTS screen opens PASS
Click on the 'User Parameters' tab and
observe that a popup window opens PASSClick on Continue and observe
Information message appears that USER
PARAMETERS WERE SAVED & Press
Enter and observe that PLANNING
TABLE screen opens PASS
PASS
MD63
24/09/2011
-
8/13/2019 Unit Testing Pp
34/35
MRP
Unit testing details
STEP NAME DESCRIPTION INPUT
1
OPEN
TRANSACTION
SCREEN
IN SAP EASY ACCESS
TYPE IN COMMAND FIELD
- MD02 MD02
2
ENTER THEREQUIRED
DETAILS
ENTER THE DETAILS IN
EACH FIELD AND SELECTTHE REQUIRED CHECK
BOXES
Material: Plant: Processing Key:
Create Purchase Requisition:
Delivery Schedules: Create MRP List:
Planning Mode: Scheduling: Also
Plan Unchanged Materials(Y/N);
Display Results before they aresaved(Y/N); Display Material
List(Y/N)
3 MESSAGE
4 SAVE THE MRP CLICK ON SAVE BUTTON
Description: Single-Item, Multi-Level
Transaction Code: MD02
Performed on: 24/09/2011
Page 34
-
8/13/2019 Unit Testing Pp
35/35
MRP
or MRP
DESIRED RESULT PASS/FAIL COMMENTS
Press ENTER and observe that SINGLE-ITEM,
MULTI-LEVEL screen opens PASS
Press Enter and observe the Information Message'Please Check Input Parameters'; check and Press
Enter and observe the PLANNING LINES screen PASS
MRP Carried out for Material --- PASS
A screen opens with all the details of statistics,
Parameters, Data base Statistics, Run Time
Statistics related to that material PASS