Show TOC
Enhancement:
Create Authorization Check
The following SAP enhancement is available for
the authorization check function in the Project System:
- CNEX0002 Check on authorizations
You can use this enhancement to add to the
authorization check in the Project System.
The enhancement includes an enhancement component for each authorization check
which can be enhanced.
If you use authorization checks with fields
that are not standard SAP authorization objects, take this in to account in
the Project System logical database, which is the basis for reporting. Use
enhancement component EXIT_SAPDBPSJ_001 to do this. This is the only way of
ensuring a complete authorization check.
Enhancement CNEX0002 contains the following
enhancement components:
- EXIT_SAPLCNAU_001: for project
definitions
- EXIT_SAPLCNAU_002: for WBS
elements
- EXIT_SAPLCNAU_003: for network
headers
- EXIT_SAPLCNAU_004: for network
activities
- EXIT_SAPLCNAU_005: for milestones
- EXIT_SAPLCNAU_006: for PS texts
- EXIT_SAPLCNAU_007. for simulation
versions
- EXIT_SAPDBPSJ_001: for logical database
PSJ
The following information is transferred to
function modules EXIT_SAPLCNAU_001 through EXIT_SAPLCNAU_007, along with the
attributes of the object to be checked (e.g. WBS element or
activity):
The authorization
activity differentiates how the information is to be accessed (change,
display). You will find the values used in the document for the standard
authorization objects in the Project System.
Message type with
which you want a message issued (for example, in the event of a missing
authorization)
Indicator (X), which
is set if you have the appropriate authorization.
For a detailed description of function module
EXIT_SAPDBPSJ_001, refer to the appropriate documentation.
Activities
1. Generate the
enhancement.
To do this, either
create a new project or use an existing one.
2. Activate the
project.
The enhancement does
not become active until you activate the project.
Recommendation
Note the following points to avoid an
unnecessary system performance load with this enhancement:
- Do not use SELECT statements that only
retrieve one record from the database. Instead, use a buffer for the data
during the first read read access and later work with the internal table
filled during the process.
- Use the SAP function modules whenever
possible.
- If you want to carry out your own
authorization check depending on status, always use the function modules in
function group BSVA. These buffer the status already read in an internal table
and prevent unnecessary database accesses.
Generally, you
should expect decreased performance during status-dependent authorization
checks.
Further
Notes
Unlike modifications, enhancements are usually
release-specific, because they are not in the SAP original, but in a number
system specific to a particular customer.
For information on the general procedure for
creating enhancements, choose Tools -> Online
manual.
Every enhancement has its own documentation. To
access it, use the Display SAP docu pushbutton in
the enhancement transaction.