Professional Documents
Culture Documents
0
OBJECT FOR BUSINESS AREA FIELD IN
PM ORDERS
Table of Contents
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.
2 Functional Overview
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.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.
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.
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”
8 Additional Requirements
8.4 Reporting
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.
10 Appendix