Users Online

· Guests Online: 86

· Members Online: 0

· Total Members: 188
· Newest Member: meenachowdary055

Forum Threads

Newest Threads
No Threads created
Hottest Threads
No Threads created

Latest Articles

SAP HR Module 2 PA16 SAP Organizational Key

SAP Organizational Key

 

 

Welcome to the tutorial on SAP Organizational Key. We have briefly touched upon this concept in the tutorial on Structures in SAP HCM. In this tutorial, we will get into the details and focus on how to set up SAP Organizational Key. This tutorial is part of our online SAP HCM course.

SAP Organizational Key Definition

SAP Organizational Key is a 14-character field that is assigned to an employee in the Organizational Assignment infotype (Infotype 0001). The main purpose of this field is to add another dimension to the authorization checks in HCM. SAP Organizational Key is included in the standard HR authorization object P_ORGIN. Hence by setting it up appropriately, you can control authorizations based on fields which are not directly included in standard authorization objects.

This implies that you should set up the organizational key according to which additional authorization checks you require for HR master data. You can structure the organizational key using fields from the Enterprise structure and Personnel structure.

Consider, for example, the below requirements for an additional authorization check:

  • For Indonesia, access to HR data should be controlled based on Personnel Subarea.
  • For Japan, access to HR data should be controlled based on Cost Center.

Now when you consult your Authorizations/ Security team, you will understand that neither the Personnel Subarea nor the Cost Center is included in any standard HR authorization object. So, to be able to control authorizations based on these fields, you must configure the Organizational Key using these fields. This means that we need to do the following:

For Indonesia, the Organizational key should be the employee’s Personnel Subarea.

For Japan, the Organizational key should be the employee’s Cost Center.

We will see how to configure this in the following section.

Set Up SAP Organizational Key

To structure SAP Organizational Key, please execute the transaction code SPRO and then follow the customizing path mentioned below as well as in Figure 1:

Personnel management – Personnel Administration – Organizational data – Organizational assignment – Set up Organizational key

Figure 1: Customizing Path in IMGFigure 1: Customizing Path in IMG

Executing this will take you to the Activity list shown in Figure 2. We will focus on the first three activities.

Figure 2: ActivitiesFigure 2: Activities

Maintain Feature VDSK1

Through the VDSK1 feature, we can set up SAP Organizational Key differently based on certain organizational criteria. The return value of this feature is the key through which different Organizational Key creation rules are subsequently specified.

In our example, we need different SAP Organizational Keys based on Country grouping. Let’s configure the feature accordingly. Double click on the first activity in Figure 2 to get to the screen in Figure 3.

Figure 3: VDSK1 FeatureFigure 3: VDSK1 Feature

This is how the feature currently looks like. We need to add two new Country grouping decision values to differentiate between Indonesia and Japan. To understand details on Feature maintenance, please go through the tutorial on Features.

Figure 4: New Decision Values for Indonesia and JapanFigure 4: New Decision Values for Indonesia and Japan

In Figure 4, you can see we have added two new decision values for Indonesia and Japan. Next, we need to specify different return values for Indonesia and Japan. Since the return codes 01 and 02 are already utilized, we have assigned the return value 03 to Japan and 04 to Indonesia. You can see the resulting feature, saved and activated, in Figure 5.

Figure 5: Activated Feature with New Return Values for Japan and IndonesiaFigure 5: Activated Feature with New Return Values for Japan and Indonesia

When we get to the third activity in Figure 2, these codes will be linked to creation rules.

SAP Organizational Key Control

Next, we carry out the second activity in Figure 2. Double click on it to reach the screen in Figure 6. We need to create two new entries for the two Variable keys 03 and 04, which we defined as return values of the feature. Click on the New entries icon as highlighted below.

Figure 6: New Entries ButtonFigure 6: New Entries Button

We will create two new entries as shown in Figure 7.

Figure 7: New EntriesFigure 7: New Entries

The value ‘4’ that we have assigned in the Default/validation column specifies that SAP Organizational Key will be defaulted and this default cannot be overwritten. We have chosen this specification as we need SAP Organizational Key to be defaulted as Personnel Subarea and Cost Center for Indonesia and Japan respectively, so that we can use this for authorization checks. We do not want to allow users to overwrite the defaulted Organizational key, as this would interfere with the authorization check.

In Figure 7, we have also assigned Creation rules 03 and 04 to Variable keys 03 and 04 respectively. These creation rules will be defined in the next activity.

Creation Rules

Creation rules define the structure of SAP Organizational Key. In our case, we need to define two Creation rules. Double click on the third activity in Figure 2 to do this.

You will then see the screen in Figure 8. Click on the New entries button.

Figure 8: Creation RulesFigure 8: Creation Rules

We create two new entries as shown in Figure 9. In the VDSK1 feature, we specified the return code 03 for Japan. Our requirement is that SAP Organizational Key for Japan should be Cost Center. So, we should select the corresponding field name from the available list.

Similarly, for Indonesia, we create the rule 04 and select the field Personnel subarea.

Figure 9: Set Up New Creation RulesFigure 9: Set Up New Creation Rules

Next assign the field length and then save the data, as shown in Figure 10.

Figure 10: Field Length AssignedFigure 10: Field Length Assigned

Defaulting of the Organizational Key in the Infotype

Now that we have completed the activities to set up SAP Organizational Key, let’s execute the transaction code PA30 to verify that the Organizational Key gets defaulted correctly in Infotype 0001 (Organizational Assignment).

Let’s consider an employee in Indonesia. We can see in Figure 11 that the Organizational Key is defaulted to the Personnel Subarea (4731) and it is non-editable. This is in accordance with our requirement.

Figure 11: SAP Organizational Key Correctly Defaulted for Employee in IndonesiaFigure 11: SAP Organizational Key Correctly Defaulted for Employee in Indonesia

Let’s consider an employee in Japan. We can see in Figure 12 that the Organizational Key is defaulted to the Cost Center (3100) and it is non-editable. This is in accordance with our requirement.

Figure 12: SAP Organizational Key Defaulted Correctly for Employee in JapanFigure 12: SAP Organizational Key Defaulted Correctly for Employee in Japan

Comments

No Comments have been Posted.

Post Comment

Please Login to Post a Comment.

Ratings

Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
Render time: 1.00 seconds
10,830,563 unique visits