Anda di halaman 1dari 9

Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.

0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

BIHAR R-APDRP Project


PMENH05 – CUSTOM AUTHORIZATION OBJECT FOR
BUSINESS AREA FIELD IN PM ORDERS
Version: 1.0

Modified: 22/1/2019 07:36:06 1 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

Table of Contents

1 Object Overview ...................................................................................................................... 3


1.1 Business Details ................................................................................................................................... 3
1.2 Related Documents .............................................................................................................................. 3
1.3 Responsible Organizations .................................................................................................................. 3
1.4 Review/ Sign-off ................................................................................................................................... 3
1.5 Object Technical Details..................................................................................................................... 3
1.6 Additional Technical Objects ................................................................................................................ 4
2 Functional Overview ............................................................................................................... 5
2.1 Functional Description .......................................................................................................................... 5
2.2 Assumptions ......................................................................................................................................... 5
2.3 Dependencies ...................................................................................................................................... 5
2.4 Security, Integrity and Controls ............................................................................................................ 5
2.5 Configuration Requirements ................................................................................................................ 5
2.6 Issues ................................................................................................................................................... 5
3 Dialog program ........................................................................................................................ 5
4 Exit/ Enhancement .................................................................................................................. 5
5 BAdI .......................................................................................................................................... 5
6 Business server pages/Extension.......................................................................................... 6
7 Detailed Functional Requirements ......................................................................................... 7
7.1 Process Flow Diagram ......................................................................................................................... 7
7.2 Functional Description .......................................................................................................................... 7
7.3 Custom Table/Structure Definition ....................................................................................................... 7
8 Additional Requirements ........................................................................................................ 7
8.1 Processing Requirements .................................................................................................................... 7
8.2 Multi-site Details ................................................................................................................................... 8
8.3 Messages/ Error handling .................................................................................................................... 8
8.4 Reporting .............................................................................................................................................. 8
8.5 Performance Consideration.................................................................................................................. 8
8.6 Existing Sample Programs ................................................................................................................... 8
8.7 Authorization Checks ........................................................................................................................... 8
8.8 Others ................................................................................................................................................... 8
9 Testing ..................................................................................................................................... 8
10 Appendix .................................................................................................................................. 9
10.1 Glossary of Terms ................................................................................................................................ 9

Modified: 22/1/2019 07:36:06 2 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

1 Object Overview
The purpose of this development is to restrict work order creation and change based on sub-division
(business area field). Authorization check will be executed while saving the work order.

1.1 Business Details


Release Yes Division BSEB SAP Module SAP PM
Business Unit
Complexity Medium Estimation Of Priority Medium
Effort
Buiness Benifit User from one sub-division cannot create or change work orders of other sub-division.

Transaction Very High


Volume
Responsible SAP - PM Team
Team

1.2 Related Documents


Document Type Location Comments

1.3 Responsible Organizations


Functional Designer Mukesh Gohil Technical Designer
Process Owner Shri S.K. Srivastava System Contact

1.4 Review/ Sign-off


Date Role Name Comments Signature
Process Owner Shri S.K. Srivastava

1.5 Object Technical Details

Associated Transaction Code IW31 and IW32


Objects/Transactions Affected N.A.
Reuse Considerations N.A.
Design Alternatives N.A.

Modified: 22/1/2019 07:36:06 3 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

1.6 Additional Technical Objects


Application Component& Object Name Existing/ New Objects
PM Order: Customer Check
EXIT_SAPLCOIH_009 Existing - Reference
for 'Save' Event

Modified: 22/1/2019 07:36:06 4 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

2 Functional Overview

2.1 Functional Description


The purpose of this development is to restrict work order creation and change based on sub-
division (business area field). Authorization check will be executed while saving the work order.

User from one sub-division cannot create or change work orders of other sub-division.

2.2 Assumptions
 System will perform the authorization check while saving the work order.

2.3 Dependencies
N.A.

2.4 Security, Integrity and Controls


N.A.

2.5 Configuration Requirements


N.A.

2.6 Issues
Issue No. Issue Description Assigned To Status Impact Resolution
N.A. N.A. N.A. N.A. N.A. N.A.

3 Dialog program
Screen Numbers/ Design N.A.
Processing logic N.A.
User Interface N.A.

4 Exit/ Enhancement
Project Name As per the ABAP standard best practice with respect
to project naming convention.
User Exit Name/ Enhancement Point
Trigger / calling Mechanism While saving the work order

5 BAdI
Name N.A.
Requirement for the BAdI N.A.

Modified: 22/1/2019 07:36:06 5 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

Trigger / calling Mechanism N.A.

6 Business server pages/Extension


Name of BSP Application N.A.
Requirement for the Extension N.A.
Screen Layout N.A.

Modified: 22/1/2019 07:36:06 6 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

7 Detailed Functional Requirements

7.1 Process Flow Diagram

Create/Change the work order

Plan services and materials as per the requirement and save the work order

Program will check the business area field in work order “Additional
Data” tab and compares it with the user roles and authorization. If the
business area is available in user roles then the system will allow to
save the order else will provide error message.

7.2 Functional Description


STEP1: Create custom authorization object ZPM_GSBER - Authorization object for business area with the
following fields.
 Order Type
 Business Area
 Maintenance Planning Plant
 Transaction Code

STEP2: Check the following condition in user exit EXIT_SAPLCOIH_009 for AUFART = PM01 or PM02 or
PM03 or PM04 or PM05 or PM06 or ZRJB.
 Get GSBER from strcture CAUFVD.
 Get GSBER value from authorization object ZPM_GSBER.
 Compare both the GSBER, if same allow to proceed further else provide the following error
message
Message:
“You are not authorized for business area GSBER”

7.3 Custom Table/Structure Definition


N.A.

8 Additional Requirements

8.1 Processing Requirements


Request Mechanism This enhancement will be triggered when the User
will save the work order.
Restart/Recovery Procedures

Modified: 22/1/2019 07:36:06 7 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

Data Maintenance Requirements


Retention Requirements

8.2 Multi-site Details


N.A.

8.3 Messages/ Error handling


N.A.

8.4 Reporting
N.A.

8.5 Performance Consideration


N.A.

8.6 Existing Sample Programs


N.A.

8.7 Authorization Checks


N.A.

8.8 Others
N.A.

9 Testing
Unit Test Log
Test Objective To restrict work order creation and change based on business area.
System Details 102
Step # Date Description Expected Output Actual Requirement
Output ID
1 Assign authorization object Assigned authorization
ZPM_GSBER in your role. object ZPM_GSBER.
2 Open the work order System should allow to
10000001020 in change open the work order to
mode using IW32. perform the necessary
changes.

Modified: 22/1/2019 07:36:06 8 Last modified by: Mukesh Gohil


Functional Design Enhancement PMENH05 CUSTOM AUTHORIZATION Version: 1.0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS

3 Click on save button. Order should be saved.


4 Open the work order System should not allow to
10000001021 in change open the work order to
mode using IW32. perform the necessary
changes.

10 Appendix

10.1 Glossary of Terms


Term Definition

Modified: 22/1/2019 07:36:06 9 Last modified by: Mukesh Gohil

Anda mungkin juga menyukai