Skip to Content
Author's profile photo Former Member

Creating custom object in OM and assigning it a number range

The given document explains how to create a custom object (and allowed relationships) and assign number range to it.

Example:

  1. Create a custom organization unit (9O) and assign it to IT 1000 (Object), 1001 (Relationships), 1008 (Acct Assignment Features), 1011 (Work Schedule).
  2. Assign 9O the number range of 2001 – 2999.

Steps to be performed:

  1. Create new object type and assign essential relationships
  2. Assign object to the required infotypes
  3. Maintain subtypes
  4. Maintain personnel actions
  5. Assign number range.
  6. Maintain object via PP03 or PP01.

Detailed Steps:

  1. Maintain Object Types and Assign Essential Relationships

SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Maintain object types (Table: T778O)

Untitled.jpg

Create the new custom objects by clicking on new entries (or copying existing entries).

Untitled.jpg

Once the object is created, we assign essential relationships to it by clicking on ’essential relationships’ (as seen on the left pane of the above screenshot). Assigning a relationship means that once an object is created, the assigned relationships are mandatory to be maintained.

Table T77SO

Untitled.jpg

2. Infotype Maintenance


In the given example, we assign 9O to IT 1001 (Object), 1001 (Relationships), 1008 (Acct Assignment Features), 1011 (Work Schedule).


SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Infotype Maintenance – > Maintain Infotypes (Table: T778T)

Untitled.jpg

Select the appropriate infotypes to which the newly created custom object needs to be assigned. This is done by first selecting the infotype and then clicking on ‘infotypes per object type’ (shown in the left window pane).

Untitled.jpg

Assign the custom object to infotypes by clicking on new entries as shown below

Untitled.jpg

Uncheck the ‘No Maintenance’ check box for the custom object so as to ensure that it can be maintained via basic OM transactions like PP01.

Do the same thing for rest of the infotypes.

Untitled.jpg

Relationships are subtypes to IT 1001. To assign mandatory subtypes along with time constraint, we create an entry in this table


SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Infotype Maintenance – > Maintain subtypes (Table: T778U)

Untitled.jpg

Untitled.jpg

3. Relationship Maintenance


This is used to define the allowed relationships for a given object.


SPRO – > Personnel Management – > Organizational Management – > Data model enhancement – >Relationship Maintenance

Untitled.jpg

Click on the required relationship and on ‘allowed relationship’ (on the left pane) to create the allowed relationship.

Untitled.jpg

Assign the appropriate time constraints to the given relationship.

Untitled.jpg

4. Maintain personnel actions

To create the given object using transaction PP03, personnel action needs to be maintained.

SPRO – > Personnel Management – > Organizational Management – > Basic Settings – >   Maintain personnel actions (Table T778M)

Untitled.jpg

A new action can be created either by clicking ‘new entries’ or by copying the existing action.

Untitled2.jpg

Define the sequence of infotypes that need to be displayed while executing the given action. This is done by selecting the custom action (9O) and then clicking on actions (individual maintenance) – as on left pane.

Untitled3.jpg

Once the above activities have been performed, the given object can be created via the transactions PP03. However, before executing the personnel action, we will assign number range to the object.

5. Number Assignment

SPRO – > Personnel Management – > Organizational Management – > Basic Settings – > Maintain Number Ranges (Table: T77IV; Transaction: OONR)


Untitled4.jpg

Create a new entry either by clicking ‘new entries’ or by copying the existing entries.

Untitled5.jpg

Select the newly created entry and click on number range maintenance. Below screen will appear.

Untitled6.jpg

Maintain intervals by clicking on ‘intervals’ preceded by pencil sign

Untitled7.jpg

6. Creating object via PP03

Object created via newly formed action 9O.

Screen for creating object or IT 1000 is displayed.

Screen for essential relationships is displayed.

New object as per the defined number range is created in the system.

7. Maintain object via PP01


The new object 9O is created with number range starting from 2001 and assigned to IT 1000, 1001, 1008 and 1011.

Assigned Tags

      17 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo santosh mohanty
      santosh mohanty

      Hi Neha,

       

      Its a very useful document. Keep on posting the gud docs.

       

      Thanks,

      Santosh

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks a lot Santosh... Will surely try to share as much knowledge as possible

       

      Rgds

      Neha

      Author's profile photo Madhava Rao Basava
      Madhava Rao Basava

      Hi Neha,

       

      Very neatly presented and well explained.

       

      Thanks for sharing...

      Madhav.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Tx a lot Madhav

      Author's profile photo Former Member
      Former Member

      HI NEHA,

       

      Simply superb .....

       

       

      Regards,

      Jwala.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Tx Jwala..

      Author's profile photo Former Member
      Former Member

      Hi Neha,

       

      Its very good one.

       

      A small correction i am suggesting ---  assign it to IT 1001 (Object), i think it is IT 1000


      Regards

      Ramesh

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Ramesh

       

      Thanks for highlighting the typo .

       

      Have Updated the document.

       

      Regards

      Neha

      Author's profile photo Former Member
      Former Member

      Hi Neha

       

      Very Useful Doc... Thnx for sharing with us.. keep posting more stuff like this..

       

      Cheers

      Pradyp

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Pradyp. Hope to continue sharing my knowledge on the forum

      Author's profile photo Former Member
      Former Member

      Hi Neha,

       

      Why custom object is required what is the need to create custom object

       

      could you please tell me one scenario

      Author's profile photo Sriram Tamil
      Sriram Tamil

      Hi Neha,

       

      Very useful one from OM side.

       

      Thanks

      Sriram

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      thanks Sriram.

      Author's profile photo Former Member
      Former Member

      Good Info

       

      what is the purpose of creating custom objects for OM when sap has already given?

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Sometimes we may need to differentiate various objects among objects. Eg, we may have delivery unit, practice unit etc. Even though both are of type Org units, for the purpose of reporting, we may like to differentiate them. In such cases, we may create two different custom objects.

      Author's profile photo Former Member
      Former Member

      Hi Neha,

       

      Nice document very useful....

       

      John Cheriyan

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks John