OpenText VI - Roles Creation
OpenText VI - Roles Creation
OpenText VI - Roles Creation
5921,347
Roles in VIM is different from SAP workflow roles. Role in VIM is used to classify the users
based on the business activity they are involved in. In VIM roles are based on the product code.
VIM offers following product codes:
Below are the scenarios for the better understanding of the relationship between roles and
product codes.
Scenario 1: The document should get blocked if there is price discrepancy for PO based DP
document. The document should go to Account Payables Processor (Role will be AP_PROC) to
review and approve the price discrepancy. Which product code will be used in this scenario?
Solution: Role AP_PROC will be created against product code LIX as LIX is for PO blocking.
Scenario 2: If there are any issues with DP document where it violates any business rule (say
currency mismatch) then the document should go to Account Payables Processor (Role will be
AP_PROC) for further processing. Which product code will be used in this scenario?
Solution: Role AP_PROC will be created against product code 005 as 005 is for DP processing.
Define Roles: Roles can be defined by using T-Code /n/OPT/CP_9CX5 and by providing
following inputs:
Define Role Templates: Template helps to determine the role applicable in a workflow. Roles
can be Static, Semi-Dynamic or Dynamic. If the role is determined only on the basis of certain
parameters like Company Code or Plant then the template is Static. If it is determined based on
a certain structure like Organization Hierarchy then it is Semi-Dynamic and if it is determined
based on function module then it is Dynamic. Role template can be maintained by using T-Code
/n/OPT/CP_9CX2.
Template fields are then maintained so that system can determine the role based in
runtime on the fields mentioned in the template. Following parameters are provided:
Assign Templates to Role: We have now defined roles and templates. We now have to assign
templates to the role so that the role can be determined based on the template which is
assigned to it. A role can be assigned with more than one template however at a time only one
template can be active. This can be done by using T-Code /n/OPT/CP_9CX2 and maintaining
values for following:
Maintain Role Determination Settings: We have now mapped roles and template but we still
need to define the values that will be used in runtime for role determination. This is carried out
by using transaction /n /OPT/CP_9CX4. For each role under a product code, we need to
maintain the values of the fields or Org unit or FM (depending upon if they are Static, Semi-
Dynamic or Dynamic type) which are defined in the template.
Maintain Chart of Authority (CoA): I have given a brief explanation on CoA in my previous
document (please refer: http://scn.sap.com/docs/DOC-57917). In version 7 invoice approver can
be determined based on two logics:
1. Simple approval: It is same as the old version i.e. gross amount and manager’s
information.
2. Level based approval: Approvers are determined based on levels and packs. Levels are
defined for approval limits i.e. each level will have different amount range that can be
approved by that level. For example: We can have different set of approvers for amount
ranges: $0 – $5000, $5000 – $10,000, $10,000 – $20,000 and so forth. Also, they can
be further divided based on cost center. For example: for the amount range level of
$10,000 to $20,000 we can have different approvers for different cost centers.
NOTE:
1. CoA is used for Non-PO scenarios. For PO scenarios, CoA is not used. The approver
(first and only) in PO scenario is determined based on baseline implementation.
2. CoA can be configured to include complexities like approvers can be determined based
on amount limit, company code, cost center etc.
3. One can only define the user details in CoA and use a custom logic to determine the
approver. In such a scenario all the approvers should be maintained as users in CoA
and other tabs in CoA (Coder and CoA details) can be left empty.
Prerequisite: Cost objects are maintained for view /OPT/BL_T401V and fields for view
/OPT/BL_T402V
Substitute setup: VIM allows setting up of substitute for other users by executing T-Code
/n/ORS/MAIN_SUBS
I hope this document will be useful for basic understanding and working of roles in OpenText
VIM